Perhaps I'm being even thicker than usual, but I can't find
the tcltk package on CRAN. There is a tcltk2 package, which says
that it is a collection of supplements to tcltk, but I cannot
see a just-plain tcltk anywhere.
If I try to install tcltk2 (from the Linux command line, or using
install.packages() in R) it complains that it needs tcltk.
If I try to install tcltk using install.packages() it tells me that
this package is not available.
What is going on?
cheers,
Rolf Turner
Rolf,
What does
> capabilities("tcltk")
return?
On 04/07/2011 07:15 PM, Rolf Turner wrote:>
> Perhaps I'm being even thicker than usual, but I can't find
> the tcltk package on CRAN. There is a tcltk2 package, which says
> that it is a collection of supplements to tcltk, but I cannot
> see a just-plain tcltk anywhere.
>
> If I try to install tcltk2 (from the Linux command line, or using
> install.packages() in R) it complains that it needs tcltk.
>
> If I try to install tcltk using install.packages() it tells me that
> this package is not available.
>
> What is going on?
>
> cheers,
>
> Rolf Turner
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
On Thu, Apr 7, 2011 at 8:15 PM, Rolf Turner <r.turner at auckland.ac.nz> wrote:> > Perhaps I'm being even thicker than usual, but I can't find > the tcltk package on CRAN. ?There is a tcltk2 package, which says > that it is a collection of supplements to tcltk, but I cannot > see a just-plain tcltk anywhere. > > If I try to install tcltk2 (from the Linux command line, or using > install.packages() in R) it complains that it needs tcltk. > > If I try to install tcltk using install.packages() it tells me that > this package is not available. > > What is going on? >In most distributions of R tcltk is already included. Try library(tcltk) and see if you get it. -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com
Searching for tcltk on the BioConductor site yields
CRAN - Package tcltk2 - http://cran.r-project.org/web/packages/tcltk2/
CRAN - Package tcltk2 tcltk2: Tcl/Tk Additions A series of additional Tcl
commands and Tk widgets with style and various functions (under Windows: DDE
exchange, access to the registry
If you install tcltk2, is tcltk then available?
Steven McKinney
________________________________________
From: r-help-bounces at r-project.org [r-help-bounces at r-project.org] On
Behalf Of Rolf Turner [r.turner at auckland.ac.nz]
Sent: April 7, 2011 5:15 PM
To: r-help at r-project.org
Subject: [R] Where is the tcltk package?
Perhaps I'm being even thicker than usual, but I can't find
the tcltk package on CRAN. There is a tcltk2 package, which says
that it is a collection of supplements to tcltk, but I cannot
see a just-plain tcltk anywhere.
If I try to install tcltk2 (from the Linux command line, or using
install.packages() in R) it complains that it needs tcltk.
If I try to install tcltk using install.packages() it tells me that
this package is not available.
What is going on?
cheers,
Rolf Turner
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
On 08/04/11 12:22, Erik Iverson wrote:> Rolf, > > What does > > > capabilities("tcltk") > > return?FALSE cheers, Rolf Turner
On 04/07/2011 07:32 PM, Rolf Turner wrote:> On 08/04/11 12:22, Erik Iverson wrote: >> Rolf, >> >> What does >> >> > capabilities("tcltk") >> >> return? > > FALSEI believe R needs to be compiled with tcltk support for the package to work. Do you compile your own version or use a package manager (e.g., on Ubuntu)? If you have TCL/TK installed in a "standard" location, all should be well I think. See: http://cran.r-project.org/doc/manuals/R-admin.html#Tcl_002fTk On my Ubuntu machine, I have both the "tcl" and the "tk" packages installed through Synaptic (the package manager). HTH, Erik> > cheers, > > Rolf Turner
On Thu, Apr 7, 2011 at 5:32 PM, Rolf Turner <r.turner at auckland.ac.nz> wrote:> On 08/04/11 12:22, Erik Iverson wrote: >> >> Rolf, >> >> What does >> >> ?> ?capabilities("tcltk") >> >> return? > > FALSE >As others have indicated, your R was compiled without Tcl/Tk support. Most likely because Tcl/Tk was/is not installed on your system, or perhaps it is in a non-standard location where the configure script cannot find it. Peter
On Thu, Apr 7, 2011 at 8:32 PM, Rolf Turner <r.turner at auckland.ac.nz> wrote:> On 08/04/11 12:22, Erik Iverson wrote: >> >> Rolf, >> >> What does >> >> ?> ?capabilities("tcltk") >> >> return? > > FALSE > > ? ?cheers, >Try re-installng R using these instructions: http://socserv.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com