[R] history() does not work?

2012-10-10 Thread Christian Hoffmann

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.

TIA  --Christian

--
Christian W. Hoffmann,
CH - 8915 Hausen am Albis, Switzerland
Rigiblickstrasse 15 b, Tel.+41-44-7640853
c-w.hoffm...@sunrise.ch,
christ...@echoffmann.ch,
www.echoffmann.ch

__
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.


Re: [R] history() does not work?

2012-10-10 Thread Steve Lianoglou
Hi,

On Wed, Oct 10, 2012 at 12:03 PM, Christian Hoffmann
c-w.hoffm...@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`?

-- 
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

__
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.


Re: [R] history() does not work?

2012-10-10 Thread Steve Lianoglou
On Wed, Oct 10, 2012 at 12:52 PM, Christian Hoffmann
c-w.hoffm...@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.hoffm...@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

__
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.


[R] history() does not work? 2

2012-10-10 Thread Christian Hoffmann

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 notion of having readline enabled: How can I do that on mac osx? I 
work with


R version 2.15.1 (2012-06-22)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

TIA  --Christian

--
Christian W. Hoffmann,
CH - 8915 Hausen am Albis, Switzerland
Rigiblickstrasse 15 b, Tel.+41-44-7640853
c-w.hoffm...@sunrise.ch,
christ...@echoffmann.ch,
www.echoffmann.ch

__
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.