Re: [Rd] force promises inside lapply

2017-07-28 Thread Benjamin Tyner
Thanks Bill. I think my confusion may have been in part due to my conflating two distinct meanings of the term "evaluate"; the help for force says it "forces the evaluation of a function argument" whereas the help for eval says it "evaluates the ... argument ... and returns the computed value".

Re: [Rd] force promises inside lapply

2017-07-28 Thread William Dunlap via R-devel
1: substitute(), when given an argument to a function (which will be a promise) gives you the unevaluated expression given as the argument: > L <- list(a=1, b=2, c=3) > str(lapply(L, function(x) substitute(x))) List of 3 $ a: language X[[i]] $ b: language X[[i]] $ c: language X[[i]] The 'X' a

[Rd] force promises inside lapply

2017-07-28 Thread Benjamin Tyner
Hi, I thought I understood the change to lapply semantics resulting from this, https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16093 However, would someone care to explain why this does not work? > L <- list(a=1, b=2, c=3) > str(lapply(L, function(x){ y <- substitute(x); force(x);

[Rd] I have corrected a dead link in the treering documentation

2017-07-28 Thread Thomas Levine
The attached patch corrects a dead link in the treering documentation. The URL in the manual [1] refers to a personal home page belonging to Christine Hallman (user "hallman") on the website of the University of Arizona Laboratory of Tree-Ring Research (LTRR). It seems that the LTRR personal homep

Re: [Rd] Problems with S4 methods dispatching on `...` (aka dotsMethods)

2017-07-28 Thread Michael Lawrence
I pushed the patch to the 3.4 branch. Feel free to test. Michael On Wed, Jul 26, 2017 at 4:02 AM, Andrzej Oleś wrote: > Hi Michael, > > it seems that your patch to S4 generics dispatching on `...` is still > available only in R-devel, and was not included in the minor R-3.4.1 > release. I was wo

Re: [Rd] Issue with memory deallocation/fragmentation on systems which use glibc

2017-07-28 Thread Dmitriy Selivanov
I would like to submit issue to wishlist at the bug reporting system ( https://www.r-project.org/bugs.html) based on my emails. Unfortunately I don't have bugzilla account. Can someone from R-core help to obtain it? (I see that I should *"ask an R Core member to add you manually to R’s Bugzilla mem