[R] save and load user modifications of options

David Winsemius dwinsemius at comcast.net
Sat May 7 14:47:44 CEST 2011


On May 6, 2011, at 8:59 PM, xwang14 wrote:

> Hi,
>
> Could anyone help me with the following problem? After I finished a R
> session and modified some options (for example, set
> options(editor="neditor")), I want save these modifications so that  
> after I
> load the saved R data I do not need to modify these options again.  
> What is
> the best way to do this? Is there a way without using an external  
> file? I
> tried save.image. However, only default setting is perserved.

You need to read about your options about setting options at startup.  
You can find information in the Installation Manual or by typing: ? 
Startup

(I cannot think of a manner in which this can be tied to a data file  
being loaded.)

-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list