[R] R with command line
peter dalgaard
pdalgd at gmail.com
Wed Apr 28 16:16:37 CEST 2010
On Apr 28, 2010, at 4:03 PM, Duke wrote:
>
> I just did it, and it said it ignored the arg:
>
> $ R R_PROFILE_USER=try.R
> ARGUMENT 'R_PROFILE_USER=try.R' __ignored__
...
> >
>
> What am I doing wrong?
Using Windows syntax on a Unix machine.... (Duncan got confused)
It's the other way around:
peter-dalgaards-iMac:tmp pd$ echo "print('Hello, World')" > infile.R
peter-dalgaards-iMac:tmp pd$ R_PROFILE_USER=infile.R R -q
[1] "Hello, World"
>
--
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
More information about the R-help
mailing list