[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: jupyter notebook with R kernel
01.10.2021 11:44:29 Chavdar Ivanov <ci4ic4%gmail.com@localhost>:
> *** caught segfault ***
> address 0x2a8, cause 'memory not mapped'
> 1: toupper(nms)
> 2: is.factor(x)
> 3: gsub(".", "_", toupper(nms), fixed = TRUE)
This looks like one of my favorite bugs: calling toupper with a plain char as argument. Does the string contain any non-ASCII characters?
In C, this is a problem. I would expect that the R runtime knows how to call C's toupper properly. In case they don't, here's the test case from the lint check I wrote for this common bug, providing further insights:
Maybe that helps you finding the root cause.
Main Index |
Thread Index |