Skip to content
Prev 178195 / 398506 Next

stata ==> R - error messages

Jim Lemon wrote:
Also, notice the function choose.file() which lets browse your way to
the file in the usual Windows style. If used on its own, then it returns
the full path to the file, so that you know what to feed to read.dta().

You can short-circuit by using read.dta(choose.file()), but if you do it
in a script, then you need to do the browsing every time you run the
script.