[R] readline doesn't work even thou cled=TRUE

Martin Maechler maechler at stat.math.ethz.ch
Thu Sep 5 09:33:40 CEST 2002


>>>>> "garry" == garry kremer <garry.kremer at convergys.com>
>>>>>     on Wed, 4 Sep 2002 17:30:00 -0400 writes:

    garry> Can anyone offer suggestion about getting readline to work on Solaris?
    garry> (v1.5.1)

It *does* work on many Solarises (including here), so probably this should mean

  ``suggestion about getting readline to work for __my__ Solaris setup''

Suggestions:  

1)  Could it be that someone installed a different version of readline
  than the one that was current when your R was built?
  {or your version of Solaris was upgraded ??}
  If this is the case, you should try to re-building R, starting
  with the    <sourcedirectory>/configure   command.

1b) You can return a favor to the R community by getting a
    snapshot of "R-devel", the "development version of R",
    (by rsync or FTP, see http://cran.r-project.org/sources.html)
    which will become the R 1.6.0 in early October.
    Build it and find if the problem is gone {and report to R-devel at ...}.
  
2) What kind of terminal did you try to use readline?
   Does it work in "xterm" at least?

3) Many of us almost never need the readline capabilities, since
   we work with ESS (Emacs Speaks Statistics) which has much
   more than readline could ever offer..

    garry> When I use the up arrow or ctrl-p to try to repeat the last command
    garry> my session just beeps.

    garry> It appears that the .Rhistory file that should appear in my startup
    garry> directory
    garry> is not being created.

    garry> Thanks!

    garry> The screen shot below shows cled=TRUE and no .Rhistory file created:

    garry> $  /apps/R-1.5.1/bin/R

    garry> R : Copyright 2002, The R Development Core Team
    garry> Version 1.5.1  (2002-06-17)
    ......

    >> capabilities("cled")
    garry> cledit
    garry> TRUE
    >> ls()
    garry> character(0)
    >> q()
    garry> Save workspace image? [y/n/c]: y
    garry> $ ls -sal *hist*
    garry> *hist*: No such file or directory

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list