[R] stata ==> R - error messages

Duncan Murdoch murdoch at stats.uwo.ca
Fri Apr 24 16:31:51 CEST 2009


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




More information about the R-help mailing list