Skip to content

Small Rcmdr issue

3 messages · Alan Jackson, John Fox, Peter Dalgaard

#
Just installed Rcmdr on a Linux box.

When I exit from both Rcmdr and R together from the regular Rcmdr exit menu,
it leaves my xterm with "stty -echo", so that nothing that is typed appears.
If I exit only Rcmdr, and then exit R normally, everything is okay (stty echo).

Other than that minor irritant, everything seems to work just fine.

Linux 2.6.16-gentoo-r3
Athlon 64 X2 3800+
R version 2.4.0 (2006-10-03)
Rcmdr Version 1.2-5
#
Dear Alan,

I've noticed that problem too, and have no idea why it happens. The function
that's executed when you select "Exit -> From Commander and R" is pretty
simple:

closeCommanderAndR <- function(){
    response <- closeCommander()
    if (response == "cancel") return()
    cat("\n")
    quit(save="no")
    }

If anyone knows how I can fix the problem, I'd be happy to so do.

Regards,
 John

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
--------------------------------
#
John Fox wrote:
I think I've seen this outside Rcmdr too, possibly with "R-g tk" but I 
can't seem to reproduce it now.
I don't think it's your problem, but if you get a handle on where the 
issue lies, please let us know. (Of course, you can always just reset 
the terminal or blind-type "stty sane", but it would be nicer to get rid 
of the issue altogether).

     -p