Matt,
what R version and operating system do you use? It loads
semlessly on my Windows machine with R 2.4.1.
Holger
Matt Chingos wrote:
Same error message:
load("C:/Documents and Settings/Matt/My
Documents/Courses/Gov
2001/data_ps1.RData")
ls()
[1] "data"
data
Error in data.frame(y =
c("-0.1328318193", " 1.7342160480"), x1 = c(" > >>
3.9920993", :
row names contain missing values
In addition: Warning message:
corrupt data frame: columns will be truncated or padded with NAs in:
format.data.frame(x, digits = digits, na.encode = FALSE)
Holger Lutz Kern wrote:
> Matt,
>
> please try saving it to your working directory and opening it
> from there using load().
>
> Holger
>
>
>
> Matt Chingos wrote:
>> Is anyone else getting the following error message when they try to load
>> the data for the homework? If so, do you know what it means?
>>
>> >
>>
load(url("http://isites.harvard.edu/fs/docs/icb.topic137586.files/Prob…
>>
>>
data
>> Error in data.frame(y = c("-0.1328318193",
" 1.7342160480"), x1 = c("
>> 3.9920993", :
>> row names contain missing values
>> In addition: Warning message:
>> corrupt data frame: columns will be truncated or padded with NAs in:
>> format.data.frame(x, digits = digits, na.encode = FALSE)
>>
>>
>>
>> Holger Lutz Kern wrote:
>>> Hi all,
>>>
>>> we have slightly changed the last part of the problem set to make
>>> it a little bit easier for those of you who haven't used R
>>> before. The question now reads:
>>>
>>> "Randomly draw 100 datasets with 50 observations each from the
>>> dataset in part (b)
>>> with replacement (e.g. allowing the same row to be drawn multiple
>>> times for a single
>>> dataset) using sample(). Estimate the same regression as in (b)
>>> for each of the 100
>>> datasets using lm() and either a for() loop or the apply()
>>> function. Report the
>>> means and standard deviations of the beta estimates over all 100
>>> datasets in the form
>>> of a nicely formatted table."
>>>
>>> The problem set on the website has also been updated (but you
>>> might have to hit the reload button in your browser to get to see
>>> the new version).
>>>
>>>
>>> Holger
>>>
>>>
>> _______________________________________________
>> gov2001-l mailing list
>> gov2001-l at
lists.fas.harvard.edu
>>
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l