[R] arules package intsallation

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Dec 7 11:45:15 CET 2011

On Wed, 7 Dec 2011, Thomas Chesney wrote:

> I'm using R version 2.13.0 (2011-04-13) on Mac OS X and I get the following error message with library(arules):

Well somehow you used a version of arules built for R 2.14.0.  Try the 
build for R 2.13.x.

And please note that R-sig-mac is the list for Mac-specific questions 
(which this is: only on Mac OS X are package build locked to a 
specific version of R).

> Loading required package: Matrix
> Loading required package: lattice
> Attaching package: 'Matrix'
> The following object(s) are masked from 'package:base':
>    det
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>  unable to load shared object '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/arules/libs/i386/arules.so':
>  dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/arules/libs/i386/arules.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/2.14/Resources/lib/libR.dylib
>  Referenced from: /Library/Frameworks/R.framework/Versions/2.13/Resources/library/arules/libs/i386/arules.so
>  Reason: image not found
> In addition: Warning message:
> package 'arules' was built under R version 2.14.0 
> Error: package/namespace load failed for 'arules'
> The arules CRAN page says: Depends: R (≥ 2.11.0), stats, methods, 
> Matrix (≥ 0.999375-38), all of which I have - anyone know what the 
> problem is? I'm really relunctant to update R as its Package 
> Installer is blocked somehow by our Firewall and updating all the 
> packages I use is a major hassle.
> Thank you (as always!)
> Thomas
> PS on a related note, are the package installer port settings 
> available somewhere and I'll send them to IT, ask them to unblock 
> it?

What exactly do you mean by 'package installer'?  There is not really 
any such thing.  Inside R, install.packages() just uses http, and 
R.app's menus (if that is what you mean: R.app is not R, BTW) just use 
install.packages().  I think you need to talk to your IT people and 
get them to solve their problem (and it is their problem, not ours).

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list