Skip to content

How can I use grasp

2 messages · knussear, Simon Urbanek

#
Hi,

I need to do some spatial habitat modeling in grasp (er) and I'm  
using the Mac OSX version of the R binary (1.14 build 2129)

I used the package installer to install the grasper package, but I  
get a tcltk error when I try to load it.

Do I need a tcltk version of R to run this, and If so where can I  
find this?

Thanks

Ken

PS Here is the error message given when loading grasper

Your version of R is up to date
Loading required package: mgcv
This is mgcv 1.3-13
Loading required package: MASS
Loading required package: tcltk
Loading Tcl/Tk interface ... Error in dyn.load(x, as.logical(local),  
as.logical(now)) :
	unable to load shared library '/Library/Frameworks/R.framework/ 
Resources/library/tcltk/libs/tcltk.so':
   dlopen(/Library/Frameworks/R.framework/Resources/library/tcltk/ 
libs/tcltk.so, 10): Library not loaded: /usr/local/lib/libtcl8.4.dylib
   Referenced from: /Library/Frameworks/R.framework/Resources/library/ 
tcltk/libs/tcltk.so
   Reason: image not found
Error: .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package 'tcltk' could not be loaded
 >
#
Ken,
On Feb 24, 2006, at 1:24 PM, Ken Nussear wrote:

            
Yes, and it is included in the R release disk image (dmg) from CRAN,  
but it is optional, so you have to choose "custom install" and select  
it. You can also find the separate "tcltk" installer in the  
"Packages" directory of the image. Don't forget that this is X11 Tcl/ 
Tk, so you also have to install Apple's X11 and have it running.

Cheers,
Simon