One (actually two) additional things on the wish list for features:
1.) language support for R script (syntax highlighting, braces, script beautify etc.) I added .R to the extensions for SAS scripts and that works reasonably well, but perhaps we could even create tag files from the R installation directory/library tree.
(I don't know R as well as other languages, that's why I could use all the help I can get
)
2.) Improved support for running R snippets (entire buffer or highlighted text) from within my favorite environment - Slickedit.
I used the Slick-C macro code I found on this site at: //http://community.slickedit.com/index.php?topic=5352.0 , and with tiny tweaks
created a version I called RunR.e that works reasonably well. The code puts the currently selected R script code into a temporary file and pipes that to the rterm.exe executable (on windows), restoring the R environment before execution and saving the R environment afterwards. This saves the state of variable assignments, datasets etc so you don't have to run all the R code preceding your current lines of interest (similar in operation to the default R GUI and Rcmdr TCL GUI).
It seems the .RData file (the saved R workspace) gets created in the same directory as whatever is the current project's or file's directory in Slickedit. It would be nice to have an option to find and delete the environment file (a save without load command flags to rterm.exe would do it) or an explicit deletion of the .RData file , but one can just delete it manually as desired to avoid making a science project out of this.
//From Re: Running a shell command and sending output to the build window
//
http://community.slickedit.com/index.php?topic=5352.0_command void runR() //name_info (','VSARG2_READ_ONLY|VSARG2_REQUIRES_EDITORCTL)
{
// reset a few things
reset_next_error();
clear_all_error_markers();
clear_pbuffer ();
activate_build ();
// uncomment to clear build window
// clear_pbuffer ();
delete_file("c:\\temp\\tempRunR.r");
put("c:\\temp\\tempRunR.r");
_str cmdline="\"c:\\program files (x86)\\r\\r-2.9.1\\bin\\rterm.exe\" --restore --save < " :+ " " :+ maybe_quote_filename( "c:\\temp\\tempRunR.r") :+ " 2>&1";
concur_command (cmdline, false, true, false, false);
}