Re: [R] Execute R with *.RData argument

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu, 27 Mar 2008 10:08:09 +0000 (GMT)

On Thu, 27 Mar 2008, Bio7 wrote:

>
> Dear R developers,
>
> i would like to start R with a *.RData argument under Linux.
> Something like R -f /home/user/workspace.RData
>
> Is this possible?

$ R
...
> load("/home/user/workspace.RData")

or put that line in your .Rprofile -- see ?Startup.

(My guess is that you are used to the facility for drag-and-drop on Windows. Also, please re-read 'An Introduction to R' for the supported command-line arguments -- '-f' is supported but this is not what it does.)

>
> Thanks in advance for any answers.
> --
> View this message in context: http://www.nabble.com/Execute-R-with-*.RData-argument-tp16323374p16323374.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help_at_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.
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help_at_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.
Received on Thu 27 Mar 2008 - 10:10:15 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 27 Mar 2008 - 10:30:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive