Re: [R] save and load user modifications of options

From: David Winsemius <>
Date: Sat, 07 May 2011 08:47:44 -0400

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

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 07 May 2011 - 13:55:07 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Tue 10 May 2011 - 03:00:05 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive