[R] failure to access packages

Graves, Gregory ggraves at sfwmd.gov
Wed Sep 22 17:44:57 CEST 2010


I am helping a fellow worker get R up and running, and he has run into a peculiar problem I've not encountered in previous install situations.

>From the Rconsole menu choice, he can set CRAN mirror to USA CA2, but when he selects "load packages" a very truncated list of packages appears (many packages don't appear at all).

If he issues "chooseCRANmirror()" from the > prompt, he can still select USA CA2, but still can't see all the packages that are there.

If he issues 

local({pkg <- select.list(sort(.packages(all.available = TRUE)),graphics=TRUE)
+ if(nchar(pkg)) library(pkg, character.only=TRUE)})

he gets this error:

Error in select.list(sort(.packages(all.available = TRIE)), graphics = TRUE :
   Unused argument(s)  (graphics = TRUE)

When I issue same command from > prompt, I get the expected list of packages.

Has anyone encountered this problem?  I've searched CRAN help, but got nowhere.



Gregory A. Graves, Lead Scientist
Everglades REstoration COoordination and VERification (RECOVER) 
Restoration Sciences Department
South Florida Water Management District
Phones:  DESK: 561 / 682 - 2429 
                   CELL:  561 / 719 - 8157



More information about the R-help mailing list