Re: [R] quotes in Rscript -e through system

2012-05-26 Thread Uwe Ligges
On 24.05.2012 12:58, abhagwat wrote: I figured out how to use quotes and parentheses when using Rscript -e (on a bash shell): Rscript -e write\(1,\a.txt\\) -- Question 1: why do the parentheses need to be escaped in the shell? (More a shell than an R question) Because the shell shopudl not

[R] quotes in Rscript -e through system

2012-05-24 Thread abhagwat
I figured out how to use quotes and parentheses when using Rscript -e (on a bash shell): Rscript -e write\(1,\a.txt\\) -- Question 1: why do the parentheses need to be escaped in the shell? (More a shell than an R question) Then I figured out how to use quotes and parentheses when calling