[R] tcl/tk problem

From: Jennifer Skene <skene_at_berkeley.edu>
Date: Thu 28 Apr 2005 - 08:57:30 EST

I have JUST started using R. I am using R 2.0.1 on a mac (os x) to run another program (called GRASPER, Generalized Regression Analysis and Spatial Prediction for R). When I try to run Grasper, I get an error for tcl/tk:

> library(grasper)

Loading required package: mgcv
This is mgcv 1.1-8
Loading required package: MASS
Loading required package: tcltk
Error in dyn.load(x, as.logical(local), as.logical(now)) :

        unable to load shared library

   dlcompat: dyld: /Applications/R.app/Contents/MacOS/R can't open library: /usr/X11R6/lib/libX11.6.dylib (No such file or directory, errno = 2)
Error: .onLoad failed in loadNamespace for 'tcltk' Error: package 'tcltk' could not be loaded

However, tcl/tk appears to be there:

> capabilities()

     jpeg      png    tcltk      X11    GNOME     libz http/ftp  sockets
     TRUE     TRUE     TRUE     TRUE    FALSE     TRUE     TRUE     TRUE
   libxml     fifo   cledit  IEEE754    bzip2     PCRE
     TRUE     TRUE     TRUE     TRUE     TRUE     TRUE

Does anyone know of a solution to this?

Jennifer Skene

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Apr 28 09:10:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:27 EST