search for: echotext

Displaying 1 result from an estimated 1 matches for "echotext".

Did you mean: echotest
2007 Apr 17
1
Runing R in a bash script
...ple.sh') example.r # Example R-script x <- c(1:10) y <- x^2 png(file="example2.png") #pdf(file="example2.pdf") plot(x,y) graphics.off() example.sh #/bin/bash # # Hello world is written to exhotext every time cron executes this script echo "Hello world" > echotext # This works, but not when executed from cron n=`R --save < example.r` # using exec as in `exec R --save < example.r` dosent work with cron either # This also works, but nothing is written to the png when executed from cron R --save <<RSCRIPT x <- c(1:10) y <- x^2 png(file="e...