Michael, I suspect that the problem is DYLD_LIBRARY_PATH which causes R to load the wrong Tcl/Tk library. Try stats-rosuda-devel mailing list ;)
Cheers, Simon On Jan 20, 2007, at 1:07 PM, Michael Kubovy wrote: > Dear Mac R users, > > I have raised this issue before but have received no answer. Under > Mac OS X, tcltk does not live in peace with JGR but it does with R > GUI. Suggestions anyone? > > *********************************** > Under JGR: > *********************************** >> library(TeachingDemos) > Loading required package: tcltk > Loading Tcl/Tk interface ... Error in fun(...) : Can't find a usable > init.tcl in the following directories: > @TCL_IN_FRAMEWORK@ @TCL_IN_FRAMEWORK@ > > This probably means that Tcl wasn't installed properly. > Error: .onLoad failed in 'loadNamespace' for 'tcltk' > Error: package 'tcltk' could not be loaded > *********************************** >> sessionInfo() > R version 2.4.1 (2006-12-18) > powerpc-apple-darwin8.8.0 > > locale: > C > > attached base packages: > [1] "datasets" "grid" "graphics" "grDevices" "stats" > "utils" "methods" > [8] "base" > > other attached packages: > JGR iplots JavaGD MASS > gridBase lattice latticeExtra > "1.4-15" "1.0-5" "0.3-5" "7.2-31" "0.4-3" > "0.14-16" "0.1-4" > rJava xtable > "0.4-13" "1.4-3" > _________________________ > *********************************** > Under the Mac OS GUI: > *********************************** >> library(TeachingDemos) > Loading required package: tcltk > Loading Tcl/Tk interface ... done > Loading required package: lattice > Loading required package: tkrplot > *********************************** >> sessionInfo() > R version 2.4.1 (2006-12-18) > powerpc-apple-darwin8.8.0 > > locale: > en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 > > attached base packages: > [1] "tcltk" "stats" "graphics" "grDevices" "utils" > "datasets" "methods" "base" > > other attached packages: > TeachingDemos tkrplot lattice > "1.4" "0.0-16" "0.14-16" > _________________________ > _____________________________ > Professor Michael Kubovy > University of Virginia > Department of Psychology > USPS: P.O.Box 400400 Charlottesville, VA 22904-4400 > Parcels: Room 102 Gilmer Hall > McCormick Road Charlottesville, VA 22903 > Office: B011 +1-434-982-4729 > Lab: B019 +1-434-982-4751 > Fax: +1-434-982-4766 > WWW: http://www.people.virginia.edu/~mk9y/ > > _______________________________________________ > R-SIG-Mac mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > > _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
