Re: [Rd] stopifnot -- eval(*) inside for()

2019-04-01 Thread Martin Maechler
> Suharto Anggono Suharto Anggono via R-devel > on Sun, 31 Mar 2019 15:26:13 + writes: > Ah, with R 3.5.0 or R 3.4.2, but not with R 3.3.1, 'eval' > inside 'for' makes compiled version behave like > non-compiled version. Ah.. ... thank you for detecting that " eval(

Re: [Rd] topenv of emptyenv

2019-04-01 Thread Tomas Kalibera
On 3/23/19 3:26 PM, Konrad Rudolph wrote: I was surprised just now to find out that `topenv(emptyenv())` equals … `.GlobalEnv`, not `emptyenv()`. From my understanding of the description of `topenv`, it should walk up the chain of enclosing environments (as if by calling `e = parent.env(e)` repea

Re: [Rd] [External] Re: stopifnot -- eval(*) inside for()

2019-04-01 Thread Tierney, Luke
On Mon, 1 Apr 2019, Martin Maechler wrote: >> Suharto Anggono Suharto Anggono via R-devel >> on Sun, 31 Mar 2019 15:26:13 + writes: > >> Ah, with R 3.5.0 or R 3.4.2, but not with R 3.3.1, 'eval' >> inside 'for' makes compiled version behave like >> non-compiled version.

Re: [Rd] stopifnot

2019-04-01 Thread Martin Maechler
> Suharto Anggono Suharto Anggono via R-devel > on Sun, 31 Mar 2019 15:26:13 + writes: [.] [ "eval() inside for()" not giving call in error message .] [.] > "Details" section of 'stopifnot' documentation in current R 3.6.0 alpha > (

Re: [Rd] [External] Re: stopifnot -- eval(*) inside for()

2019-04-01 Thread Martin Maechler
> Tierney, Luke > on Mon, 1 Apr 2019 12:41:08 + writes: > On Mon, 1 Apr 2019, Martin Maechler wrote: >>> Suharto Anggono Suharto Anggono via R-devel >>> on Sun, 31 Mar 2019 15:26:13 + writes: >> >> > Ah, with R 3.5.0 or R 3.4.2, but not with R 3.3.

Re: [Rd] Use of C++ in Packages

2019-04-01 Thread Tomas Kalibera
On 3/30/19 8:59 AM, Romain Francois wrote: tl;dr: we need better C++ tools and documentation. We collectively know more now with the rise of tools like rchk and improved documentation such as Tomas’s post. That’s a start, but it appears that there still is a lot of knowledge that would deserve

[Rd] New grDevices::hcl.colors()

2019-04-01 Thread Achim Zeileis
Hi everyone, I wanted to draw your attention to a new post on the developer.R-project.org blog: https://developer.R-project.org/Blog/public/2019/04/01/hcl-based-color-palettes-in-grdevices/ A new function grDevices::hcl.colors() greatly extends the color palette functionality available in bas