I recently lost the partitions on my hard drive (second time in 6 months) so I had to have our IT folks image all my files over to a new drive. I completely reinstalled R (now 2.15.2) and all my libraries to my computer (Dell Latitude running Windows 7). A few of my previous workspaces (created with R 2.14.1) can't be restored, reporting an error similar to the one I get when I try to load "quantreg" package which requires "SparseM" (see below). So, not only will "quantreg" not load but some of my workspaces can't be restored when being loaded (see below). Not sure about what this is about. I asked Roger Koenker, the package maintainer, but he is on travel and won't have chance to seriously investigate this for awhile. So I thought I would put it out to the R community and see if anyone has any suggestions about why this conflict might be occurring.> library(quantreg)Loading required package: SparseM Error : object ?kronecker? is not exported by 'namespace:methods' Error: package ?SparseM? could not be loaded or Error: object ?kronecker? is not exported by 'namespace:methods' During startup - Warning message: unable to restore saved data in C:\CADESTUFF\DATA\BarryNoon\.RData>Brian Brian S. Cade, PhD U. S. Geological Survey Fort Collins Science Center 2150 Centre Ave., Bldg. C Fort Collins, CO 80526-8818 email: brian_cade@usgs.gov tel: 970 226-9326 [[alternative HTML version deleted]]
Duncan Murdoch
2012-Nov-30 23:31 UTC
[R] quantreg installation and conflicts with R 2.15.2
On 12-11-30 3:16 PM, Brian S Cade wrote:> I recently lost the partitions on my hard drive (second time in 6 months) > so I had to have our IT folks image all my files over to a new drive. I > completely reinstalled R (now 2.15.2) and all my libraries to my computer > (Dell Latitude running Windows 7). A few of my previous workspaces > (created with R 2.14.1) can't be restored, reporting an error similar to > the one I get when I try to load "quantreg" package which requires > "SparseM" (see below). So, not only will "quantreg" not load but some of > my workspaces can't be restored when being loaded (see below). Not sure > about what this is about. I asked Roger Koenker, the package maintainer, > but he is on travel and won't have chance to seriously investigate this > for awhile. So I thought I would put it out to the R community and see if > anyone has any suggestions about why this conflict might be occurring.The problem is that some object in your workspace requires a package that you don't have installed. From the message, it looks like SparseM is needed: do you have that? If it's not that, it's probably some other package that exports a kronecker method, but I can't tell you what. If you can identify exactly what solves this, and it isn't just installing SparseM, then please post details. Duncan Murdoch> >> library(quantreg) > Loading required package: SparseM > Error : object ?kronecker? is not exported by 'namespace:methods' > Error: package ?SparseM? could not be loaded > > or > > Error: object ?kronecker? is not exported by 'namespace:methods' > During startup - Warning message: > unable to restore saved data in C:\CADESTUFF\DATA\BarryNoon\.RData >> > > Brian > > Brian S. Cade, PhD > > U. S. Geological Survey > Fort Collins Science Center > 2150 Centre Ave., Bldg. C > Fort Collins, CO 80526-8818 > > email: brian_cade at usgs.gov > tel: 970 226-9326 > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. >