abrir arquivo muito grande sem ter como alterar a fonte

Olá! Estou com um arquivo muito grande, do stata, pra ser aberto... A versão do stata que tenho está abaixo da versão utilizada pra gerar o arquivo com o qual preciso trabalhar, de modo que não posso manipulá-lo : dividir, salvar em txt.... nada disso... E ele é muito grande.... tentei importar no R e deu estouro de memória.... ------- # 1st trying .................27/11/2018 # ----- library(rio) df <- import(file = "parte1.dta") #--------------------- # Error: memory exhausted (limit reached?) # Time difference of 10.22388 mins # # # # 2nd trying .................27/11/2018 # ----- library(haven) df2 <- read_dta(" parte1.dta", encoding = NULL) #--------------------- # Error: memory exhausted (limit reached?) # In addition: Warning message: # In doTryCatch(return(expr), name, parentenv, handler) : # restarting interrupted promise evaluation # # Time difference of 9.341693 mins # # # # 3rd trying .................27/11/2018 # ----- # library(rio) # convert("parte1.dta", "parte1.txt") #--------------------- # Error: memory exhausted (limit reached?) # Time difference of 10.64566 mins Alguem tem alguma sugestao pra eu conseguir abrir aos pouquinhos???? Pergunto isso pq, se fosse txt acho que dava, com os comandos a seguir: ------- dados <- as.data.frame(scan("parte1.dta", skip=1,what=as.list(rep("\t",7)))) # não leu, mas parece que são 462 variáveis ===> 462 obs. of 7 variables heade_ <- unlist(scan("parte1.dta", nlines=1,what=as.list(rep("\t",7)))) ------------------------ Cinara Santos whatsApp (32) 9.8416-0441
participantes (1)
-
Cinara Santos