search for: exhotext

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

Did you mean: echotext
2007 Apr 17
1
Runing R in a bash script
...le - two files one R-script ('example.r') and one bash-script ('example.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...