Skip to content

Instantly share code, notes, and snippets.

@halpo
Created March 28, 2012 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halpo/2229656 to your computer and use it in GitHub Desktop.
Save halpo/2229656 to your computer and use it in GitHub Desktop.
Setup commands for R files on windows
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.R]
@="Rsource"
[HKEY_CLASSES_ROOT\.Rout]
@="Routput"
[HKEY_CLASSES_ROOT\Rsource]
@="R Source"
[HKEY_CLASSES_ROOT\Rsource\shell]
[HKEY_CLASSES_ROOT\Rsource\shell\Open]
[HKEY_CLASSES_ROOT\Rsource\shell\Open\command]
@="\"%ProgramFiles(x86)%\\Notepad++\\notepad++.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Rsource\shell\Run]
[HKEY_CLASSES_ROOT\Rsource\shell\Run\command]
@="\"C:\\Program Files\\R\\R-2.14.2\\bin\\x64\\Rcmd.exe\" BATCH \"%1\""
[HKEY_CLASSES_ROOT\Routput]
@="R output"
[HKEY_CLASSES_ROOT\Routput\shell]
[HKEY_CLASSES_ROOT\Routput\shell\Open]
[HKEY_CLASSES_ROOT\Routput\shell\Open\command]
@="\"%ProgramFiles(x86)%\\Notepad++\\notepad++.exe\" \"%1\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment