[R] Setting default path to library

2010-11-29 Thread Steve_Friedman

Hello

I recently upgraded from 2.11.1 to 2.12.0 on a windows machine. When I
launch R  via TINN - R,(2.3.7.0)  most things appear correct. The exception
is the path to the library.

I store all of the packages in C:\Program_Files \R\R-2.12.0\library

Last week when I upgraded I rec'd an error:
Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths(  :
 there is no package called cluster

Well the cluster package was there, but I installed a new version from a
local *.zip file to be sure, and things worked fine.

This morning, when I launched R again, I rec'd the same error message, also
indicating that the package Hmisc could not be loaded.  It too is in the
library folder.

I think the system is searching for some packages in
C:\\Program_Files\R\R-2.12.0\bin\i386

Why would it do that and what is the appropriate commands to tell R where
to look for installed packages?
I've search the archive and have not found a clear understandable answer.

As always, Thanks for the assistance

Steve




Steve Friedman Ph. D.
Ecologist  / Spatial Statistical Analyst
Everglades and Dry Tortugas National Park
950 N Krome Ave (3rd Floor)
Homestead, Florida 33034

steve_fried...@nps.gov
Office (305) 224 - 4282
Fax (305) 224 - 4147

__
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] Setting default path to library

2010-11-29 Thread Henrique Dallazuanna
Take a look in .libPaths()

On Mon, Nov 29, 2010 at 1:32 PM, steve_fried...@nps.gov wrote:


 Hello

 I recently upgraded from 2.11.1 to 2.12.0 on a windows machine. When I
 launch R  via TINN - R,(2.3.7.0)  most things appear correct. The exception
 is the path to the library.

 I store all of the packages in C:\Program_Files \R\R-2.12.0\library

 Last week when I upgraded I rec'd an error:
 Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths(  :
  there is no package called cluster

 Well the cluster package was there, but I installed a new version from a
 local *.zip file to be sure, and things worked fine.

 This morning, when I launched R again, I rec'd the same error message, also
 indicating that the package Hmisc could not be loaded.  It too is in the
 library folder.

 I think the system is searching for some packages in
 C:\\Program_Files\R\R-2.12.0\bin\i386

 Why would it do that and what is the appropriate commands to tell R where
 to look for installed packages?
 I've search the archive and have not found a clear understandable answer.

 As always, Thanks for the assistance

 Steve




 Steve Friedman Ph. D.
 Ecologist  / Spatial Statistical Analyst
 Everglades and Dry Tortugas National Park
 950 N Krome Ave (3rd Floor)
 Homestead, Florida 33034

 steve_fried...@nps.gov
 Office (305) 224 - 4282
 Fax (305) 224 - 4147

 __
 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.




-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40 S 49° 16' 22 O

[[alternative HTML version deleted]]

__
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.