search for: ajdamico

Displaying 20 results from an estimated 37 matches for "ajdamico".

2017 Jul 17
1
readLines without skipNul=TRUE causes crash
...government about their > RAR file because the RAR file seems fine (no NUL characters appear in the > text file) when extracted using the file-roller archive tool on Ubuntu. > -- > Sent from my phone. Please excuse my brevity. > > On July 16, 2017 9:37:17 AM PDT, Anthony Damico <ajdamico at gmail.com> > wrote: > >hi, yep, there are two problems -- but i think only the segfault is > >within > >the scope of a base R issue? i need to look closer at the corrupted > >decompression and figure out whether i should talk to the brazilian > >government ag...
2017 Jul 16
2
readLines without skipNul=TRUE causes crash
...ed > with that corrupt file? Can you please confirm the file name and run md5sum > on it and share the result so we can tell when the file problem has been > reproduced? > -- > Sent from my phone. Please excuse my brevity. > > On July 16, 2017 3:21:21 AM PDT, Anthony Damico <ajdamico at gmail.com> > wrote: > >hi, thank you for attempting this. it looks like your unix machine > >unzipped > >the txt file without corruption -- if you copied over the same txt file > >to > >windows 7, i don't think that would reproduce the problem? i think it...
2017 Jul 16
0
readLines without skipNul=TRUE causes crash
...rom harassing the Brazilian government about their RAR file because the RAR file seems fine (no NUL characters appear in the text file) when extracted using the file-roller archive tool on Ubuntu. -- Sent from my phone. Please excuse my brevity. On July 16, 2017 9:37:17 AM PDT, Anthony Damico <ajdamico at gmail.com> wrote: >hi, yep, there are two problems -- but i think only the segfault is >within >the scope of a base R issue? i need to look closer at the corrupted >decompression and figure out whether i should talk to the brazilian >government agency that creates that .rar fi...
2017 Jul 15
0
readLines without skipNul=TRUE causes crash
...m not doing something remarkably stupid. the text file itself is 4GB so cannot upload it to bugzilla, and from the R_AllocStringBugger error in the previous message, i think most or all of it needs to be there to trigger the segfault. thanks! On Sat, Jul 15, 2017 at 10:32 AM, Anthony Damico <ajdamico at gmail.com> wrote: > hi, thanks Dr. Murdoch > > > i'd appreciate if anyone on r-help could help me narrow this down? i > believe the segfault occurs because there's a single line with 4GB and also > embedded nuls, but i am not sure how to artificially construct that...
2017 Jul 15
4
readLines without skipNul=TRUE causes crash
...gt; a subset of it to trigger the segfault. If you can't do that, then likely > the bug is with one of those packages, not with R. > > Duncan Murdoch > > >> >> >> >> >> install.packages( "devtools" ) >> devtools::install_github("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 downloa...
2017 Jul 16
3
readLines without skipNul=TRUE causes crash
...not upload it to bugzilla, and from the R_AllocStringBugger error in >>> the >>> previous message, i think most or all of it needs to be there to trigger >>> the segfault. thanks! >>> >>> >>> On Sat, Jul 15, 2017 at 10:32 AM, Anthony Damico <ajdamico at gmail.com> >>> wrote: >>> >>> hi, thanks Dr. Murdoch >>>> >>>> >>>> i'd appreciate if anyone on r-help could help me narrow this down? i >>>> believe the segfault occurs because there's a single line with 4GB...
2017 Jul 16
0
readLines without skipNul=TRUE causes crash
...d one that segfaults when presented with that corrupt file? Can you please confirm the file name and run md5sum on it and share the result so we can tell when the file problem has been reproduced? -- Sent from my phone. Please excuse my brevity. On July 16, 2017 3:21:21 AM PDT, Anthony Damico <ajdamico at gmail.com> wrote: >hi, thank you for attempting this. it looks like your unix machine >unzipped >the txt file without corruption -- if you copied over the same txt file >to >windows 7, i don't think that would reproduce the problem? i think it >needs to be the corrupted...
2017 Jul 15
2
readLines without skipNul=TRUE causes crash
hello, the last line of the code below causes a segfault for me on 3.4.1. i think i should submit to https://bugs.r-project.org/ unless others have advice? thanks install.packages( "devtools" ) devtools::install_github("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/mi...
2017 Jul 15
3
readLines without skipNul=TRUE causes crash
...ably stupid. the text file itself is 4GB so > cannot upload it to bugzilla, and from the R_AllocStringBugger error in the > previous message, i think most or all of it needs to be there to trigger > the segfault. thanks! > > > On Sat, Jul 15, 2017 at 10:32 AM, Anthony Damico <ajdamico at gmail.com> wrote: > >> hi, thanks Dr. Murdoch >> >> >> i'd appreciate if anyone on r-help could help me narrow this down? i >> believe the segfault occurs because there's a single line with 4GB and also >> embedded nuls, but i am not sure how to...
2017 Jul 15
0
readLines without skipNul=TRUE causes crash
...e itself is 4GB so >> cannot upload it to bugzilla, and from the R_AllocStringBugger error in the >> previous message, i think most or all of it needs to be there to trigger >> the segfault. thanks! >> >> >> On Sat, Jul 15, 2017 at 10:32 AM, Anthony Damico <ajdamico at gmail.com> >> wrote: >> >>> hi, thanks Dr. Murdoch >>> >>> >>> i'd appreciate if anyone on r-help could help me narrow this down? i >>> believe the segfault occurs because there's a single line with 4GB and >>> al...
2017 Jul 15
0
readLines without skipNul=TRUE causes crash
...ading the file you downloaded, or enough of a subset of it to trigger the segfault. If you can't do that, then likely the bug is with one of those packages, not with R. Duncan Murdoch > > > > > > install.packages( "devtools" ) > devtools::install_github("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( '...
2017 Jul 15
2
readLines without skipNul=TRUE causes crash
...not upload it to bugzilla, and from the R_AllocStringBugger error in >>> the >>> previous message, i think most or all of it needs to be there to trigger >>> the segfault. thanks! >>> >>> >>> On Sat, Jul 15, 2017 at 10:32 AM, Anthony Damico <ajdamico at gmail.com> >>> wrote: >>> >>> hi, thanks Dr. Murdoch >>>> >>>> >>>> i'd appreciate if anyone on r-help could help me narrow this down? i >>>> believe the segfault occurs because there's a single line with 4GB...
2017 Jul 17
0
readLines without skipNul=TRUE causes crash
...a, and from the R_AllocStringBugger error in >>>> the >>>> previous message, i think most or all of it needs to be there to trigger >>>> the segfault. thanks! >>>> >>>> >>>> On Sat, Jul 15, 2017 at 10:32 AM, Anthony Damico <ajdamico at gmail.com> >>>> wrote: >>>> >>>> hi, thanks Dr. Murdoch >>>>> >>>>> >>>>> i'd appreciate if anyone on r-help could help me narrow this down? i >>>>> believe the segfault occurs because there...
2012 Jun 20
4
binary operators that never return missing values
Hi, I work with data sets with lots of missing values. We often need to conduct logical tests on numeric vectors containing missing values. I've searched around for material and conversations on this topic, but I'm having a hard time finding anything. Has anyone written a package that deals with this sort of thing? All I want are a group of functions like the ones I've posted
2010 Nov 15
5
How to Read a Large CSV into a Database with R
Hi, I'm working in R 2.11.1 x64 on Windows x86_64-pc-mingw32. I'm trying to insert a very large CSV file into a SQLite database. I'm pretty new to working with databases in R, so I apologize if I'm overlooking something obvious here. I'm trying to work with the American Community Survey data, which is two 1.3GB csv files. I have enough RAM to read one of them into memory,
2017 Jul 09
0
Help with ftable.svyby
try resetting your factor levels and re-run? q50 <- update( q50 , INCOME = factor( INCOME ) , AGECL = factor( AGECL ) , RACECL = factor( RACECL ) ) On Sun, Jul 9, 2017 at 2:59 PM, Orsola Costantini via R-help < r-help at r-project.org> wrote: > Hi all, > > When I try the following with pkg Survey it returns the error below: > > ftable(svyby(~INCOME, ~AGECL+RACECL,
2016 Apr 04
0
Using final sample weight in survey package
hi, probably not.. if your survey dataset has a complex design (like clusters/strata), you need to include them in the `svydesign` call. coercing an incorrect survey design into a replicate-weighted design will not fix the problem of failing to account for the sampling strategy On Mon, Apr 4, 2016 at 12:01 AM, Jos? Fernando Zea <jfzeac at gmail.com> wrote: > I have the final sample
2010 Feb 22
2
Re-assigning variables stored as character strings in another variable
Is there any way to get the last line of this code to double the contents of a and b without naming them directly? #create variables a and b a<-5 b<-10 #store variable names a and b in variables c and d c<-"a" d<-"b" e<-c(c,d) #loop through both variables for (i in e){ #print the numbers five and ten using only the variables c and d #this line works fine
2017 Jul 09
2
Help with ftable.svyby
Hi all, When I try the following with pkg Survey it returns the error below: ftable(svyby(~INCOME, ~AGECL+RACECL, svymean, design=q50), rownames=list(AGECL=c("<35", "35-44", "45-54", "55-64", "65-74", ">=75"), RACECL=c("white non hispanic", "non white or
2016 Apr 04
2
Using final sample weight in survey package
I have the final sample weight (expansion factor) from a socieconomic survey. I don't know the exact design used in the study ( (probably is a stratified two-stage design). To illustrate my problem I will use the next dataset which have a sample weight (but the design is not specified) and incorporate the design with svydesign and create some bootstrap replicates in order to be able to