Skip to content
Create a gist now

Instantly share code, notes, and snippets.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.