Thursday, July 30, 2009

Installing all Econometrics packages

We all know how much of a pain it is the install a new version of R because it loses all previously downloaded packages. This is where " task views" come into play. You can download and install all econometrics related packages by simply installing the "Econometrics" task view (see related link on the right for a list of the packages).

This is how you do it:
1. install package "ctv"
2. Type in the GUI:
library(ctv)
install.views("Econometrics")


That's it. It will take a little while!

Note for the spatial people: the task view "Econometrics" does not include spdep

2 comments:

  1. I will comment on myself on this one. The R FAQ also has something about copying the packages from the an older version of R to the newer version.

    See FAQ 2.8 at http://www.r-project.org/

    ReplyDelete
  2. You should be able to update the all of the packages at the same time as well using the update.views command.

    ReplyDelete