[Rd] Rubbish values written with zero-length vectors (PR#14217)

2010-02-20 Thread g . russell
Full_Name: George Russell Version: 2.10.0, 2.11.0 (2009-12-13 r50716) OS: Windows Submission from: (NULL) (217.111.3.131) R trace: -- cut here -- > v <- integer(0) > v[[1]] <- v > v [1] 20522144 > v <- numeric(0) > v[[1]] <- v > v [1] 4.254131e-314 > sessionInfo() R version 2.10.0 (2009-10-26) i

[Rd] Confusing error message for [[.factor (PR#14209)

2010-02-09 Thread g . russell
Full_Name: George Russell Version: 2.10.0 and 2.11.0 Under development (unstable) (2010-02-08 r51108) OS: Windows Submission from: (NULL) (217.111.3.131) > c("a","b")[[c(TRUE,FALSE)]] Error in `[[.default`(factor(c("a", "b")), c(TRUE, FALSE)) : recursive indexing failed at level 1 I find this

[Rd] Antwort: Re: R on Windows crashes when using certain (PR#14143)

2009-12-15 Thread g . russell
The new version of R-devel from yesterday morning seems to have fixed bug=20 14114! Thanks a lot for your help. Duncan Murdoch schrieb am 14.12.2009 13:34:35: > On 10/12/2009 4:20 AM, k...@huftis.org wrote: > > Full=5FName: Karl Ove Hufthammer > > Version: 2.10.0 > > OS: Windows XP > > Submissio

[Rd] Antwort: Re: Antwort: Re: Crash with Unicode and sub (PR#14126)

2009-12-10 Thread g . russell
SSB0YWtlIHRoYXQgYmFjayBhbnl3YXkuIEkgaGF2ZSBub3cgbWFuYWdlZCB0byByZWxpYWJseSBj cmFzaCBSIDIuMTAuMCBhbmQgDQpSIHZlcnNpb24gMi4xMC4xIFJDICgyMDA5LTEyLTA2IHI1MDY4 NCkgb24gV2luZG93cyB3aXRob3V0IHVzaW5nIHRoZSBzdWIgDQpmdW5jdGlvbi4gVGhlIGZvbGxv d2luZyBjb2RlIGRvZXMgaXQ6DQotLSBjdXQgaGVyZSAtLQ0KIHUgPC0gaW50VG9VdGY4

[Rd] Antwort: Re: Antwort: Re: Crash with Unicode and sub (PR#14114)

2009-12-10 Thread g . russell
I take that back anyway. I have now managed to reliably crash R 2.10.0 and R version 2.10.1 RC (2009-12-06 r50684) on Windows without using the sub function. The following code does it: -- cut here -- u <- intToUtf8(c(rep(1e3,1e2),32,c(rep(1e3,1e2 v <- rep(u,1e2) w <- paste(substring(v,1,100

[Rd] Antwort: Re: Crash with Unicode and sub (PR#14114)

2009-12-10 Thread g . russell
SSBkb24ndCBrbm93IGFib3V0IHRoZSB0ZWNobmljYWxpdGllcywgYnV0IFBldGVyIERhbGdhYXJk IHNhaWQgdGhlIA0Kb2ZmZW5kaW5nIGNvZGUgYWxzbyBjYXVzZXMgUiB0byBjb21lIHRvIGEgc3Rv cCB1c2luZyBTVVNFICsgV0lORS4gSXMgaXQgDQpwb3NzaWJsZSB0byBydW4gdGhhdCBsb3Qgb24g dG9wIG9mIHZhbGdyaW5kPyBPZiBjb3Vyc2UsIGl0IHdpbGwgcHJvYmFibHkgDQp0YWtl

[Rd] Antwort: Re: Crash with Unicode and sub (PR#14114)

2009-12-10 Thread g . russell
I don't know about the technicalities, but Peter Dalgaard said the offending code also causes R to come to a stop using SUSE + WINE. Is it possible to run that lot on top of valgrind? Of course, it will probably take all day ... If not, I have a clue which might help. The problem seems to lie

[Rd] Antwort: Re: Crash with Unicode and sub (PR#14114)

2009-12-09 Thread g . russell
Hello Peter, I have now installed R-2.10.1 RC (sessionInfo() says "R version 2.10.1 RC (2009-12-06 r50684)", the rest I believe is as before). The following code always brings R --vanilla down (with a crash, not a normal exit): -- cut here -- gctorture() u <- intToUtf8(c(rep(1e3,1e2),32,c(rep(1e

[Rd] Crash with Unicode and sub (PR#14114)

2009-12-07 Thread g . russell
Full_Name: George Russell Version: 2.10.0 OS: Windows XP Version 2002 SP 2 Submission from: (NULL) (217.111.3.131) The following typed into R --vanilla induces a crash: -- cut here -- gctorture() u <- intToUtf8(c(rep(1e3,1e2),32,c(rep(1e3,1e2 v <- rep(u,1e2) v <- sub(" ","",v) v %in% "" -- cu

[Rd] read.csv confused by newline characters in header (PR#14103)

2009-12-02 Thread g . russell
Full_Name: George Russell Version: 2.10.0 OS: Microsoft Windows XP Service Pack 2 Submission from: (NULL) (217.111.3.131) The following code (typed into R --vanilla) testString <- '"B1\nB2"\n1\n' con <- textConnection(testString) tab <- read.csv(con,stringsAsFactors = FALSE) produces a data fra

[Rd] R crash with intToUtf8 on huge vectors (PR#14068)

2009-11-16 Thread g . russell
Full_Name: George Russell Version: 2.10.0 OS: Windows XP Professional Version 2002 Service Pack 2 Submission from: (NULL) (217.111.3.131) Typing the following command into R --vanilla causes R to crash: k <- intToUtf8(rep(1e3,1e7)) This is the output of sessionInfo(): R version 2.10.0 (2009-10-

[Rd] Antwort: Re: Memory-management crash with UTF-8 on Windows (PR#13956)

2009-09-17 Thread g . russell
Dear Professor Ripley, a. I apologise for not including the file. I sent the E-Mail to=20 r-b...@r-project.org with an attachment, but the attachment evidently got=20 lost. However the text of the file is as follows: --- CUT HERE gctorture() characters <- intToUtf8(200:300) indices <- rep(seq

[Rd] Memory-management crash with UTF-8 on Windows (PR#13955)

2009-09-17 Thread g . russell
--=_mixed 00289247C1257634_= Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Dear R-Bugs, thank you for your wonderful software, which we use a lot. We are having a = bit of difficulty right now because it crashes sometimes with Unicode=20 characters.