Message-ID: <41874B3C.90200@statistik.uni-dortmund.de>
Date: 2004-11-02T08:54:20Z
From: Uwe Ligges
Subject: Loadhistory problems
In-Reply-To: <3589BC4D64C84341AE0C258244F977A2B60B5C@expressa.corp.cefas.co.uk>
Robert Brown FM CEFAS wrote:
> History files saved using nFile Save History do not open when using
> File Load History. I notice that when they are saved they do not seem
> to have a file extension and there is no option to chose an
> extension. Is this a problem. Other than this it seems so simple
> that I can't see what the problem is. I've tried using loadhistory
> and savehistory with the same problems. The syntax guide for load
> history requires the file name, but doesn't specify if this should
> include and extension or what this should be. Where am I going wrong
See ?loadhistory. The extension can be choosen arbitrarily, the complete
default filename is ".Rhistory".
Works for me:
# Type somethimg in R, then:
savehistory("c:/temp.txt")
q("no")
# Start R again
loadhistory("c:/temp.txt")
# Now use the arrow keys and find that
# the formerly saved history has been
# loaded correctly ...
Uwe Ligges
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the
> posting guide! http://www.R-project.org/posting-guide.html