[R-sig-Fedora] tcktk problem with custom R 2.15.0 build on RHEL5

peter dalgaard pdalgd at gmail.com
Tue May 22 16:33:36 CEST 2012


On May 22, 2012, at 15:28 , Bruce Pennypacker wrote:

> On 5/22/12 2:56 AM, peter dalgaard wrote:
>> As I read the error message, Tcl as such is working fine. However, the min function seems to be new in Tcl 8.5, and it is unclear which version is in RH 5.6. There's certainly no Tcl 8.14.3. (library(tcltk); tcl("info", "tclversion") will tell you which one is really loaded.) Google suggests that in earlier versions, there was an add-on called "TclX" that defined min and max functions (among other things, I presume). If it is in RH5.6, I would guess that you could load it with tclRequire("TclX") (or however it might be capiTaLized) before trying to do anything with sqldf().
> Ahh, thanks for the pointers.  Yes, I screwed up the version number of tcltk.  It's 8.4.13, not 8.14.3...  And I do see a separate tclx package in the RHEL5 repo, but after installing it and it's companion -devel package I'm still getting the same unknown function error.  

Did you try the tclRequire() bit? These things are like R packages, it's not enough to install them; you also need to load them into the running Tcl interpreter.

> Given that this is likely new in Tcl 8.5 I may just bite the bullet and install that then rebuild R.  But in any event you've given me some good information to hopefully get me in the right direction.  Thanks!
> 
> -Bruce
> 

-- 
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-SIG-Fedora mailing list