Hi all,

I had a specific question about the loading of objects 
into R. I apologize in advance if I have overlooked anything in the 
manual but as far as I can tell I have yet to find a solution to my 
problem.

I am on a Windows platform.

So what I am trying 
to do is have R read in a binary file on startup from the Windows system
 command line and startup Rgui.exe with these options without having to 
change Rprofile.site.
I have written a script called myscript.r which allows R to read in the binary 
files and load my objects.

I would like to load up those object from binary format "on startup" into 
R(interactive)

like so:


<windows key + r>
C:\Program Files\R\R-2.15.0\bin\x64\Rgui.exe < 
"C:\Users\Ryan\Desktop\myscript.r"
but this does not work.

I can do it in R batch mode like this:
C:\Program Files\R\R-2.15.0\bin\x64\R.exe CMD BATCH --vanilla --slave 
"C:\Users\Ryan\Desktop\myscript.r"

So
 what I am interested in is if there are any options Rgui that allow me 
to load a script "on startup" (before opening rgui.exe)

If not I 
am wondering if there is any way of transferring the input I get from R 
batch mode to another instance of Rgui.exe or where Rgui.exe reads in 
its objects.

Or maybe there is a way to point Rgui.exe to another startup file of my 
choosing without having to alter Rprofile.site.

Any help on this would be greatly appreciated.
Thank you very much and have a wonderful day!

Ryan Rene

Epicenter Software
80 S. Lake ave,
Pasadena CA
91101
suite 550
                                          
        [[alternative HTML version deleted]]

______________________________________________
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