[R-SIG-Mac] Rcmdr & tcltk

Cormac Lawler cormaggio at gmail.com
Tue Oct 25 13:38:10 CEST 2005


Hi,
I posted to r-sig-mac before, but I'm still having problems
downloading Rcmdr. I've tried following the instructions at:
http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html

I'm still getting errors when I try to download the package from
within R - problem seems to be TclTk packages. I asked on the R help
list - they suggested I needed to install X11, which I did, but I
still get this error [2].

A possible problem is that i have already downloaded Rcmdr from the
web - there are certainly plenty of files on my system, as a command-F
confirms. These could be interfering in some way.

However, i suspect that the real issue is Tcl/Tk, as the console
details below show. I have downloaded R (base). Is there anything else
I need to download or is there a possible bug with the CRAN base
download or the way i've managed my files?

Thanks,
Cormac

[1] Install packages - Rcmdr:

trying URL 'http://www.sourcekeg.co.uk/cran/bin/macosx/2.1/PACKAGES'
Content type 'text/plain; charset=ISO-8859-1' length 27756 bytes
opened URL
==================================================
downloaded 27Kb

trying URL 'http://www.sourcekeg.co.uk/cran/bin/macosx/2.1/Rcmdr_1.0-2.tgz'
Content type 'application/x-tar' length 644758 bytes
opened URL
==================================================
downloaded 629Kb


The downloaded packages are in
	/tmp/RtmptX8Kfn/downloaded_packages
trying URL 'http://www.sourcekeg.co.uk/cran/bin/macosx/2.1/PACKAGES'
Content type 'text/plain; charset=ISO-8859-1' length 27756 bytes
opened URL
==================================================
downloaded 27Kb


[2] Package manager - Rcmdr:

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':
  dlcompat: dyld: /Applications/R.app/Contents/MacOS/R can't open
library: /usr/local/lib/libtk8.4.dylib  (No such file or directory,
errno = 2)
In addition: Warning message:
cannot create HTML package index in: make.packages.html()
Error: .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package 'tcltk' could not be loaded
>



More information about the R-SIG-Mac mailing list