My problem is that I want to run R script with R 3.0.2 from ST2.
when I installed ST2 I configurated it using Enhanced R package to be able to run R script from ST2. The connection done is using R 2.15.2. Now I would like to automatically run R 3.0.2 from ST2. I did not managed to make it works by trying to modify preference>package settings> Enhanced R > setting default suggested in Sublime Text 2 and R is the modified script in settings user:
"default_extend_env": {"PATH": "{PATH};C:\\Program Files\\R\\R-3.0.2\\bin\\i386"}
and the script for settings default (I copied the all but I working with Windows):
"osx" : {
// R / R64 / Terminal / iTerm
"App" : "R"
// path to Rscript binary
// "Rscript" : "/usr/bin/Rscript",
},
"windows" : {
// R32 / R64
"App" : "R64"
// path to R binary
// "R32" : "C:\\Program Files\\R\\R-3.0.2\\bin\\i386\\Rgui.exe",
// "R64" : "C:\\Program Files\\R\\R-3.0.2\\bin\\x64\\Rgui.exe",
// path to Rscript binary
// "Rscript" : "C:\\Program Files\\R\\R-3.0.2\\bin\\x64\\Rscript.exe",
},
"linux": {
// tmux / screen
"App" : "tmux"
// path
// "tmux" : "tmux",
// "screen" : "screen",
// path to Rscript binary
// "Rscript" : "",
},
// auto advance lines after sending command
"r_auto_advance": true,
// auto completions
"r_auto_completions": true,
// a list of packages which functions will show in the status bar
// "default_pkgs": ["base", "graphics", "grDevices", "methods", "stats", "utils"],
// a list of extensions
"extensions": ["r", "R", "s", "S", ".Rprofile"]
// Allows for '.' in R object names
// "word_separators": "/\\()\"‘-:,;~!@#$%^&*|+=[]{}`~?"
Does anyone could help me to find the way to do it? Thanks