Re: [Rd] Possible repeat{} / break function bug in R 3.4.1

2017-08-23 Thread Peter Bosa
www.oregonmetro.gov From: Tomas Kalibera Sent: Wednesday, August 23, 2017 12:54 AM To: Peter Bosa Cc: Lionel Henry; Martin Maechler; R-devel@r-project.org Subject: Re: [Rd] Possible repeat{} / break function bug in R 3.4.1 Fixed in 73112. If you needed to run this code in

Re: [Rd] Possible repeat{} / break function bug in R 3.4.1

2017-08-23 Thread Tomas Kalibera
in this case text/plain ! Martin ## see ./break-source_R341.R if(x < y) { writeLines("No Break Dance :-(") x <- x + 1 } else { writeLines("Break Dance!") break } ## From: Peter Bosa ## To: "R-devel@r-project.org" ## Subject: [Rd] Possible repeat{} /

Re: [Rd] Possible repeat{} / break function bug in R 3.4.1

2017-08-23 Thread Tomas Kalibera
e I use writeLines() instead of print() as its output is "nicer". Best regards, Martin Maechler, ETH Zurich Trying again with the two attachment. Yes, I of all people (!!) should know that they must have an allowed MIME type; in this case text/plain ! Martin ## see ./break-source_R

Re: [Rd] Possible repeat{} / break function bug in R 3.4.1

2017-08-23 Thread Lionel Henry
(" >>>>> [1] "No Break Dance :(" >>>>> [1] "No Break Dance :(" >>>>> [1] "No Break Dance :(" >>>>> [1] "Break Dance!" >>>>> Error in eval(ei, envir) : no loop for break/next, jumping

Re: [Rd] Possible repeat{} / break function bug in R 3.4.1

2017-08-23 Thread Tomas Kalibera
, I of all people (!!) should know that they must have an allowed MIME type; in this case text/plain ! Martin ## see ./break-source_R341.R if(x < y) { writeLines("No Break Dance :-(") x <- x + 1 } else { writeLines("Break Dance!") break } ## From: Peter Bosa ## To: &

Re: [Rd] Possible repeat{} / break function bug in R 3.4.1

2017-08-23 Thread Lionel Henry
I have used, >>> including 3.3.3. >>> >>> Any suggestions? Is this a known bug with 3.4.1? > >> Thank you, Peter! > >> I can confirm what you are seeing (on Linux) in R version 3.4.0, >> 3.4.1, and "R devel", and also that this had worked

Re: [Rd] Possible repeat{} / break function bug in R 3.4.1

2017-08-23 Thread Martin Maechler
ing (on Linux) in R version 3.4.0, > 3.4.1, and "R devel", and also that this had worked w/o a > problem in earlier versions of R, where I've looked at > R version 3.3.3 and 3.2.5. > I do think this is a bug, but it was not known till now. > For

Re: [Rd] Possible repeat{} / break function bug in R 3.4.1

2017-08-23 Thread Martin Maechler
> Peter Bosa > on Tue, 22 Aug 2017 14:39:50 + writes: > Hello, I've noticed the following error using repeat{} / break in R 3.4.1 running on Windows 10 and Windows Server 2008 (both 64-bit environments). > When running a repeat function, the break command causes an error

[Rd] Possible repeat{} / break function bug in R 3.4.1

2017-08-22 Thread Peter Bosa
Hello, I've noticed the following error using repeat{} / break in R 3.4.1 running on Windows 10 and Windows Server 2008 (both 64-bit environments). When running a repeat function, the break command causes an error message if the repeat command refers to code within a file, but does not produce a