history() does not work?
On Wed, Oct 10, 2012 at 12:52 PM, Christian Hoffmann
<c-w.hoffmann at sunrise.ch> wrote:
Am 10.10.12 18:17, schrieb Steve Lianoglou:
Hi, On Wed, Oct 10, 2012 at 12:03 PM, Christian Hoffmann <c-w.hoffmann at sunrise.ch> wrote:
Hi,
history()
gives Error in savehistory(file) : no history available to save although I can scroll throu history with C^uparrow an C^downarrow. How can I make history() work and/or show the current history in a file, so that I can choose from previous commands? The web did not throw up anything useful.
Out of curiosity, when you call: R> capabilities()['cledit'] Do you get `FALSE`?
Yes, I do. So what do you suggest?
This suggests that R is running w/o readline support enabled -- which is necessary for `history()` to work. I don't really know much about R running on windows, so I'm not sure if what you are seeing is normal or strange. I don't see any mention of no `history()` support in in the R for Window FAQ: http://cran.r-project.org/bin/windows/base/rw-FAQ.html So my *guess* is that you should be able to get this to work rather easily. How are you running R? I mean, is it some R GUI? Rstudio? Emacs/ESS (in which case, it is run w/o readline)? Rcmdr? I'm just stabbing at the dark right now -- I'm sure a windows useR will swoop in soon w/ the right stuff if we don't sort it out this way. -steve
Steve Lianoglou Graduate Student: Computational Systems Biology | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact