[Rd] Regression in match() in R 3.3.0 when matching strings with different character encodings

2016-05-09 Thread Kirill Müller
Hi I think the following behavior is a regression from R 3.2.5: > match(iconv( c("\u00f8", "A"), from = "UTF8", to = "latin1" ), "\u00f8") [1] 1 NA > match(iconv( c("\u00f8"), from = "UTF8", to = "latin1" ), "\u00f8") [1] NA > match(iconv( c("\u00f8"), from = "UTF8", to = "latin1" ), "

Re: [Rd] Regression in match() in R 3.3.0 when matching strings with different character encodings

2016-05-09 Thread Peter Haverty
Dear Kirill, You are correct, that is a new bug introduced in PR16491. The appropriate fix and regression tests have been added via PR16885, which has been merged into trunk. I believe that means the fix will be released with R 3.3.1. I checked your example and the second "match" now properly ret

Re: [Rd] R process killed when allocating too large matrix (Mac OS X)

2016-05-09 Thread Jeroen Ooms
On 05/05/2016 10:11, Uwe Ligges wrote: > Actually this also happens under Linux and I had my R processes killed > more than once (and much worse also other processes so that we had to > reboot a server, essentially). I found that setting RLIMIT_AS [1] works very well on Linux. But this requires th

Re: [Rd] Regression in match() in R 3.3.0 when matching strings with different character encodings

2016-05-09 Thread Martin Maechler
> Peter Haverty > on Mon, 9 May 2016 09:47:48 -0700 writes: > Dear Kirill, > You are correct, that is a new bug introduced in PR16491. The appropriate > fix and regression tests have been added via PR16885, which has been merged > into trunk. I believe that means the

Re: [Rd] Is it possible to increase MAX_NUM_DLLS in future R releases?

2016-05-09 Thread Martin Maechler
> Qin Zhu > on Fri, 6 May 2016 11:33:37 -0400 writes: > Thanks for all your great answers. > The app I’m working on is indeed an exploratory data analysis tool for gene expression, which requires a bunch of bioconductor packages. > I guess for now, my best solution is