You can load the data using the command "load("presidential.RData")" 
This creates an object called "data" - it's part of the RData file - with all of variables and data in one matrix.

Try this:

load("presidential.RData")

data



Max


On Tue, Feb 22, 2011 at 5:02 PM, Rachel Crouch <rcrouch@jd12.law.harvard.edu> wrote:

Hi class,

 

Is anyone else having trouble loading the “presidential” dataset for Problem Set 4? 

 

I thought I loaded it correctly, but then when I try to do anything with the data, R doesn’t seem to find it.  For example, if I type in “presidential”, it gives me “Error: object 'presidential' not found”.  If I type in ls(), presidential doesn’t show up as an object in the workspace.

 

Is there something wrong with the file or am I doing something wrong?

 

Thanks!

 

Rachel


_______________________________________________
gov2001-l mailing list
gov2001-l@lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l