Hi Peter,
 
 Peter Dalgaard <[EMAIL PROTECTED]> wrote:
 
 >    Did you build R yourself, and can you do library(tcltk) on R's command
 >    line? 
 
 Yes, I built R myself. I couldn't find a debian package for R 2.3.1. The 
latest available is 2.2.1.
 
     > 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'
     >
 
 > You may well be missing the -devel packages for tcl and tk. 
 
 I didn't get any warnings when I used configure. Do I need to explicitly
 configure for tcl and tk?
 
 >    And, BTW, which Linux distribution is this? "i686-pc-linux-gnu" is not
 >    sufficient.
 
 Ubuntu 6.06.
 
 Thanks,
 
 Jack.
 
 

Peter Dalgaard <[EMAIL PROTECTED]> wrote: John McHenry  writes:

> Hi WizaRds,
> 
> I ran into trouble trying to install the "debug" package, which requires 
> TCL/TK support. It seems like the tcltk package is not installed on my system.
> From: http://tolstoy.newcastle.edu.au/R/help/05/07/7993.html it seems that 
> the tcltk is bundled with the base R distribution.
> 
> I'm running R under linux:
> 
> > version
>                _
> platform       i686-pc-linux-gnu
> arch           i686
> os             linux-gnu
> system         i686, linux-gnu
> status
> major          2
> minor          3.1
> year           2006
> month          06
> day            01
> svn rev        38247
> language       R
> version.string Version 2.3.1 (2006-06-01)
> 
> 
>  tcl8.4 and tk8.4 are both installed.
>  
>  The messages I get when I try to install the debug package are:
> 
> > install.packages("debug")
> trying URL 'http://cran.us.r-project.org/src/contrib/debug_1.1.0.tar.gz'
> Content type 'application/x-tar' length 26492 bytes
> opened URL
> ==================================================
> downloaded 25Kb
> 
> * Installing *source* package 'debug' ...
> ** R
> ** inst
> ** save image
> Loading required package: mvbutils
> MVBUTILS: no "tasks" vector found in ROOT
> Loading required package: tcltk
> Error in firstlib(which.lib.loc, package) :
>         Tcl/Tk support is not available on this system
> Error: package 'tcltk' could not be loaded
> Execution halted
> ERROR: execution of package source for 'debug' failed
> ** Removing '/usr/local/lib/R/library/debug'
> 
> The downloaded packages are in
>         /tmp/RtmpEocXcC/downloaded_packages
> Warning message:
> installation of package 'debug' had non-zero exit status in: 
> install.packages("debug")
> 
> Where am I going wrong?

Did you build R yourself, and can you do library(tcltk) on R's command
line? You may well be missing the -devel packages for tcl and tk.

And, BTW, which Linux distribution is this? "i686-pc-linux-gnu" is not
sufficient. 


-- 
   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907


                
---------------------------------

        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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.

Reply via email to