[GRASSLIST:6222] Re: Grass & R - Solved

Hi,

I solved it but don't know what the problem was.
Command line editing did work and I had installed R
using a mandrake rmp (mandrake is very much like Red
Hat). But I just compiled the new R version 1.7 and
also installed the GRASS extension v 0.2-8 and now
command line editing does not work but at least when I
quit R from inside grass the terminal works ok.

Thanks for the attention

Daniel
--- Roger Bivand <Roger.Bivand@nhh.no> wrote:

On Thu, 8 May 2003, Daniel Victoria wrote:

>
> --- Roger Bivand <Roger.Bivand@nhh.no> wrote:
> > On Thu, 8 May 2003, Daniel Victoria wrote:
> >
> > > Hi all,
> > >
> > > Recentlly I started using R inside Grass but a
> > small
> > > problem is occuring. When I quit R, my
terminal
> > won't
> > > show the keys I type. Everithing works fine
but
> > > whatever I type is not shown. I'm usin grass
> > 5.0.2, R
> > > 1.6.1 and GRASS PKG 0.1-11
> > >
> >
> > Could you say which platform and OS you are
using?
> > Does command line
> > editing work in R? Which shell do you use? R is
most
> > likely using
> > readline, and your shell may too.
>
> I'm using mandrake linux and bash shell. If by
command
> line editing you mean the up arrow to repeat the
last
> command then it's a yes or else I'm afraid I don't
> know what that is :slight_smile:
>

OK. Do the arrow keys sideways move you backwards
and forwards in the
command line? When you have retrieved a previous
command line, can you
change it (type into it after having gone to the
left end with the Home
key? Something seems to be happening when you leave
R to make the terminal
window go "insane", sometimes typing

stty sane

helps, it resets the way the keyboard input is
displayed on the terminal.

Does the same thing happen if you just run R by
itself without GRASS, i.e.
leaving R makes the terminal unusable? How did you
install R (rpm? compile
from source?)?

I don't have access to Mandrake, but we can carry on
looking for things.

Roger

> Thanks
>
> Daniel
>
>
> > > Thanks
> > >
> > > Daniel
> > >
> >
> > --
> > Roger Bivand
> > Economic Geography Section, Department of
Economics,
> > Norwegian School of
> > Economics and Business Administration,
Breiviksveien
> > 40, N-5045 Bergen,
> > Norway. voice: +47 55 95 93 55; fax +47 55 95 93
93
> > e-mail: Roger.Bivand@nhh.no
> >
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>

--
Roger Bivand
Economic Geography Section, Department of Economics,
Norwegian School of
Economics and Business Administration, Breiviksveien
40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand@nhh.no

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com