Skip to content

Error in seq.int(cutpoints[1] + 1, cutpoints[2] - 1) : Stata 14.1, Windows 7 #6

@eivindhammers

Description

@eivindhammers

Running Rstata in R 3.3.2, from RStudio 0.99.902 against Stata 14.1 on Windows 7 I get an error. I've set up Rstata using chooseStataBin(), and set options("RStata.StataVersion" = 14).

I run:

x <- data.frame(a = rnorm(3), b = letters[1:3])
stata( "sum a", data.in = x)

I get:

Error in seq.int(cutpoints[1] + 1, cutpoints[2] - 1) : 
  'from' cannot be NA, NaN or infinite

When switching to stata.echo = FALSE I get no error.

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