Displaying 1 result from an estimated 1 matches for "someotherscript".
2012 Jan 19
2
r help: source-function is very slow
Hello everybody,
I noticed a performance problem when using the source-function in R.
When I try to source an r script that is located in the same directory
as the script I execute via command line ('R -f file.r' contents
'source("someOtherScript.r")') it's very fast. But if I put
'someOtherScript.r' in another directory (say ../../R) R takes moments,
if not minutes to locate and load the script. Is there another way to do
this that is not slow?
Thanks, Jos
--
Jos van Nijnatten, BSc Candidate
Erasmus MC, Rotterdam,...