Skip to content
Back to formatted view

Raw Message

Message-ID: <49F1CD57.1010106@stats.uwo.ca>
Date: 2009-04-24T14:31:51Z
From: Duncan Murdoch
Subject: stata ==> R - error messages
In-Reply-To: <20090424141835.GE374@sqlserver>

On 4/24/2009 10:18 AM, Hans Ekbrand wrote:
> On Fri, Apr 24, 2009 at 01:50:04PM +0200, Rob Bakker wrote:
>> Dear Peter,
>> Also thank you for your quick reply. I did the following with no positive
>> result:
>> 
>> library(foreign)
>> 
>> read.dta(choose.file(C:\Rklein))
> 
> a) quote the filename
> b) include the suffix
> 
> rklein <- read.dta("C:\Rklein.dta")

c) use forward slashes, or double backslashes:

rklein <- read.dta("C:/Rklein.dta")

Duncan Murdoch