RESOLVED: [R] R GUI for Linux?
1) As long as the developer version of tcltk is installed, I now have no problem compiling R with tcltk support on Fedora Core 3. After extracting the gunzipped directory, I switch to the new directory and execute the following two commands: ./configure enable-R-shlib make 2) After compiling JGR as specified on their web site, the JGR program is initialized with the 'run' file. That's one of the first things said in the instructions but I forgot by the time I got things compiled. Thanks for your help. Chuck -Original Message- From: Gavin Simpson [mailto:[EMAIL PROTECTED] Sent: Tue 5/31/2005 8:57 AM To: White, Charles E WRAIR-Wash DC Cc: r-help@stat.math.ethz.ch Subject: Re: [R] R GUI for Linux? White, Charles E WRAIR-Wash DC wrote: > Thanks for the tip. I thought that 'Base' files were installed already > but I know better now. Unfortunately, I'm still not up and running yet. > Since I don't have access to the subject machine at the moment, I'll be > even more vague than usual. Base refers to the repository in which the packages reside. Unless you did a Full/Complete installation of FC3 from the CD's/DVD then you will *not* have all of Base installed. > I installed the development versions of tcltk and specified the > locations for the *.sh files, the *.h files, and both of the individual > directories in /usr/lib. Based on my reading of one of the *.sh files, > it looks like I can specify multiple directories for a configuration > variable by putting them in quotes and leaving a space in between like > 'path1 path2'. My reward was that ./configure didn't complain about > searching for any tcltk files and I got the clear message that R > couldn't compile/link to tcltk. Hmph. > > Next steps when I get home tonight: > (a) Replace library locations in /usr/lib with those in /usr/share > (b) Include all four library locations > (c) Wait until Fedora Core 4 comes out in a couple of weeks, wipe my > drive, and start all over again. > > Any other suggestions? Thanks again. > > Chuck How are you specifying the locations of the *.sh and *.h files? I've done very little to my FC boxes and as long as tcl tk, tcl-devel and tk-devel packages are installed, ./configure picks up the locations just fine. You shouldn't have to do anything. Perhaps undo you what did after installing the tcl/tk and devel packages and try it again as this most definitely works for me (almost) out of the box. If that doesn't work, wait till you get back to your 'subject' machine and post back exactly what messages you are receiving that indicate R couldn't compile/link to tcl/tk G -- %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Gavin Simpson [T] +44 (0)20 7679 5522 ENSIS Research Fellow [F] +44 (0)20 7679 7565 ENSIS Ltd. & ECRC [E] gavin.simpsonATNOSPAMucl.ac.uk UCL Department of Geography [W] http://www.ucl.ac.uk/~ucfagls/cv/ 26 Bedford Way[W] http://www.ucl.ac.uk/~ucfagls/ London. WC1H 0AP. %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] R GUI for Linux?
White, Charles E WRAIR-Wash DC wrote: Thanks for the tip. I thought that 'Base' files were installed already but I know better now. Unfortunately, I'm still not up and running yet. Since I don't have access to the subject machine at the moment, I'll be even more vague than usual. Base refers to the repository in which the packages reside. Unless you did a Full/Complete installation of FC3 from the CD's/DVD then you will *not* have all of Base installed. I installed the development versions of tcltk and specified the locations for the *.sh files, the *.h files, and both of the individual directories in /usr/lib. Based on my reading of one of the *.sh files, it looks like I can specify multiple directories for a configuration variable by putting them in quotes and leaving a space in between like 'path1 path2'. My reward was that ./configure didn't complain about searching for any tcltk files and I got the clear message that R couldn't compile/link to tcltk. Hmph. Next steps when I get home tonight: (a) Replace library locations in /usr/lib with those in /usr/share (b) Include all four library locations (c) Wait until Fedora Core 4 comes out in a couple of weeks, wipe my drive, and start all over again. Any other suggestions? Thanks again. Chuck How are you specifying the locations of the *.sh and *.h files? I've done very little to my FC boxes and as long as tcl tk, tcl-devel and tk-devel packages are installed, ./configure picks up the locations just fine. You shouldn't have to do anything. Perhaps undo you what did after installing the tcl/tk and devel packages and try it again as this most definitely works for me (almost) out of the box. If that doesn't work, wait till you get back to your 'subject' machine and post back exactly what messages you are receiving that indicate R couldn't compile/link to tcl/tk G -- %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Gavin Simpson [T] +44 (0)20 7679 5522 ENSIS Research Fellow [F] +44 (0)20 7679 7565 ENSIS Ltd. & ECRC [E] gavin.simpsonATNOSPAMucl.ac.uk UCL Department of Geography [W] http://www.ucl.ac.uk/~ucfagls/cv/ 26 Bedford Way[W] http://www.ucl.ac.uk/~ucfagls/ London. WC1H 0AP. %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] R GUI for Linux?
> > > ESS looks very good but why should I load more than 30MB on the memory > > > to work on a text file ? and why do I need to lear all the tricks and > > > features of emacs just to edit a text file ? One of the advantages (and disadvantages) of linux applications like emacs is that you can, if you know how to, customize it to your taste so you do not have to 'learn all the tricks and features' of it. You can use cua package if you are used to C-x,C-c,C-v and other windows stuff. You can change keybindings of ESS if you do not like them. The reason why I like ESS is that I can step through or run a piece of R code easily. For my ESS installation, I have several ESS buttons on the toolbar to start R, eval line and step, eval region and eval function. I have also linked these functions to shortcuts F9,F10,F11 by defining (define-key ess-mode-map (kbd "") (quote ess-eval-line-and-step)) (define-key ess-mode-map (kbd "") (quote ess-eval-region)) (define-key ess-mode-map (kbd "") (quote ess-eval-buffer)) in .emacs. I do not see any reason why an embedded R session would occupy more RAM than a standalone R session, other than the time/RAM emacs uses to color the output. This can be a problem if the output is extremely long so I usually clean the R-cmd buffer once a while. Bo __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
RE: [R] R GUI for Linux?
Thanks for the tip. I thought that 'Base' files were installed already but I know better now. Unfortunately, I'm still not up and running yet. Since I don't have access to the subject machine at the moment, I'll be even more vague than usual. I installed the development versions of tcltk and specified the locations for the *.sh files, the *.h files, and both of the individual directories in /usr/lib. Based on my reading of one of the *.sh files, it looks like I can specify multiple directories for a configuration variable by putting them in quotes and leaving a space in between like 'path1 path2'. My reward was that ./configure didn't complain about searching for any tcltk files and I got the clear message that R couldn't compile/link to tcltk. Hmph. Next steps when I get home tonight: (a) Replace library locations in /usr/lib with those in /usr/share (b) Include all four library locations (c) Wait until Fedora Core 4 comes out in a couple of weeks, wipe my drive, and start all over again. Any other suggestions? Thanks again. Chuck -Original Message- From: Gavin Simpson [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 31, 2005 3:30 AM To: White, Charles E WRAIR-Wash DC Cc: John Fox; [EMAIL PROTECTED]; r-help@stat.math.ethz.ch Subject: Re: [R] R GUI for Linux? White, Charles E WRAIR-Wash DC wrote: > John: > > Thank you for your interest. After more investigation I see that my > problem is with linking tcltk to R. tcl 8.4.7-2 and tk 8.4.7-2 are > tuned to fc3 (Fedora Core 3) and part of the standard installation. > However, required file locations are different than what is expected > by R. I set the locations for tclConfig.sh and tkConfig.sh using > ./configure but R tells me something to the effect that Tcl and Tk > major or minor versions disagree. Your help or the help of others on > the R-List would be appreciated. FYI, I am also including the > locations of important files and directories. > > tclConfig.sh: /usr/lib tkConfig.sh: /usr/lib tcl library: > /usr/lib/tcl8.4 (symbolically linked from /usr/share/tcl8.4) tk > library: /usr/lib/tk8.4 (separate copy in /usr/share/tk8.4) tcl.h: > I can't find it with full drive search tk.h: I can't find it > with full drive search You need to install the devel packages for tcl and tk to get those header files. on FC3, the preferred updater is yum so in a terminal: su -c "yum install tcl-devel tk-devel" Should install the *.h files for you. HTH Gav __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] R GUI for Linux?
If you really want something closer to an IDE, add ECB to that mix (Emacs Code Browser). ESS does some minimal connections to it, for code browsing between functions, data.frame creations, and S4 class constructions. On 5/31/05, Jari Oksanen <[EMAIL PROTECTED]> wrote: > On Tue, 2005-05-31 at 10:43 +0100, Ernesto Jardim wrote: > > > ESS looks very good but why should I load more than 30MB on the memory > > to work on a text file ? and why do I need to lear all the tricks and > > features of emacs just to edit a text file ? > > > With emacs tricks you perhaps refer to four-finger key combinations that > even gave name to emacs: it's supposed to be an acronym for Esc-Meta- > Alt-Ctrl-Shift (say the enemies). However, you don't need those tricks. > The only ones you need are Alt-x R to start R in ESS, and Esc-p to go > back in command history -- these at least are the only ones I use, > although I know people who really like acrobatic key combinations (I > don't). All the rest is in the menus -- even in ordinary GNU Emacs (and > also in its MacOS X and Windows ports). Installing ESS may be more > trouble with GNU Emacs, but if you use Debian based distributions (like > Ubuntu), you can directly install a deb package for ess (I once found an > rpm for ESS as well, but that's not official nor standard). I avoid > XEmacs, but people say things are even easier there. > > I'd suggest you try Emacs + ESS + R. It is really good and likable. > Emacs is much more user friendly than it used to be some decade ago. > > cheers, jari oksanen > -- > Jari Oksanen <[EMAIL PROTECTED]> > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > -- best, -tony "Commit early,commit often, and commit in a repository from which we can easily roll-back your mistakes" (AJR, 4Jan05). A.J. Rossini [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] R GUI for Linux?
On Tue, 2005-05-31 at 10:43 +0100, Ernesto Jardim wrote: > ESS looks very good but why should I load more than 30MB on the memory > to work on a text file ? and why do I need to lear all the tricks and > features of emacs just to edit a text file ? > With emacs tricks you perhaps refer to four-finger key combinations that even gave name to emacs: it's supposed to be an acronym for Esc-Meta- Alt-Ctrl-Shift (say the enemies). However, you don't need those tricks. The only ones you need are Alt-x R to start R in ESS, and Esc-p to go back in command history -- these at least are the only ones I use, although I know people who really like acrobatic key combinations (I don't). All the rest is in the menus -- even in ordinary GNU Emacs (and also in its MacOS X and Windows ports). Installing ESS may be more trouble with GNU Emacs, but if you use Debian based distributions (like Ubuntu), you can directly install a deb package for ess (I once found an rpm for ESS as well, but that's not official nor standard). I avoid XEmacs, but people say things are even easier there. I'd suggest you try Emacs + ESS + R. It is really good and likable. Emacs is much more user friendly than it used to be some decade ago. cheers, jari oksanen -- Jari Oksanen <[EMAIL PROTECTED]> __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] R GUI for Linux?
Sander Oom wrote: Hi Charles, Warm felt sympathies for your struggles. I consider myself a happy GUI user and have also struggled with the 'command line' history and lack of out-of-the-box functionality associated with Linux. However, Linux does have many, many advantages over other OS's, so I will stick to it. That said, I am reluctantly suggesting it to others, as there are lots of other things one can do on a Saturday afternoon. ;-) After many long afternoons, I have come to the conclusion that accepting what comes as standard is the best approach to using Linux if you do have better things to do. I tried ESS, but I found it impenetrable at my first try, so gave up. I run SuSE linux and R without any problem. The RPM was downloaded from CRAN and installed without any errors. I run update.packages to download, install and refresh all contributed and other packages. I also looked for an R GUI, but must admit I stopped way before you did. I ended up using my favorite editor (Kate, comes standard with KDE) and cut and paste code into an R console (available as standard in the Kate window). Gives a nice clean window for writing code and running R. Of course Kate has code highlighting facilities (as standard). I soon realized that the console has a limited buffer for commands, such that long code sequences are abruptly ended part way through. Thus I have a second console open from which I source whole R files. The setup gives a relatively comfortable code debugging environment! I was amazed when I read the instruction for JGR on Linux. I thought the whole point of Java was to create platform independent software. I have given up on any instructions that tell me to run 'make'. Linux distributions are just to idiosyncratic for it to be worth the effort. I'll just wait until Novell packs JGR with the new version of SuSE Linux. Even if I have to pay something for the added bonus! Will keep following the GUI developments with interest, Sander. White, Charles E WRAIR-Wash DC wrote: I feel your pain. I am a new Linux user who has spent most of the weekend trying to get a functional R setup. When I installed Fedora Core 3 (FC3) on my home computer, I thought using R in a terminal would be a snap. I installed R using the rpm packages and tried to use it with the FC3 default terminal (GNOME Terminal 2.7.3). Before long, I found out the terminal was rudely discarding output beyond a set number of lines. I could increase the number of lines kept by the terminal but that didn't strike me as an acceptable solution. Cutting to my stress relieving intermediate solution, I am currently using xemacs with ESS as my R programming environment under FC3. Eventually, I will want to run JGR as my programming environment and Rcmdr as both a teaching tool and means to distribute code to some of my clients. On my way to xemacs, I also tried to install emacs and gnomeGUI. I will briefly document my experience with trying to install each of these packages below: XEMACS with ESS: XEMACS is within the 'walled garden' of packages tuned specifically to run under FC3 and XEMACS provides a tuned installation for ESS. Since I had already compiled R from source with shared libraries enabled (the rmp does not enable shared libraries), I don't know if XEMACS will work with the rpm version of R. Note also that I installed this package using yum; 'Add or Remove Applications' lists xemacs but wouldn't allow me to install. JGR: I have installed jdk1.5.0_03 and MOST of the the output from make looks like JGR is compiling correctly. JavaGD and rJava are not finding jini.h. I don't see an explicit statement of how to start JGR but I assume that is done by typing JGR (or maybe jgr) in a terminal window. Nothing happens. Two potential problems are: (a) I never should have downloaded JavaGD and rJava from CRAN (they won't uninstall, deleting the directories doesn't stop the problem, and I can't use yum to remove R to start over because yum doesn't recognise that R is installed.) or (b) I need to uninstall some of the stray versions of java littering my hard drive. I haven't removed the symbolic link between jre1.5.0_02 and firefox. Rcmdr: There are all sorts of things in FC3 that seem to be tcl/tk related but Rcmdr doesn't seem to work with them. Since some are part of the base FC3 installation, I'm nervious about replacing them or installing competing software. Potentially conflicting software in FC3 are listed below: tcl.i386 8.4.7-2installed tclx.i3868.3.5-4installed db4-tcl.i386 4.2.52-6 base postgresql-tcl.i386 7.4.8-1.FC3.1 updates-released ruby-tcltk.i386 1.8.2-1.FC3.1 updates-released tcl-devel.i386 8.4.7-2base tcl-html.i386
Re: [R] R GUI for Linux?
White, Charles E WRAIR-Wash DC wrote: John: Thank you for your interest. After more investigation I see that my problem is with linking tcltk to R. tcl 8.4.7-2 and tk 8.4.7-2 are tuned to fc3 (Fedora Core 3) and part of the standard installation. However, required file locations are different than what is expected by R. I set the locations for tclConfig.sh and tkConfig.sh using ./configure but R tells me something to the effect that Tcl and Tk major or minor versions disagree. Your help or the help of others on the R-List would be appreciated. FYI, I am also including the locations of important files and directories. tclConfig.sh: /usr/lib tkConfig.sh: /usr/lib tcl library: /usr/lib/tcl8.4 (symbolically linked from /usr/share/tcl8.4) tk library: /usr/lib/tk8.4 (separate copy in /usr/share/tk8.4) tcl.h: I can't find it with full drive search tk.h: I can't find it with full drive search You need to install the devel packages for tcl and tk to get those header files. on FC3, the preferred updater is yum so in a terminal: su -c "yum install tcl-devel tk-devel" Should install the *.h files for you. HTH Gav __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
RE: [R] R GUI for Linux?
John: Thank you for your interest. After more investigation I see that my problem is with linking tcltk to R. tcl 8.4.7-2 and tk 8.4.7-2 are tuned to fc3 (Fedora Core 3) and part of the standard installation. However, required file locations are different than what is expected by R. I set the locations for tclConfig.sh and tkConfig.sh using ./configure but R tells me something to the effect that Tcl and Tk major or minor versions disagree. Your help or the help of others on the R-List would be appreciated. FYI, I am also including the locations of important files and directories. tclConfig.sh: /usr/lib tkConfig.sh: /usr/lib tcl library: /usr/lib/tcl8.4 (symbolically linked from /usr/share/tcl8.4) tk library: /usr/lib/tk8.4 (separate copy in /usr/share/tk8.4) tcl.h:I can't find it with full drive search tk.h: I can't find it with full drive search Thanks for your time. Chuck -Original Message- From: John Fox [mailto:[EMAIL PROTECTED] Sent: Mon 5/30/2005 4:20 PM To: White, Charles E WRAIR-Wash DC Cc: [EMAIL PROTECTED]; r-help@stat.math.ethz.ch Subject: RE: [R] R GUI for Linux? Dear Charles, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of White, > Charles E WRAIR-Wash DC > Sent: Monday, May 30, 2005 10:52 AM > To: r-help@stat.math.ethz.ch > Cc: [EMAIL PROTECTED] > Subject: [R] R GUI for Linux? > . . . I haven't tried the Rcmdr package with FC3, but I ran it under an older version of Red Hat Linux some time ago, and the current version (Rcmdr 1.0-2) under Quantian. Can you be more specific about the problems that you encountered? Are these general to the tcltk package or specific to the Rcmdr? I'm sorry that you're experiencing problems. John __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] R GUI for Linux?
On Mon, 30-May-2005 at 08:29PM +0200, Sander Oom wrote: |> .. I have |> given up on any instructions that tell me to run 'make'. Linux |> distributions are just to[o] idiosyncratic for it to be worth the effort. That might be true of Linux distributions in general, but installing R is *very* easy. There are a couple of lines you can paste from the README file to get the configure and make thing working. Depending on your machine, it might take some time to do all its stuff which is extensive and thorough. Installing ESS is only slightly different. Simply extract the tar.gz file, find the README file and adjust your .emacs file to let it know where you've installed ESS. Granted, it does take a bit to get used to the way Emacs does things, but you need only about 1% of its capability and then it is extremely easy to use. Many questions asked on this list just don't arise. best -- Patrick Connolly HortResearch Mt Albert Auckland New Zealand Ph: +64-9 815 4200 x 7188 ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~ I have the world`s largest collection of seashells. I keep it on all the beaches of the world ... Perhaps you`ve seen it. ---Steven Wright ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~ __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
RE: [R] R GUI for Linux?
Dear Charles, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of White, > Charles E WRAIR-Wash DC > Sent: Monday, May 30, 2005 10:52 AM > To: r-help@stat.math.ethz.ch > Cc: [EMAIL PROTECTED] > Subject: [R] R GUI for Linux? > . . . > > Rcmdr: There are all sorts of things in FC3 that seem to be > tcl/tk related but Rcmdr doesn't seem to work with them. > Since some are part of the base FC3 installation, I'm > nervious about replacing them or installing competing > software. Potentially conflicting software in FC3 are listed below: > > tcl.i386 8.4.7-2 > installed > tclx.i3868.3.5-4 > installed > db4-tcl.i386 4.2.52-6 base > postgresql-tcl.i386 7.4.8-1.FC3.1 > updates-released > ruby-tcltk.i386 1.8.2-1.FC3.1 > updates-released > tcl-devel.i386 8.4.7-2base > tcl-html.i3868.4.7-2base > tclx-devel.i386 8.3.5-4base > tclx-doc.i3868.3.5-4base > . . . I haven't tried the Rcmdr package with FC3, but I ran it under an older version of Red Hat Linux some time ago, and the current version (Rcmdr 1.0-2) under Quantian. Can you be more specific about the problems that you encountered? Are these general to the tcltk package or specific to the Rcmdr? I'm sorry that you're experiencing problems. John __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] R GUI for Linux?
Hi Charles, Warm felt sympathies for your struggles. I consider myself a happy GUI user and have also struggled with the 'command line' history and lack of out-of-the-box functionality associated with Linux. However, Linux does have many, many advantages over other OS's, so I will stick to it. That said, I am reluctantly suggesting it to others, as there are lots of other things one can do on a Saturday afternoon. ;-) After many long afternoons, I have come to the conclusion that accepting what comes as standard is the best approach to using Linux if you do have better things to do. I tried ESS, but I found it impenetrable at my first try, so gave up. I run SuSE linux and R without any problem. The RPM was downloaded from CRAN and installed without any errors. I run update.packages to download, install and refresh all contributed and other packages. I also looked for an R GUI, but must admit I stopped way before you did. I ended up using my favorite editor (Kate, comes standard with KDE) and cut and paste code into an R console (available as standard in the Kate window). Gives a nice clean window for writing code and running R. Of course Kate has code highlighting facilities (as standard). I soon realized that the console has a limited buffer for commands, such that long code sequences are abruptly ended part way through. Thus I have a second console open from which I source whole R files. The setup gives a relatively comfortable code debugging environment! I was amazed when I read the instruction for JGR on Linux. I thought the whole point of Java was to create platform independent software. I have given up on any instructions that tell me to run 'make'. Linux distributions are just to idiosyncratic for it to be worth the effort. I'll just wait until Novell packs JGR with the new version of SuSE Linux. Even if I have to pay something for the added bonus! Will keep following the GUI developments with interest, Sander. White, Charles E WRAIR-Wash DC wrote: I feel your pain. I am a new Linux user who has spent most of the weekend trying to get a functional R setup. When I installed Fedora Core 3 (FC3) on my home computer, I thought using R in a terminal would be a snap. I installed R using the rpm packages and tried to use it with the FC3 default terminal (GNOME Terminal 2.7.3). Before long, I found out the terminal was rudely discarding output beyond a set number of lines. I could increase the number of lines kept by the terminal but that didn't strike me as an acceptable solution. Cutting to my stress relieving intermediate solution, I am currently using xemacs with ESS as my R programming environment under FC3. Eventually, I will want to run JGR as my programming environment and Rcmdr as both a teaching tool and means to distribute code to some of my clients. On my way to xemacs, I also tried to install emacs and gnomeGUI. I will briefly document my experience with trying to install each of these packages below: XEMACS with ESS: XEMACS is within the 'walled garden' of packages tuned specifically to run under FC3 and XEMACS provides a tuned installation for ESS. Since I had already compiled R from source with shared libraries enabled (the rmp does not enable shared libraries), I don't know if XEMACS will work with the rpm version of R. Note also that I installed this package using yum; 'Add or Remove Applications' lists xemacs but wouldn't allow me to install. JGR: I have installed jdk1.5.0_03 and MOST of the the output from make looks like JGR is compiling correctly. JavaGD and rJava are not finding jini.h. I don't see an explicit statement of how to start JGR but I assume that is done by typing JGR (or maybe jgr) in a terminal window. Nothing happens. Two potential problems are: (a) I never should have downloaded JavaGD and rJava from CRAN (they won't uninstall, deleting the directories doesn't stop the problem, and I can't use yum to remove R to start over because yum doesn't recognise that R is installed.) or (b) I need to uninstall some of the stray versions of java littering my hard drive. I haven't removed the symbolic link between jre1.5.0_02 and firefox. Rcmdr: There are all sorts of things in FC3 that seem to be tcl/tk related but Rcmdr doesn't seem to work with them. Since some are part of the base FC3 installation, I'm nervious about replacing them or installing competing software. Potentially conflicting software in FC3 are listed below: tcl.i386 8.4.7-2installed tclx.i3868.3.5-4installed db4-tcl.i386 4.2.52-6 base postgresql-tcl.i386 7.4.8-1.FC3.1 updates-released ruby-tcltk.i386 1.8.2-1.FC3.1 updates-released tcl-devel.i386 8.4.7-2base tcl-html.i3868.4.
[R] R GUI for Linux?
I feel your pain. I am a new Linux user who has spent most of the weekend trying to get a functional R setup. When I installed Fedora Core 3 (FC3) on my home computer, I thought using R in a terminal would be a snap. I installed R using the rpm packages and tried to use it with the FC3 default terminal (GNOME Terminal 2.7.3). Before long, I found out the terminal was rudely discarding output beyond a set number of lines. I could increase the number of lines kept by the terminal but that didn't strike me as an acceptable solution. Cutting to my stress relieving intermediate solution, I am currently using xemacs with ESS as my R programming environment under FC3. Eventually, I will want to run JGR as my programming environment and Rcmdr as both a teaching tool and means to distribute code to some of my clients. On my way to xemacs, I also tried to install emacs and gnomeGUI. I will briefly document my experience with trying to install each of these packages below: XEMACS with ESS: XEMACS is within the 'walled garden' of packages tuned specifically to run under FC3 and XEMACS provides a tuned installation for ESS. Since I had already compiled R from source with shared libraries enabled (the rmp does not enable shared libraries), I don't know if XEMACS will work with the rpm version of R. Note also that I installed this package using yum; 'Add or Remove Applications' lists xemacs but wouldn't allow me to install. JGR: I have installed jdk1.5.0_03 and MOST of the the output from make looks like JGR is compiling correctly. JavaGD and rJava are not finding jini.h. I don't see an explicit statement of how to start JGR but I assume that is done by typing JGR (or maybe jgr) in a terminal window. Nothing happens. Two potential problems are: (a) I never should have downloaded JavaGD and rJava from CRAN (they won't uninstall, deleting the directories doesn't stop the problem, and I can't use yum to remove R to start over because yum doesn't recognise that R is installed.) or (b) I need to uninstall some of the stray versions of java littering my hard drive. I haven't removed the symbolic link between jre1.5.0_02 and firefox. Rcmdr: There are all sorts of things in FC3 that seem to be tcl/tk related but Rcmdr doesn't seem to work with them. Since some are part of the base FC3 installation, I'm nervious about replacing them or installing competing software. Potentially conflicting software in FC3 are listed below: tcl.i386 8.4.7-2installed tclx.i3868.3.5-4installed db4-tcl.i386 4.2.52-6 base postgresql-tcl.i386 7.4.8-1.FC3.1 updates-released ruby-tcltk.i386 1.8.2-1.FC3.1 updates-released tcl-devel.i386 8.4.7-2base tcl-html.i3868.4.7-2base tclx-devel.i386 8.3.5-4base tclx-doc.i3868.3.5-4base EMACS with ESS: A version of EMACS is tuned to FC3 but ESS has to be obtained elsewhere. Installing ESS requires editing the hidden .emacs file. I know how to see hidden files but this one does not appear to be where the ESS directions say to look. gnomeGUI: Error message says that I don't have Gnome installed. It would be nice and GNU to have a working copy of gnome GUI. I hope you have found my message to be entertaining. If anybody can stop me before I do something else stupid, I'd appreciate it. Thanks. Chuck Charles E. White, Senior Biostatistician, MS Walter Reed Army Institute of Research 503 Robert Grant Ave., Room 1w102 Silver Spring, MD 20910-1557 Personal/Professional Site: http://users.starpower.net/cwhite571/professional/ __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] R GUI for Linux?
Check out the JGR link on the web page mentioned by Sander below. On 5/29/05, Sander Oom <[EMAIL PROTECTED]> wrote: > HI Robert, > > Of course Linux already has a console! Just type R in the Terminal > console and R will start (assuming all is installed correctly). Graphics > will be launched in separate windows. > > If you want more then the Terminal console, try: > > http://www.sciviews.org/_rgui/ > > Good luck, > > Sander. > > Robert Citek wrote: > > > > Hello all, > > > > I noticed that both Windows and OS X version of R have a GUI > > (Rconsole). Is there a GUI for Linux? I'm running Debian on which the > > CLI for R works just fine. > > > > Regards, > > - Robert > > > > __ > > R-help@stat.math.ethz.ch mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide! > > http://www.R-project.org/posting-guide.html > > > > > -- > > Dr Sander P. Oom > Animal, Plant and Environmental Sciences, > University of the Witwatersrand > Private Bag 3, Wits 2050, South Africa > Tel (work) +27 (0)11 717 64 04 > Tel (home) +27 (0)18 297 44 51 > Fax +27 (0)18 299 24 64 > Email [EMAIL PROTECTED] > Web www.oomvanlieshout.net/sander > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] R GUI for Linux?
On 29 May 2005 at 12:13, Robert Citek wrote: | | Hello all, | | I noticed that both Windows and OS X version of R have a GUI | (Rconsole). Is there a GUI for Linux? I'm running Debian on which | the CLI for R works just fine. $ apt-get install r-gnome ## works up until R 2.0.1 $ R --gui=gnome & That said, as of R 2.1.0, the Gnome UI is no longer shipped with the R sources. Hence, I no longer provide it in the r-gnome package. However, the code is now provided in an add-one package 'gnomeGUI' on CRAN which you could install directly. Hope this helps, Dirk -- Statistics: The (futile) attempt to offer certainty about uncertainty. -- Roger Koenker, 'Dictionary of Received Ideas of Statistics' __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] R GUI for Linux?
HI Robert, Of course Linux already has a console! Just type R in the Terminal console and R will start (assuming all is installed correctly). Graphics will be launched in separate windows. If you want more then the Terminal console, try: http://www.sciviews.org/_rgui/ Good luck, Sander. Robert Citek wrote: Hello all, I noticed that both Windows and OS X version of R have a GUI (Rconsole). Is there a GUI for Linux? I'm running Debian on which the CLI for R works just fine. Regards, - Robert __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Dr Sander P. Oom Animal, Plant and Environmental Sciences, University of the Witwatersrand Private Bag 3, Wits 2050, South Africa Tel (work) +27 (0)11 717 64 04 Tel (home) +27 (0)18 297 44 51 Fax +27 (0)18 299 24 64 Email [EMAIL PROTECTED] Web www.oomvanlieshout.net/sander __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] R GUI for Linux?
Hello all, I noticed that both Windows and OS X version of R have a GUI (Rconsole). Is there a GUI for Linux? I'm running Debian on which the CLI for R works just fine. Regards, - Robert __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html