Skip to content
Prev 295717 / 398503 Next

quotes in Rscript -e through system

On 24.05.2012 12:58, abhagwat wrote:
Because the shell shopudl not interpret quotes and parantheses but pass 
all the string to R.
double: \ is a special character in R that escapes the second \

triple: actually a double \ for the reason geiven above, and then \' for 
protecting the ' to be evaluated (i.e. indicating the end of the former 
' before the Rscript).

Uwe Ligges