Hi R users,
I still have the problem about plotting. I wanted to put the datasets on
one figure, x-axis represents values B, y-axis represents values C, while
different colors label column A. Each record uses a circle on the figure,
while hollow circles represent DF=1 and solid circles represent D
I see the problem on Windows 10, R-3.4.0, R.exe. It is not compiled for
debugging but gdb gives some information when I attach the debugger after
the 'R..has stopped working' popup appears. I don't know how reliable it
is:
(gdb) info threads
Id Target Id Frame
* 4Thread 11848.0x1
I am not able to reproduce your segfault on a Windows 7 platform either:
##
fn1 <- "d:/DADOS_ENEM_2009.txt"
sessionInfo()
## R version 3.4.1 (2017-06-30)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 7 x64 (build 7601) Service Pack 1
##
## Matrix p
...
and here is a slightly cleaner and more transparent way of doing the
same thing (setdiff() does the matching)
> with(df, setdiff(ID,ID[samples %in% c("B","C") ]))
[1] 3
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
On 15/07/2017 11:33 AM, Anthony Damico wrote:
hi, i realized that the segfault happens on the text file in a new R
session. so, creating the segfault-generating text file requires a
contributed package, but prompting the actual segfault does not --
pretty sure that means this is a base R bug? s
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
##
If I understand correctly, no looping (ave(), for()) or type casting
(as.character()) is needed -- indexing and matching suffice:
> with(df, ID[!ID %in% unique(ID[samples %in% c("B","C") ])])
[1] 3 3
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming a
On 15/07/2017 11:33 AM, Anthony Damico wrote:
hi, i realized that the segfault happens on the text file in a new R
session. so, creating the segfault-generating text file requires a
contributed package, but prompting the actual segfault does not --
pretty sure that means this is a base R bug? s
> On Jul 15, 2017, at 4:01 AM, Andras Farkas via R-help
> wrote:
>
> Dear All,
>
> wonder if you could please assist with the following
>
> df<-data.frame(ID=c(1,1,1,2,2,3,3,4,4,5,5),samples=c("A","B","C","A","C","A","D","C","B","A","C"))
>
> from this data frame the goal is to extract the
hi, i realized that the segfault happens on the text file in a new R
session. so, creating the segfault-generating text file requires a
contributed package, but prompting the actual segfault does not -- pretty
sure that means this is a base R bug? submitted here:
https://bugs.r-project.org/bugzil
Dear All,
wonder if you could please assist with the following
df<-data.frame(ID=c(1,1,1,2,2,3,3,4,4,5,5),samples=c("A","B","C","A","C","A","D","C","B","A","C"))
from this data frame the goal is to extract the value of 3 from the ID column
based on the logic that the ID=3 in the data frame has
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?
the lodown package can be removed from my example.. it i
On 15/07/2017 7:35 AM, Anthony Damico wrote:
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
Segfaults are usually worth reporting as bugs. Try to come up with a
self-contained
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_f
14 matches
Mail list logo