I decided to update my packages and then had a problem with loading the
Matrix package
http://cran.at.r-project.org/bin/windows/contrib/2.4/Matrix_0.9975-9.zip
This is what happened when I tried to load it in:
> library("Matrix")
Error in importIntoEnv(impenv, impnames, ns, impvars) :
object 'Logic' is not exported by 'namespace:methods'
Error: package/namespace load failed for 'Matrix'
>
I hadn't had this probldem before; any thoughts?
Andrew
--
Andrew Gelman
Professor, Department of Statistics
Professor, Department of Political Science
Columbia University, New York
gelman at stat.columbia.edu
www.stat.columbia.edu/~gelman
Office hours spring 2006:
to be announced
Statistics department office:
Social Work Bldg (Amsterdam Ave at 122 St), Room 1016
212-851-2142
Political Science department office:
International Affairs Bldg (Amsterdam Ave at 118 St), Room 731
212-854-7075
Mailing address:
1255 Amsterdam Ave, Room 1016
Columbia University
New York, NY 10027-5904
212-851-2142
(fax) 212-851-2164
On 2/11/07, Andrew Gelman <gelman at stat.columbia.edu> wrote:> I decided to update my packages and then had a problem with loading the > Matrix package > http://cran.at.r-project.org/bin/windows/contrib/2.4/Matrix_0.9975-9.zip > This is what happened when I tried to load it in: > > > library("Matrix") > Error in importIntoEnv(impenv, impnames, ns, impvars) : > object 'Logic' is not exported by 'namespace:methods' > Error: package/namespace load failed for 'Matrix' > > > > I hadn't had this probldem before; any thoughts? > > AndrewAnd the version of R that you are using is? Version 0.9975-9 of the Matrix package depends on R >= 2.4.1 for exactly this reason.
I once had a problem upgrading to a newer R version, problem which had to do with Env-ironment. The root cause was a .Renviron file in my home directory pointing to an older R version. Removing that file helped. That was on linux. -Halim On 2/11/07, Andrew Gelman <gelman@stat.columbia.edu> wrote:> > I decided to update my packages and then had a problem with loading the > Matrix package > http://cran.at.r-project.org/bin/windows/contrib/2.4/Matrix_0.9975-9.zip > This is what happened when I tried to load it in: > > > library("Matrix") > Error in importIntoEnv(impenv, impnames, ns, impvars) : > object 'Logic' is not exported by 'namespace:methods' > Error: package/namespace load failed for 'Matrix' > > > > I hadn't had this probldem before; any thoughts? > > Andrew > > -- > Andrew Gelman > Professor, Department of Statistics > Professor, Department of Political Science > Columbia University, New York > gelman@stat.columbia.edu > www.stat.columbia.edu/~gelman > > Office hours spring 2006: > to be announced > > Statistics department office: > Social Work Bldg (Amsterdam Ave at 122 St), Room 1016 > 212-851-2142 > Political Science department office: > International Affairs Bldg (Amsterdam Ave at 118 St), Room 731 > 212-854-7075 > > Mailing address: > 1255 Amsterdam Ave, Room 1016 > Columbia University > New York, NY 10027-5904 > 212-851-2142 > (fax) 212-851-2164 > > ______________________________________________ > R-help@stat.math.ethz.ch 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. >[[alternative HTML version deleted]]