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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to