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

From: Bio7 <marcel.austenfeld_at_uni-bielefeld.de>
Date: Thu, 27 Mar 2008 11:48:36 -0700 (PDT)

Thanks for the nice tip.
I also consider to use the clipboard to transfer a command with the file path which then can be pasted easily in the shell and executed.

Gabor Grothendieck wrote:
>
> Not sure if this is sufficient but if you always open your RData
> file in the same directory this may be good enough:
>
> mkdir ~/tmp
> cd ~/tmp
> R
> x <- 33
> q() # answer y to save in .RData
>
> Now whenever you open R in ~/tmp it will load .RData containing x.
> You must be in ~/tmp and the file must be called .RData . If you
> subsequently
> quit again in a subsequent session press y to update .RData for the
> subsequent
> session or n if you want to keep the first .RData.
>
> On Thu, Mar 27, 2008 at 5:02 AM, Bio7
> <marcel.austenfeld_at_uni-bielefeld.de> 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?
>>
>> 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.
>>

>
> ______________________________________________
> 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.
>
>
-- 
View this message in context: http://www.nabble.com/Execute-R-with-*.RData-argument-tp16323374p16331147.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.
Received on Thu 27 Mar 2008 - 18:58:49 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 - 19:31:21 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