Skip to content

installing R and Rcmdr onMacOS 10.3.9

3 messages · Karla Van Meter, John Fox, Rob Goedman

#
I have been trying to install the new, patched R 2.1.0a along with the  
Rcmdr on my mac. I got the basic R package installed, but in Project  
Manager, the tcltk package will not install.

  When I downloaded the Rcmdr binary package from the Berkeley site, it  
did not show up on the package installer list until a second attempt,  
but it still does not show up on the package manager list.

On the package manager list, the tcltk package is listed as ''not  
installed'. When I click on it to install, it won't. I tried the  
library(tcltk) command, which failed.

The following is the output from the last command:

 > library(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/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
 > library(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/X11R6/lib/libX11.6.dylib  (No such file or directory,  
errno = 2)
Error: .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package/namespace load failed for 'tcltk'
 >

I am NOT a developer, but an application-oriented grad student.

I'd appreciate any help that will make Rcmdr work.

Thanks,

Karla Van Meter
tel: 707.765.0420
net: kcvanmeter at ucdavis.edu
#
Dear Karla,

It's likely that you don't have Tcl/Tk installed on your Mac.

I know that it's possible to get the Rcmdr working on a Mac, but that doing
so requires some additional steps. I'm not a Mac user, so I'm afraid that I
can't be of much direct help. If someone who's using the Rcmdr on a Mac is
willing to prepare notes about how to get it installed and working, I'd
gladly post them on my web site.

Regards,
 John

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
--------------------------------
#
Hi John,

It does work on my Mac. I'm helping Karla to get it running on hers.

Rob
On May 23, 2005, at 11:32 AM, John Fox wrote: