Asking it to install dependencies helped a bit, but then I get this
The downloaded packages are in
/var/folders/Iz/Izj5LjjmFQi4z+DYYp7e7E+++TI/-Tmp-//RtmpHcPbPa/
downloaded_packages
Loading required package: MASS
Loading required package: strucchange
Loading required package: zoo
Loading required package: sandwich
Error: package 'sandwich' 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 'sandwich'
Loading required package: strucchange
Loading required package: sandwich
Error: package 'sandwich' 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 'sandwich'
David
===============================================================
David Kaplan, Ph.D.
Professor
Department of Educational Psychology
University of Wisconsin - Madison
Educational Sciences, Room, 1061
1025 W. Johnson Street
Madison, WI 53706
email: dkaplan at education.wisc.edu
homepage:
http://www.education.wisc.edu/edpsych/facstaff/kaplan/kaplan.htm
Phone: 608-262-0836
===============================================================
Simon Urbanek wrote:
David,
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).
Cheers,
Simon