[R] Where is the tcltk package?

Rolf Turner r.turner at auckland.ac.nz
Fri Apr 8 02:35:35 CEST 2011


On 08/04/11 12:30, Gabor Grothendieck wrote:
> 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.
I get:
> > library(tcltk)
> Error in firstlib(which.lib.loc, package) :
>   Tcl/Tk support is not available on this system
> Error in library(tcltk) : .First.lib failed for 'tcltk'

My session info is:
> > sessionInfo()
> R version 2.12.2 (2011-02-25)
> Platform: i686-pc-linux-gnu (32-bit)
>
> locale:
>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
>  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
>  [5] LC_MONETARY=C              LC_MESSAGES=en_US.UTF-8
>  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
>  [9] LC_ADDRESS=C               LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] datasets  utils     stats     graphics  grDevices methods   base
>
> other attached packages:
> [1] misc_0.0-13     gtools_2.6.2    spatstat_1.21-7 deldir_0.0-13
> [5] mgcv_1.7-3      fortunes_1.4-0  MASS_7.3-11
>
> loaded via a namespace (and not attached):
> [1] grid_2.12.2        lattice_0.19-17    Matrix_0.999375-46 nlme_3.1-98

     cheers,

         Rolf



More information about the R-help mailing list