On 02/28/2013 05:40 PM, Steve Taylor wrote:
Does anyone know if there's an easy facility to create and specify a template
file to be used for new R scripts?
I found myself creating this function which works well (in RStudio on Windows).
newR = function(filename=tempfile(tmpdir='.',fileext='.R'
Does anyone know if there's an easy facility to create and specify a template
file to be used for new R scripts?
I found myself creating this function which works well (in RStudio on Windows).
newR = function(filename=tempfile(tmpdir='.',fileext='.R'), open=TRUE) {
template = paste(Sys.getenv(
2 matches
Mail list logo