Re: [R] R + Linux Ubuntu 10.10

2010-11-20 Thread Tobias Verbeke

Hi Maximilien,

On 11/20/2010 01:51 PM, Maximilien Renard wrote:


I've just installed Linux (K)Ubuntu 10.10 as well as R and I'm stuck
with a very annoying problem.

I've compiled the latest R version from the sources without any
problem, sadly when I start R in a terminal, it does not behave as
expected. In fact, I cannot use the arrow keys (up, down, left, right)
because they are automatically replaced with things like ^[[A

I have no idea if it R related or not but it is very annoying and I'd
appreciate any help.


You need to compile R with readline support
(and for that libreadline-dev needs to be
installed IIRC).

Best,
Tobias

__
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] R + Linux Ubuntu 10.10

2010-11-20 Thread Maximilien Renard
Thank you for your very quick answers !

In fact, re-compiling it with readline support did the trick.


Have a nice day!


Maximilien

On 20 November 2010 14:08, Tobias Verbeke
tobias.verb...@openanalytics.eu wrote:
 Hi Maximilien,

 On 11/20/2010 01:51 PM, Maximilien Renard wrote:

 I've just installed Linux (K)Ubuntu 10.10 as well as R and I'm stuck
 with a very annoying problem.

 I've compiled the latest R version from the sources without any
 problem, sadly when I start R in a terminal, it does not behave as
 expected. In fact, I cannot use the arrow keys (up, down, left, right)
 because they are automatically replaced with things like ^[[A

 I have no idea if it R related or not but it is very annoying and I'd
 appreciate any help.

 You need to compile R with readline support
 (and for that libreadline-dev needs to be
 installed IIRC).

 Best,
 Tobias




-- 
Maximilien Renard
ULB - MA2 Ingénieur Civil Biomédical

maximilien.ren...@ulb.ac.be
ren...@zib.de

+32 476 63 68 92

__
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] R + Linux Ubuntu 10.10

2010-11-20 Thread Dirk Eddelbuettel

On 20 November 2010 at 14:16, Maximilien Renard wrote:
| Thank you for your very quick answers !
| 
| In fact, re-compiling it with readline support did the trick.

Good but you may still want to read

http://cran.r-project.org/bin/linux/ubuntu

as there is no reason to rebuild the package locally.  These 'CRAN-ports'
appear within a few days of releases -- I happen to be the Debian maintainer
responsible for the underlying packaging used here, and I use these very
packages produced by Michael and Vincent on all my Ubuntu machines.

There are a number of little things these packages get right that you may be
missing in local builds: all Depends properly set, enabling of memory
profiling, shared library support (needed for things like rkward, Rapache, 
RInside,
littler, ...), autocompletion, conffiles linked to /etc/R etc pp.  You are of
course free to build locally -- but I personally would rather not bother and
am happy to let the package management system take care of it.

There is also r-sig-debian for Ubuntu/Debian questions if you have any.

Dirk

-- 
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.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.