[R-SIG-Mac] FW: Rcmdr 1.7.2 on Mac

John Fox jfox at mcmaster.ca
Fri Nov 11 00:38:54 CET 2011


Dear Simon,

I was hoping that you'd pick this up -- thanks.

Here's an entire session, including installing the package, trying to load it (showing the error), and the session info. As I said, when I install from source (also from CRAN), there's no problem.

Best,
 John

------------ snip --------------


R version 2.14.0 (2011-10-31)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

[R.app GUI 1.42 (5933) x86_64-apple-darwin9.8.0]

[History restored from /Users/jfox/.Rapp.history]

> install.packages("Rcmdr")
trying URL 'http://probability.ca/cran/bin/macosx/leopard/contrib/2.14/Rcmdr_1.7-2.tgz'
Content type 'application/x-gzip' length 2989140 bytes (2.9 Mb)
opened URL
==================================================
downloaded 2.9 Mb


The downloaded packages are in
	/var/folders/lg/jw1b4glj3ms49rfy9744jvdh0000gn/T//RtmpMvycwZ/downloaded_packages

> library(Rcmdr)
Loading required package: tcltk
Loading Tcl/Tk interface ... done
Loading required package: car
Loading required package: MASS
Loading required package: nnet
Loading required package: survival
Loading required package: splines
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/Library/Frameworks/R.framework/Versions/2.14/Resources/library/Rcmdr/libs/x86_64/Rcmdr.so':
  dlopen(/Library/Frameworks/R.framework/Versions/2.14/Resources/library/Rcmdr/libs/x86_64/Rcmdr.so, 6): Library not loaded: @rpath/R.framework/Versions/2.14/Resources/lib/libR.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/2.14/Resources/library/Rcmdr/libs/x86_64/Rcmdr.so
  Reason: image not found
Error: package/namespace load failed for ‘Rcmdr’

> sessionInfo()
R version 2.14.0 (2011-10-31)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/en_CA.UTF-8/en_CA.UTF-8

attached base packages:
[1] splines   tcltk     stats     graphics  grDevices utils     datasets  methods  
[9] base     

other attached packages:
[1] car_2.0-11       survival_2.36-10 nnet_7.3-1       MASS_7.3-16     

loaded via a namespace (and not attached):
[1] tools_2.14.0
> 


> -----Original Message-----
> From: Simon Urbanek [mailto:simon.urbanek at r-project.org] 
> Sent: November-10-11 6:29 PM
> To: John Fox
> Cc: 'Kristian Hovde Liland'; r-sig-mac at r-project.org
> Subject: Re: [R-SIG-Mac] Rcmdr 1.7.2 on Mac
> 
> John,
> 
> can you, please, be more specific? Rcmds from CRAN works just fine for me --
> can you at least include the exact error and sessionInfo()?
> 
> Thanks,
> Simon
> 
> On Nov 10, 2011, at 5:24 PM, John Fox wrote:
> 
> > Dear Kristian,
> > 
> > Odd as it seems, I think that the problem is with the CRAN build of 
> > the Rcmdr package. When I tried installing the Rcmdr package version 
> > 1.7-2 on my own Mac (OS X Lion, R 2.14.0) from CRAN via 
> > install.packages("Rcmdr") I got the same error as your students, but 
> > when I installed from CRAN sources, install.packages("Rcmdr",
> type="source"), the package worked just fine.
> > (There is one .c file in the Rcmdr sources.)
> > 
> > I'm not sure what's going on and thus have copied this response to the 
> > R Mac email list for comments.
> > 
> > Best,
> > John
> > 
> > --------------------------------
> > John Fox
> > Senator William McMaster
> >  Professor of Social Statistics
> > Department of Sociology
> > McMaster University
> > Hamilton, Ontario, Canada
> > http://socserv.mcmaster.ca/jfox
> > 
> > 
> > 
> > 
> >> -----Original Message-----
> >> From: Kristian Hovde Liland [mailto:kristian.liland at umb.no]
> >> Sent: November-10-11 4:39 PM
> >> To: 'jfox at mcmaster.ca'
> >> Subject: Rcmdr 1.7.2 on Mac
> >> 
> >> Dear John Fox.
> >> 
> >> 
> >> 
> >> Thank you again for your feedback after my talk at useR! on teaching 
> >> statistics to natural science students.
> >> 
> >> 
> >> 
> >> I am getting feedback from several Mac users that are installing 
> >> Rcmdr
> >> 1.7.2 on a fresh install of R 2.14.0 that the R Commander will not 
> >> launch. There is an error concerning a missing file named Rcmdr.so 
> >> both for 32-bit and 64-bit installations.
> >> 
> >> 
> >> 
> >> Do you have any tips? Or do you know where I can get hold of the Mac 
> >> version of Rcmdr 1.7.0 as a temporary fix?
> >> 
> >> 
> >> 
> >> Best regards,
> >> 
> >> Kristian Hovde Liland
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> > 
> > _______________________________________________
> > R-SIG-Mac mailing list
> > R-SIG-Mac at r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> > 
> > 
> 

------------------------------------------------
John Fox
Sen. William McMaster Prof. of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/



More information about the R-SIG-Mac mailing list