An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-debian/attachments/20101119/aec52905/attachment.pl>
intall tcl/tk
7 messages · Patrick Richardson, Dirk Eddelbuettel, Biau David +1 more
David,
Do you have the tcltk package installed within R? i.e.
install.packages("tcltk")
Patrick
On Thursday 18 November 2010 08:09:06 pm Biau David wrote:
Dear Help List, I am trying to install a package (DiagnosisMed) on R (R version 2.10.1 (2009-12-14)) on Debian Lenny (architecture i386). I get the following error message: ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ * installing *source* package ???DiagnosisMed??? ... ** R ** data ** preparing package for lazy loading Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this system Error : package 'tcltk' could not be loaded ERROR: lazy loading failed for package ???DiagnosisMed??? * removing ???/home/david/R_home/library/DiagnosisMed??? ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ I have intalled packages - tcl - tcl8.4 - tk - tk8.4 1) I haven't figured out how to install the tcl/tk package. 2) is there a search option for the r-sig-archives; I couldn't find it. Thanks for the help, David Biau. [[alternative HTML version deleted]]
On 19 November 2010 at 01:09, Biau David wrote:
| I am trying to install a package (DiagnosisMed) on R (R version 2.10.1 | (2009-12-14)) on Debian Lenny (architecture i386). Why do you want to install from source when pre-built binaries exist? Please see http://cran.r-project.org/bin/linux/debian/ | I get the following error message: [...] | I have intalled packages | - tcl | - tcl8.4 | - tk | - tk8.4 | | 1) I haven't figured out how to install the tcl/tk package. You missed the point of installing -dev packages for compiling. See a) above for an alternative. | 2) is there a search option for the r-sig-archives; I couldn't find it. Between Google Gmane.com search Mail-archive.com search R-Project.org search page it should be possible to find something. Dirk
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
On 18 November 2010 at 20:40, Patrick Richardson wrote:
| David,
|
| Do you have the tcltk package installed within R? i.e.
|
| install.packages("tcltk")
Gosh, exactly how low can we sink?
This is r-sig-debian. It's about Debian/Ubuntu package mangement with R.
tcltk is a __base package__ installed with R itself, eg r-base-core.
Dirk
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-debian/attachments/20101119/1a8c216c/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-debian/attachments/20101119/857d73e8/attachment.pl>
1 day later
David, Has this been resolved properly, i.e. is your problem solved? In case not: It seems that to me that tcl-dev and tk-dev were not present on the system when R was compiled. Installing them afterwards would not bring tcl/tk functionality, you would need to recompile afterwards. Pre-built binaries of R itself (including tcl/tk), the recommended packages and some extras are available for lenny on CRAN. Look for "R binaries", than under "linux", then "debian". Kind regards, Johannes Am Freitag, 19. November 2010, um 14:12:18 schrieb Biau David:
Thank you both for your help.
1) I built from source because at the time I was trying to get a newer
version of R than the one offered for Debian to get a package working. As
far as I remember and you can guess I don't do that every other weekend...
2) there is a library called tcltk in R-home/library; however, in the R
console, when I type require(tcltk), I get the following message.
~*~*~*
Loading required package: tcltk
Error in firstlib(which.lib.loc, package) :
Tcl/Tk support is not available on this system
~*~*~*
I don't know why. I have installed the r-base-dev, tcl-dev and tk-dev
packages: still the same message with require('DiagnosisMed').
3) I do not understand what do you mean by installing pre-built binaries.
Are you referring to packages?
Thanks for helping users at the lower end of the spectrum.
Best,
David Biau.
________________________________
De : "xplaner800 at comcast.net" <xplaner800 at comcast.net>
? : Dirk Eddelbuettel <edd at debian.org>
Envoy? le : Ven 19 novembre 2010, 3h 55min 39s
Objet : Re: [R-sig-Debian] intall tcl/tk
It wasn't clear to me whether he built from source or was using
precompiled. Thought he may have built from source without tcltk (of
course if that was the case, he would have to rebuild). Just trying to
help.
Patrick
----- Original Message -----
From: "Dirk Eddelbuettel" <edd at debian.org>
To: "Patrick Richardson" <xplaner800 at comcast.net>
Sent: Thursday, November 18, 2010 9:32:51 PM
Subject: Re: [R-sig-Debian] intall tcl/tk
On 18 November 2010 at 20:40, Patrick Richardson wrote:
| David,
|
| Do you have the tcltk package installed within R? i.e.
|
| install.packages("tcltk")
Gosh, exactly how low can we sink?
This is r-sig-debian. It's about Debian/Ubuntu package mangement with R.
tcltk is a __base package__ installed with R itself, eg r-base-core.
Dirk