[R] tcltk on linux/rhel6
Carl Baribault
crlbrblt at gmail.com
Wed Jan 4 17:35:44 CET 2012
Brian,
FYI, I had previously installed tcl-devel but had overlooked tk-devel
on the OS. Now that I've installed tk-devel on the OS, the following
sequence of commands has succeeded:
sudo ./configure --with-tcltk
sudo make
sudo make check
sudo make install
R
...
> library("tcltk")
Loading Tcl/Tk interface ... done
>
Thanks for your suggestions.
Best,
CB
On Wed, Jan 4, 2012 at 3:40 AM, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
> On 04/01/2012 01:52, Peter Langfelder wrote:
>>
>> On Tue, Jan 3, 2012 at 4:03 PM, Carl Baribault<crlbrblt at gmail.com> wrote:
>>>
>>> Dear All,
>>>
>>> I've seen posts to the effect that..
>>> 1) choose.dir is only available for windows, and
>>> 2) tk_choose.dir would be the linux equivalent.
>>>
>>> I'm still having trouble with the subject package on linux/rhel6.
>>>
>>> I've specified --with-tcltk during ./configure, and I still get the
>>> response...
>>>
>>>> install.packages("tcltk")
>>
>>
>> My understanding is that tcltk is included in the base installation
>> now. You should be able to load it using library(tcltk) without
>> explicitly installing it. You can install tcltk2 as an add-on package.
>
>
> Yes, but you need OS support (for both).
>
> Whoever installed this R needs to read the R-admin manual and note the need
> for -devel RPMs for Tcl and Tk. Then study the configure messages which
> tell you if tcltk was built.
>
> --
> Brian D. Ripley, ripley at stats.ox.ac.uk
> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
> University of Oxford, Tel: +44 1865 272861 (self)
> 1 South Parks Road, +44 1865 272866 (PA)
> Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list