walcott3 at msu.edu
2012-May-14 18:37 UTC
[Rd] Package does not have a NAMESPACE and should be re-installed
I'm trying to load a package locally from a zip file. When I load the package, I first get this, which looks okay: package ?IBGEPesq? successfully unpacked and MD5 sums checked HOWEVER, when I try to use the package to use the data with library(IBGEPesq) I get this message: package ?IBGEPesq? does not have a NAMESPACE and should be re-installed I've tried re-installing it, and I've tried following suggestions on similar posts, but with no success. Help please.
Duncan Murdoch
2012-May-15 12:23 UTC
[Rd] Package does not have a NAMESPACE and should be re-installed
On 12-05-14 2:37 PM, walcott3 at msu.edu wrote:> I'm trying to load a package locally from a zip file. When I load the > package, I first get this, which looks okay: > > package ?IBGEPesq? successfully unpacked and MD5 sums checked > > HOWEVER, when I try to use the package to use the data with > library(IBGEPesq) > > I get this message: > > package ?IBGEPesq? does not have a NAMESPACE and should be re-installed > > I've tried re-installing it, and I've tried following suggestions on > similar posts, but with no success.The .zip file was likely produced by an earlier version of R. It is essentially a copy of an installed version of the package. You need a new .zip file, produced by the same version of R as you are using. Duncan Murdoch
jthetzel
2012-May-15 13:57 UTC
[Rd] Package does not have a NAMESPACE and should be re-installed
If you do not have access to the package's source code, you can try unzipping the the zip file, adding a NAMESPACE file, and re-zipping the package. It's not ideal, but it should work. This post from Stack Overflow has some more details: http://stackoverflow.com/questions/8012596/error-with-asreml-d-package-in-r-2-14-0/8014357#8014357 . Jeremy Jeremy Hetzel Boston University walcotteric wrote> > I'm trying to load a package locally from a zip file. When I load the > package, I first get this, which looks okay: > > package ?IBGEPesq? successfully unpacked and MD5 sums checked > > HOWEVER, when I try to use the package to use the data with > library(IBGEPesq) > > I get this message: > > package ?IBGEPesq? does not have a NAMESPACE and should be re-installed > > I've tried re-installing it, and I've tried following suggestions on > similar posts, but with no success. > >----- Jeremy T. Hetzel Boston University -- View this message in context: http://r.789695.n4.nabble.com/Package-does-not-have-a-NAMESPACE-and-should-be-re-installed-tp4630059p4630093.html Sent from the R devel mailing list archive at Nabble.com.