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....@cbs.dk  Priv: pda...@gmail.com

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to