Displaying 1 result from an estimated 1 matches for "tp2316594p2316832".
2010 Aug 06
1
R script doesn't load libraries when called from cron
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 $* <<EOF
cmarg = commandArgs()[5]
library(R.utils)
b<-intToBin(cmarg)
print(paste( "argument is ", cmarg, sep=""))