Skip to content

R GUI for Linux?

2 messages · White, Charles E WRAIR-Wash DC, Gavin Simpson

#
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. <grin>

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:gavin.simpson at ucl.ac.uk] 
Sent: Tuesday, May 31, 2005 3:30 AM
To: White, Charles E WRAIR-Wash DC
Cc: John Fox; sander at oomvanlieshout.net; r-help at stat.math.ethz.ch
Subject: Re: [R] R GUI for Linux?
White, Charles E WRAIR-Wash DC wrote:
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
#
White, Charles E WRAIR-Wash DC wrote:
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.
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