-
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
Error in seq.int(cutpoints[1] + 1, cutpoints[2] - 1) : 'from' must be a finite number... when using StataMP 15 on OS X #11
Comments
Oh well. I figured it out, I guess. I guess that the problem was in my .Rprofile option setting. Here's my original one that caused the error above " options("RStata.StataPath" = "/Applications/Stata/StataMP.app/Contents/MacOS/StataMP") options("RStata.StataVersion" = 15) I changed it into " options("RStata.StataPath" = "/Applications/Stata/StataMP.app/Contents/MacOS/stata-mp") options("RStata.StataVersion" = 15) The error message disappeared when I changed "StataMP" into "stata-mp". I suppose StataMP call for GUI interface version of Stata while stata-mp terminal version, which resolve the problem. anyways... Sorry for the noise that I made here and thanks a lot for sharing this awesome product. Best, Jinseok |
ok, best, Luca |
Hey, I am using Stata IC 15, and found the same problem. Following @praxis87 comment, I tried,
but it didn't work. Any word of wisdom? Thanks! |
@hbahamonde I think your issue is that you still have StataMP in there Try changing it to:
|
As mentioned in the title, I get the "Error in seq.int(cutpoints[1] + 1, cutpoints[2] - 1) : 'from' must be a finite number" message . I looked up the previous issue and noticed the "set more off, permanently" solution, but didn't work.
It seems that R succeeded in calling Stata and running RStata.do in stata. I looked at the stata log file, which showed something like this...
. do RStata.do
. set more off
.
. capture noisily {
. /RSTATA: cut me here/
. display 35
15
. /RSTATA: cut me here/
. } / end capture noisily */
. exit, clear STATA
I suspect that the error has to do with capturing stata output and reading into R.
Any suggestion would be greatly helpful. Thanks.
The text was updated successfully, but these errors were encountered: