Mari
Mari

Reputation: 43

Error in loading evd package in R

I'm having problems loading the evd package in R v2.12.0. It worked fine in previous versions.

On the 32bit I get the following message:

Error: package 'evd' is not installed for 'arch=i386'

and with 64bit:

Error: package 'evd' is not installed for 'arch=x64'

There are no updates to the package (last release 2008). I've also tried reinstalling the package from the tar.gz but with no joy.

Any help gratefully received!

Upvotes: 0

Views: 1633

Answers (3)

Richie Cotton
Richie Cotton

Reputation: 121137

R2.12.0 was changed to make it easier to run R on multiple architectures on the same machine (for example, running 32-bit and 64-bit versions). This means that each package needs to be installed for a specific architecture.

The fix is to remove your existing packages (back them up first, natch), then reinstall them.

Upvotes: 1

James
James

Reputation: 66864

I had this problem with many packages when I upgraded to 2.12.2 from 2.11.0. I copied the library from the old installation into the new one. I presume to problem is due to a change in the way packages are structured. To solve it I just reinstalled everything from CRAN:

install.packages(.packages(all.available=T))

Upvotes: 1

Andrie
Andrie

Reputation: 179518

I have just installed and loaded evd from CRAN without any problems. I use R2.13.0 on Windows 7 (64-bit).

To install the package directly from CRAN, use:

install.packages("evd")

Then to load it:

library(evd)

Upvotes: 1

Related Questions