Re: [R] R script doesn't load libraries when called from cron

2010-08-06 Thread zerdna
Actually, i think i figured it out. My bad, i am inexperienced with cron. When it runs, it doesn't have the environment. Once i wrapped my R script into shell script that sourced the .bashrc file, i was back in business. Maybe there is more elegant solution, without additional shell script -- poss

[R] R script doesn't load libraries when called from cron

2010-08-06 Thread zerdna
I have R script that i need to run in cron. Either R libraries or some .so libraries that they depend on don't get loaded correctly. Here is an example. I have a file, call it tmp.R tmp.R = R --slave --args $0 $* < tryCatchList -> tryCatchOne -> Execution halted