public
Created

  • Download Gist
gistfile1.sh
Shell
1 2 3 4
hansi@Hansi:~$ echo "something <- 1:5;save(something,file=\"something.RData\",compress=\"xz\");rm(something);load(‌​\"something.RData\");print(something)" > script.r
hansi@Hansi:~$ Rscript "script.r" > out
hansi@Hansi:~$ cat out
[1] 1 2 3 4 5

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.