Skip to content
Back to formatted view

Raw Message

Message-ID: <49F1A03A.30307@bitwrit.com.au>
Date: 2009-04-24T11:19:22Z
From: Jim Lemon
Subject: stata ==> R - error messages
In-Reply-To: <c3b0aeea0904240217w6d551747jd6625a9413ad41d4@mail.gmail.com>

Rob Bakker wrote:
> Dear Sirs,
> I am just starting with R and I think it is a great system. Now, I want to
> import Stata datasets (.dta) with read.dta, but receive errormessages like:
>
> Error in grep("^(http|ftp|https)://", file) : object "Rklein" not found
>
> Error in read.dta("Rklein") :
>   unable to open file: 'No such file or directory'
> this happens when I use ""
>
> What is the problem and how can I solve it?
>   
Hi Rob,
Looks like you're on Windows, and you have probably fallen victim to the 
Microsoft  (and Apple) "hide-everything-you-can-from-them" file manager 
defaults. Your file "Rklein" probably has an extension on it (maybe 
.dta?) and if you can find that by turning off extension hiding, you 
will probably see the solution immediately.

Jim