-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot connect to Stata (Windows) #32
Comments
Hello! I have the same exact issue and error. I have both Stata17 and Stata16 installed, and tried with both. I am working with R version 4.3.0 and I am on Windows. See below the code I am running (I have also tried the same with version 16 and the corresponding file path)
The error message I am getting is
Any help is appreciated! |
I was eventually able to get it resolved. I was using a group license, and I re-entered the registration information. This is also how I linked it. options("RStata.StataPath" = "\"C:\\Program Files\\Stata17\\StataSE-64\"")
options("RStata.StataVersion" = 17) |
@cchen-ops how do you re-enter the registration information? would that solve the issue of RStata.log? |
I run into the same issue. How do you re-enter the registration information? would that solve the issue of RStata.log? @cchen-ops |
I have tried multiple variations of my Stata path. (i) I've pasted it directly from the file folder (ii) tried it with the executable name and without (iii) tried it with and without .exe., (iv) with and without administrator rights for Rstudio. I keep getting error
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") :
cannot open file 'RStata.log': No such file or directory
Is this a Stata 17 issue? I'm currently using Stata-SE
The text was updated successfully, but these errors were encountered: