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




______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the
posting guide! http://www.R-project.org/posting-guide.html

______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to