Re: [R] r-2.12.0 - Hmisc

2010-11-11 Thread Duncan Murdoch

On 11/11/2010 8:57 AM, R Heberto Ghezzo, Dr wrote:

Hello, I am working on a HP Laptop with R 2.12 just installed, I tried:

R version 2.12.0 (2010-10-15)
Copyright (C) 2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i386-pc-mingw32/i386 (32-bit)
...
library(Hmisc)
Loading required package: survival
Loading required package: splines
Error in library.dynam(lib, package, package.lib) :
   DLL 'cluster' not found: maybe not installed for this architecture?
Error: package/namespace load failed for 'Hmisc'

  library(cluster)
Error: package 'cluster' is not installed for 'arch=i386'

but of course cluster is in the 
R-2.12.0/library/cluster/libs/i386/cluster.dll.
Does the loader of required packages not look into i386?


I would guess that you have another copy of it somewhere else, installed 
for an earlier version of R.  Look at sessionInfo() or .libPaths() to 
find where.


Duncan Murdoch

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] r-2.12.0 - Hmisc

2010-11-11 Thread Uwe Ligges



On 11.11.2010 14:57, R Heberto Ghezzo, Dr wrote:

Hello, I am working on a HP Laptop with R 2.12 just installed, I tried:

R version 2.12.0 (2010-10-15)
Copyright (C) 2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i386-pc-mingw32/i386 (32-bit)
...
library(Hmisc)
Loading required package: survival
Loading required package: splines
Error in library.dynam(lib, package, package.lib) :
   DLL 'cluster' not found: maybe not installed for this architecture?
Error: package/namespace load failed for 'Hmisc'


library(cluster)

Error: package 'cluster' is not installed for 'arch=i386'



but of course cluster is in the 
R-2.12.0/library/cluster/libs/i386/cluster.dll.
Does the loader of required packages not look into i386?



It does, but presumably you have another (outdated, compiled for R  
2.12.x) instance of cluster installed in a library that is (in the 
search path)  in front of the base library you cited above.


Uwe Ligges



Thanks
Heberto Ghezzo
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.