[R] setting history file
edna.bell01 at gmail.com
Wed Sep 10 19:43:25 CEST 2008
I am using R-2.7.2 on Windows XP.
Sorry for the problems.
On Wed, Sep 10, 2008 at 11:54 AM, Prof Brian Ripley
<ripley at stats.ox.ac.uk> wrote:
> On Wed, 10 Sep 2008, Edna Bell wrote:
>> Dear R Gurus:
>> I would like to set the number of commands in the history file as 50
>> rather than 25.
> It is neither of those. That is the default value of max.show, not of the
> size of the file.
>> I would do this in the .First function.
>> How do I set this, please? I tried
>> and it prints what it has.
> Yes, but that is the number shown, not the number saved.
> You failed to follow the posting guide and tell us *anything* about your OS
> etc. But probably ?history tells you how to set the size of the history
> file via environment variable R_HISTSIZE.
>> I just want to set the size in .First.
>> Thanks in advance,
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide
>> and provide commented, minimal, self-contained, reproducible code.
> PLEASE do.
> 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
More information about the R-help