[R-SIG-Mac] trouble loading a package.

Simon Urbanek simon.urbanek at r-project.org
Mon Dec 3 14:30:26 CET 2007


On Dec 3, 2007, at 8:24 AM, David Kaplan wrote:

> Hi all,
> I'm trying to load the package vars for a time series analysis I'm
> conducting.  I'm getting the following message
> The downloaded packages are in
> /var/folders/Iz/Izj5LjjmFQi4z+DYYp7e7E+++TI/-Tmp-//RtmpBKmvco/ 
> downloaded_packages
> Loading required package: MASS
> Loading required package: strucchange
> Loading required package: zoo
> Error: package 'zoo' could not be loaded
> In addition: Warning message:
> In library(pkg, character.only = TRUE, logical.return = TRUE,  
> lib.loc =
> lib.loc) :
>  there is no package called 'zoo'
> When I go to the package manager and refresh, it appears but will not
> allow me to check it off to load.
> Any thoughts?

It tells you that you don't have the required package 'zoo' - try  
installing it, R is often right. (As a tip, it is usually a good idea  
to let R install the dependencies when you install a package).


More information about the R-SIG-Mac mailing list