Displaying 13 results from an estimated 13 matches for "microdado".
Did you mean:
microdados
2017 Jul 16
2
readLines without skipNul=TRUE causes crash
...the original example i sent stores the .txt file somewhere inside the
tempdir(), but when i copy it over elsewhere on my machine, the md5sum()
gives the same result. thanks again for looking at this
> tools::md5sum(infile)
C:\\Users\\AnthonyD\\AppData\\Local\\Temp\\RtmpIBy7qt/file_folder/Microdados
ENEM 2009/Dados Enem 2009/DADOS_ENEM_2009.txt
"30beb57419486108e98d42ec7a2f8b19"
> tools::md5sum( "S:/temp/crash.txt" )
S:/temp/crash.txt
"30beb57419486108e98d42ec7a2f8b19"
On Sun, Jul 16, 2017 at 10:10 AM, Jeff Newmiller <...
2017 Jul 16
3
readLines without skipNul=TRUE causes crash
...dbc7072e"
> dat <- readLines( fn1 )
> length( dat )
> ## [1] 4148721
>
>
> On Sat, 15 Jul 2017, Jeff Newmiller wrote:
>
> I am not able to reproduce this on a Linux platform:
>>
>> #######################3
>> fn1 <- "/home/jdnewmil/Downloads/Microdados ENEM 2009/Dados Enem
>> 2009/DADOS_ENEM_2009.txt"
>> sessionInfo()
>> ## R version 3.4.1 (2017-06-30)
>> ## Platform: x86_64-pc-linux-gnu (64-bit)
>> ## Running under: Ubuntu 14.04.5 LTS
>> ##
>> ## Matrix products: default
>> ## BLAS: /usr/lib/...
2017 Jul 15
3
readLines without skipNul=TRUE causes crash
I am not able to reproduce this on a Linux platform:
#######################3
fn1 <- "/home/jdnewmil/Downloads/Microdados ENEM 2009/Dados Enem 2009/DADOS_ENEM_2009.txt"
sessionInfo()
## R version 3.4.1 (2017-06-30)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 14.04.5 LTS
##
## Matrix products: default
## BLAS: /usr/lib/libblas/libblas.so.3.0
## LAPACK: /usr/lib/lapack/liblapack.so.3.0
##
##...
2017 Jul 16
0
readLines without skipNul=TRUE causes crash
...stores the .txt file somewhere inside the
>tempdir(), but when i copy it over elsewhere on my machine, the
>md5sum()
>gives the same result. thanks again for looking at this
>
> > tools::md5sum(infile)
>
>C:\\Users\\AnthonyD\\AppData\\Local\\Temp\\RtmpIBy7qt/file_folder/Microdados
>ENEM 2009/Dados Enem 2009/DADOS_ENEM_2009.txt
> "30beb57419486108e98d42ec7a2f8b19"
>
>
> > tools::md5sum( "S:/temp/crash.txt" )
> S:/temp/crash.txt
> "30beb57419486108e98d42ec7a2f8b19"
>
>
>
>
>On Su...
2017 Jul 16
0
readLines without skipNul=TRUE causes crash
...fn1 )
>> length( dat )
>> ## [1] 4148721
>>
>>
>> On Sat, 15 Jul 2017, Jeff Newmiller wrote:
>>
>> I am not able to reproduce this on a Linux platform:
>>>
>>> #######################3
>>> fn1 <- "/home/jdnewmil/Downloads/Microdados ENEM 2009/Dados Enem
>>> 2009/DADOS_ENEM_2009.txt"
>>> sessionInfo()
>>> ## R version 3.4.1 (2017-06-30)
>>> ## Platform: x86_64-pc-linux-gnu (64-bit)
>>> ## Running under: Ubuntu 14.04.5 LTS
>>> ##
>>> ## Matrix products: default...
2017 Jul 15
0
readLines without skipNul=TRUE causes crash
...M_2009.txt
## "83e61c96092285b60d7bf6b0dbc7072e"
dat <- readLines( fn1 )
length( dat )
## [1] 4148721
On Sat, 15 Jul 2017, Jeff Newmiller wrote:
> I am not able to reproduce this on a Linux platform:
>
> #######################3
> fn1 <- "/home/jdnewmil/Downloads/Microdados ENEM 2009/Dados Enem
> 2009/DADOS_ENEM_2009.txt"
> sessionInfo()
> ## R version 3.4.1 (2017-06-30)
> ## Platform: x86_64-pc-linux-gnu (64-bit)
> ## Running under: Ubuntu 14.04.5 LTS
> ##
> ## Matrix products: default
> ## BLAS: /usr/lib/libblas/libblas.so.3.0
> ##...
2017 Jul 17
1
readLines without skipNul=TRUE causes crash
...e
> >tempdir(), but when i copy it over elsewhere on my machine, the
> >md5sum()
> >gives the same result. thanks again for looking at this
> >
> > > tools::md5sum(infile)
> >
> >C:\\Users\\AnthonyD\\AppData\\Local\\Temp\\RtmpIBy7qt/file_
> folder/Microdados
> >ENEM 2009/Dados Enem 2009/DADOS_ENEM_2009.txt
> > "30beb57419486108e98d42ec7a2f8b19"
> >
> >
> > > tools::md5sum( "S:/temp/crash.txt" )
> > S:/temp/crash.txt
> > "30beb57419486108e98d42ec7a2f8b19&...
2017 Jul 15
0
readLines without skipNul=TRUE causes crash
...;>> file_folder <- file.path( tempdir() , "file_folder" )
>>>
>>> tf <- tempfile()
>>>
>>> # large download! cachaca saves on your local disk if already downloaded
>>> lodown::cachaca( '
>>> http://download.inep.gov.br/microdados/microdados_enem2009.rar' , tf ,
>>> mode
>>> = 'wb' )
>>>
>>> archive::archive_extract( tf , dir = normalizePath( file_folder ) )
>>>
>>> unzipped_files <- list.files( file_folder , recursive = TRUE ,
>>> full.names =
&g...
2017 Jul 15
4
readLines without skipNul=TRUE causes crash
...quot;)
>>
>>
>> file_folder <- file.path( tempdir() , "file_folder" )
>>
>> tf <- tempfile()
>>
>> # large download! cachaca saves on your local disk if already downloaded
>> lodown::cachaca( '
>> http://download.inep.gov.br/microdados/microdados_enem2009.rar' , tf ,
>> mode
>> = 'wb' )
>>
>> archive::archive_extract( tf , dir = normalizePath( file_folder ) )
>>
>> unzipped_files <- list.files( file_folder , recursive = TRUE , full.names
>> =
>> TRUE )
>>
>...
2017 Jul 15
2
readLines without skipNul=TRUE causes crash
...dbc7072e"
> dat <- readLines( fn1 )
> length( dat )
> ## [1] 4148721
>
>
> On Sat, 15 Jul 2017, Jeff Newmiller wrote:
>
> I am not able to reproduce this on a Linux platform:
>>
>> #######################3
>> fn1 <- "/home/jdnewmil/Downloads/Microdados ENEM 2009/Dados Enem
>> 2009/DADOS_ENEM_2009.txt"
>> sessionInfo()
>> ## R version 3.4.1 (2017-06-30)
>> ## Platform: x86_64-pc-linux-gnu (64-bit)
>> ## Running under: Ubuntu 14.04.5 LTS
>> ##
>> ## Matrix products: default
>> ## BLAS: /usr/lib/...
2017 Jul 15
2
readLines without skipNul=TRUE causes crash
...quot;ajdamico/lodown")
devtools::install_github("jimhester/archive")
file_folder <- file.path( tempdir() , "file_folder" )
tf <- tempfile()
# large download! cachaca saves on your local disk if already downloaded
lodown::cachaca( '
http://download.inep.gov.br/microdados/microdados_enem2009.rar' , tf , mode
= 'wb' )
archive::archive_extract( tf , dir = normalizePath( file_folder ) )
unzipped_files <- list.files( file_folder , recursive = TRUE , full.names =
TRUE )
infile <- grep( "DADOS(.*)\\.txt$" , unzipped_files , value = TRUE )...
2017 Jul 17
0
readLines without skipNul=TRUE causes crash
...fn1 )
>> length( dat )
>> ## [1] 4148721
>>
>>
>> On Sat, 15 Jul 2017, Jeff Newmiller wrote:
>>
>> I am not able to reproduce this on a Linux platform:
>>>
>>> #######################3
>>> fn1 <- "/home/jdnewmil/Downloads/Microdados ENEM 2009/Dados Enem
>>> 2009/DADOS_ENEM_2009.txt"
>>> sessionInfo()
>>> ## R version 3.4.1 (2017-06-30)
>>> ## Platform: x86_64-pc-linux-gnu (64-bit)
>>> ## Running under: Ubuntu 14.04.5 LTS
>>> ##
>>> ## Matrix products: default...
2017 Jul 15
0
readLines without skipNul=TRUE causes crash
...tall_github("jimhester/archive")
>
>
> file_folder <- file.path( tempdir() , "file_folder" )
>
> tf <- tempfile()
>
> # large download! cachaca saves on your local disk if already downloaded
> lodown::cachaca( '
> http://download.inep.gov.br/microdados/microdados_enem2009.rar' , tf , mode
> = 'wb' )
>
> archive::archive_extract( tf , dir = normalizePath( file_folder ) )
>
> unzipped_files <- list.files( file_folder , recursive = TRUE , full.names =
> TRUE )
>
> infile <- grep( "DADOS(.*)\\.txt$&quo...