Skip to content

Another "Error in seq.int(cutpoints[1] + 1, cutpoints[2] - 1) : 'from' must be a finite number" problem #28

@kpeter4

Description

@kpeter4

Hi, I know there have been other posts about this issue (namely here #11) but none of these solutions have been working for me. I am getting the following error:

"
Error in seq.int(cutpoints[1] + 1, cutpoints[2] - 1) :
'from' must be a finite number
"

My Stata path and version are set up as follows:

options("RStata.StataPath" = "/Applications/Stata/StataBE.app/Contents/MacOS/StataBE")
options("RStata.StataVersion" = 17)

When I try to run any Stata code, the program starts but immediately crashes, and the .do files says the following:

capture noisily {
/RSTATA: cut me here/
clear
/RSTATA: cut me here/
} /* end capture noisily */
exit, clear STATA

I've tried changing my path to say:

options("RStata.StataPath" = "/Applications/Stata/StataBE.app/Contents/MacOS/stata-be")

Since this seems to have worked for other users, but I get an error that this file or directory doesn't exist. Has anyone figured out any other solutions to this?

Thanks so much for any help you can provide!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions