you can install multiple versions of R. tho R code is typically not backwards
compatible.
Gary
-----Original Message-----
From: Holger Lutz Kern <hlk23 at cornell.edu>
Date: Saturday, Feb 10, 2007 12:16 pm
Subject: Re: [gov2001-l] IMPORTANT: CHANGE of ps 1
To: gov2001-l at lists.fas.harvard.eduReply-To: gov2001-l at
I *think* you can have several R versions installed at the same
time. I don't use WinEdt together with R, so I can't make any
predictions about what will happen. Maybe someone else knows?
Holger
Matt Chingos wrote:
Should I uninstall the old version first? Also, is this going to screw
up how WinEdt and R work together on my computer?
Justin Ryan Grimmer wrote:
> Matt,
>
> Please go to
>
>
http://www.r-project.org/
>
> and download R.2.4.1, this should eliminate the problem,
>
> Justin
>
> On Sat, 10 Feb 2007, Matt Chingos wrote:
>
>> Windows, with version 2.3.1
>>
>> Holger Lutz Kern wrote:
>>> 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
>>>