Dear All, yesterday I took the R-1.8.0-source file and compiled it on my own. As I am using Linux just for a couple of weeks, it was my first compiling session with ./configure, make, .... Everything went fine, except for one thing: if I want to look at the commands history by using the cursor keys, it does not work. Instead of displaying the previous commands, it returns something like "[[A". Is this a common problem? Does anyone have a solution? I had R-1.7.1 installed previously via an RPM-package for my Mandrake 9.1 distribution and everything went fine. Thanks in advance, ROland +++++ This mail has been sent through the MPI for Demographic Research. Should you receive a mail that is apparently from a MPI user without this text displayed, then the address has most likely been faked. If you are uncertain about the validity of this message, please check the mail header or ask your system administrator for assistance.
Rau, Roland <Rau at demogr.mpg.de> wrote:> yesterday I took the R-1.8.0-source file and compiled it on my > own. As I am using Linux just for a couple of weeks, it was my > first compiling session with ./configure, make, .... > Everything went fine, except for one thing: if I want to look > at the commands history by using the cursor keys, it does not > work. Instead of displaying the previous commands, it returns > something like "[[A". Is this a common problem? Does anyone > have a solution?You may need to install the ncurses dev libraries. -- Philippe Glaziou
Rau, Roland wrote:> Dear All, > > yesterday I took the R-1.8.0-source file and compiled it on my own. As I am > using Linux just for a couple of weeks, it was my first compiling session > with ./configure, make, .... > Everything went fine, except for one thing: if I want to look at the > commands history by using the cursor keys, it does not work. Instead of > displaying the previous commands, it returns something like "[[A". > Is this a common problem? > Does anyone have a solution? > > I had R-1.7.1 installed previously via an RPM-package for my Mandrake 9.1 > distribution and everything went fine.You need the readline-devel libraries installed. Depending on what Linux distro you're currently on (still Mandrake?), they may be available as an RPM or Debian package. Install them, then if you still have the source directory, do a "make distclean ; configure ; make", then make install and try again. If you've deleted the source directory, just untar the source and rebuild. Cheers Jason -- Indigo Industrial Controls Ltd. http://www.indigoindustrial.co.nz 64-21-343-545 jasont at indigoindustrial.co.nz
On Thu, 9 Oct 2003, Philippe Glaziou wrote:> Rau, Roland <Rau at demogr.mpg.de> wrote: > > yesterday I took the R-1.8.0-source file and compiled it on my > > own. As I am using Linux just for a couple of weeks, it was my > > first compiling session with ./configure, make, .... > > Everything went fine, except for one thing: if I want to look > > at the commands history by using the cursor keys, it does not > > work. Instead of displaying the previous commands, it returns > > something like "[[A". Is this a common problem? Does anyone > > have a solution? > > > You may need to install the ncurses dev libraries.More likely it is the readline-del[ev] RPMs/.debs/.... that you need. Take a look at the R-admin manual (e.g. doc/html/R-admin.html in the sources). -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Philippe Glaziou <glaziou at pasteur-kh.org> wrote:> Rau, Roland <Rau at demogr.mpg.de> wrote: > > yesterday I took the R-1.8.0-source file and compiled it on my > > own. As I am using Linux just for a couple of weeks, it was my > > first compiling session with ./configure, make, .... > > Everything went fine, except for one thing: if I want to look > > at the commands history by using the cursor keys, it does not > > work. Instead of displaying the previous commands, it returns > > something like "[[A". Is this a common problem? Does anyone > > have a solution? > > > You may need to install the ncurses dev libraries.oops, sorry, I meant readline. And then re-configure. -- Philippe