From R@iner @ending from krug@@de  Mon Sep 17 12:41:57 2018
From: R@iner @ending from krug@@de (Rainer Krug)
Date: Mon, 17 Sep 2018 12:41:57 +0200
Subject: [Rd] Rscript -e does not accept newlines under Linux?
In-Reply-To: <D14049CE02C4F54D95360EEC06CE45C50F937902@SPMXM08.VUW.leidenuniv.nl>
References: <D14049CE02C4F54D95360EEC06CE45C50F937902@SPMXM08.VUW.leidenuniv.nl>
Message-ID: <0231ED85-92E9-49DA-90F0-796608FCA123@krugs.de>

Same on Mac:

 $ Rscript -e 'ls()
> ls()'
ARGUMENT 'ls()' __ignored__

character(0)


as well as using ?\n? as a line separator:


 $ Rscript -e 'ls()\nls()'
ARGUMENT 'ls()' __ignored__

character(0)




> On 16 Sep 2018, at 10:53, Voeten, C.C. <c.c.voeten at hum.leidenuniv.nl> wrote:
> 
> Rscript -e 'ls()

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

University of Z?rich

Cell:       +41 (0)78 630 66 57
email:      Rainer at krugs.de
Skype:      RMkrug

PGP: 0x0F52F982




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20180917/3247a469/attachment.sig>


[Rd] Rscript -e does not accept newlines under Linux?
Rainer Krug