Skip to content

RStudio crash on importing stata file #600

Closed

Description

There is a GitHub repo here that replicates the problem, but this code will do so as well.
On reading in the Stata file, RStudio crashes immediately. I note that this happened in another issue

library(haven)
out<-read_dta(file="https://github.com/sjkiss/ces19/raw/main/2019%20Canadian%20Election%20Study%20-%20Online%20Survey%20v1.0.dta")

Results from SessionInfo()

R version 4.0.4 (2021-02-15)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/en_CA.UTF-8/en_CA.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] haven_2.4.1.9000

loaded via a namespace (and not attached):
 [1] compiler_4.0.4  ellipsis_0.3.2  magrittr_2.0.1  hms_1.0.0       tools_4.0.4     pillar_1.6.0   
 [7] tibble_3.1.1    crayon_1.4.1    utf8_1.2.1      fansi_0.4.2     vctrs_0.3.8     forcats_0.5.1  
[13] lifecycle_1.0.0 pkgconfig_2.0.3 rlang_0.4.11 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions