I spent a few minutes installing R on my computer in anticipation of diving into Data Camp lessons and trying to run the HMDA example from Varian’s work. Here are the steps that I followed:
- Download and Install R – I installed version 3.0.3
- Start up R – If you don’t know it’s “Start -> All Programs -> R -> R i386 3.0.3”
- Install the party & randomForest package – Inside R select “Packages -> Install package(s)…” You will need to select a CRAN mirror. I selected PA(1) because it is the closest to me.
- Install the Ecdat package – I had to do this one manually “Packages -> Install package(s) from local zip files…”
I also updated all the packages using “Packages -> Update Packages…” I had previously downloaded the data. Again I want to reiterate that making your “source code” available when doing statistical modeling is a wonderful practice.