I want to open a stata file in R, via haven::read_dta()
. I'have created my script a few weeks ago and it all worked well until now: suddenly, when I try loading the data my session crashes ("R Session Aborted"). A colleague of mine is having the same problem.
I' ve tried many things: choosing the correct working directory via setwd()
, choosing the file via choose.files()
, entering the filepath with "/", "//" and "\" but nothing seems to work.
They way it worked until now was:
install.packages("haven")
library(haven)
my_data <- read_dta("my_path_structure\\file_name.dta")
Anyone having the same problem?
EDIT: Problem should be fixed soon. For more information see here.