On 7 May 2010 at 15:23, Sklyar, Oleg (London) wrote: | Hi all: | | since about a month we encountered a problem with R -e command: spaces | in the "command" of R -e "command" are no more tolerated. This same | issue affects 2.11 patched (05-05-2010), 2.10.1, and current devel (at | least the one of two weeks ago). | | (I skip the mid of the printouts, replaced with ...) | | * R -e "message('aaa aaa')" | ARGUMENT 'aaa')' __ignored__
Isn't that a shell quoting issue? I tend to keep the apostrophe on the outside and the double-quote on the inside: e...@ron:~> R --slave -e 'message("aaa aaa")' aaa aaa e...@ron:~> r -e 'message("aaa aaa")' aaa aaa e...@ron:~> Rscript -e 'message("aaa aaa")' aaa aaa but also note e...@ron:~> R --slave -e "message(\"aaa aaa\")" aaa aaa e...@ron:~> R --slave -e "message('aaa aaa')" aaa aaa e...@ron:~> so I can't even replicate your issue. What what it's worth, the cut&paste above came from M-x shell inside Emacs. e...@ron:~> dpkg -l r-base-core littler bash emacs23 | tail -4 ii bash 4.1-3 The GNU Bourne Again SHell ii emacs23 23.1+1-5 The GNU Emacs editor (with GTK+ user interfa ii littler 0.1.3-1 GNU R scripting and command-line front-end ii r-base-core 2.11.0-1 GNU R core of statistical computation and gr e...@ron:~> | | | R version 2.11.0 Patched (2010-05-05 r51914) | Copyright (C) 2010 The R Foundation for Statistical Computing | ... | | > message('aaa | + | + | | * /releases/R/2.10/bin/R -e "message('aaa aaa')" | ARGUMENT 'aaa')' __ignored__ | | | R version 2.10.1 Patched (2010-03-27 r51474) | Copyright (C) 2010 The R Foundation for Statistical Computing | ... | | > message('aaa | + | + | | WORKING OLD VERSION: | | * /share/R/20090611/bin/R -e "message('aaa aaa')" | | R version 2.9.0 (2009-04-17) | Copyright (C) 2009 The R Foundation for Statistical Computing | ... | | > message('aaa aaa') | aaa aaa | > | > | | | Dr Oleg Sklyar | Research Technologist | AHL / Man Investments Ltd | +44 (0)20 7144 3803 | oskl...@maninvestments.comno more | | ********************************************************************** | Please consider the environment before printing this email or its attachments. | The contents of this email are for the named addressees ...{{dropped:19}} | | ______________________________________________ | R-devel@r-project.org mailing list | https://stat.ethz.ch/mailman/listinfo/r-devel -- Regards, Dirk ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel