search for: scripts2source

Displaying 2 results from an estimated 2 matches for "scripts2source".

2011 Nov 03
2
grep fixed (?) in 2.14
#This is probably due to my incomplete understanding of grep, but the below code has been working for some time to #search for .R with anything in front of it and return a list of scripts to source. Likely, the syntax for the #grep statement has been wrong all along. scripts2source <- (c("/home/ssefick/R_scripts/Convert_package.R", "/home/ssefick/R_scripts/Convert_R_CODE", "/home/ssefick/R_scripts/CV.R", "/home/ssefick/R_scripts/cvs.out.R", "/home/ssefick/R_scripts/database_connect", "/home/ssefick/R_scripts/database...
2012 Nov 16
2
source file on startup question - why does an old version of a function show up? ggplot or R?
...to source these files when R is invoked. What should I do? .Rprofile: ###nothing yet### print("It's go time") ####################################################### #####source my R_scripts directory on start up######### ####################################################### scripts2source <- dir("/home/user/R_scripts", full.names=TRUE) R_scripts <- grep(".*\\.R$", scripts2source) scripts2source <- scripts2source[R_scripts] for(i in 1:length(scripts2source)){ source(scripts2source[i]) } ####################################################### ########...