I put savehistory() in my profile file, and it works nicely. Thank you very much, jdeisenberg.
alex jdeisenberg wrote: > > > alex lee wrote: >> >> Is there any options that I can save history only? >> The only save option is --save, which saves both data and history. >> However I want to restore the history for my next R session.. >> >> If there is no such option that meets my needs. Is there any other way to >> work out, such as configuration in the profile file, etc. ? >> > > You could start R with the --no-save option, and then do a savehistory() > call as the last command before you quit. > -- View this message in context: http://www.nabble.com/save-history-only-option-under-Linux-tp23257673p23276960.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.