Re: [R] problem with the .Rhistory

From: Prof Brian Ripley <>
Date: Wed 28 Jul 2004 - 18:32:53 EST

It depends on your platform. E.g. on Unix/Linux, ?savehistory says


     This works under the 'readline' and GNOME interfaces, but not if
     'readline' is not available (for example, in batch use).

To be able to help you further, we would need quite precise details of your platform and which interface you are using.

On Wed, 28 Jul 2004, Peyrard Nathalie wrote:

> The history function doesn't seems to work when I am working with R.
> I have a .Rhistory file in my working directory and I have tried
> savehistory(file = ".Rhistory")
> or the command given in the history help :
> .Last <- function()
> if(interactive()) try(savehistory(".Rhistory"))
> and I get the same error message
> Error in savehistory(file) : no history available to save

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Wed Jul 28 18:41:44 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:55:18 EST