Re: [Rd] Unexpected behaviour when comparing (==) long quoted expressions

2019-07-15 Thread Clark Fitzgerald
Hi Dan, I wouldn't expect that behavior out of `==` on language objects either. On a related note, working with R's language objects directly can be clumsy. That was one of the motivations for Nick Ulle to develop the rstatic package. https://github.com/nick-ulle/rstatic It lets me write code

Re: [Rd] Environments and parallel processing

2018-09-13 Thread Clark Fitzgerald
+1 to what Gabor and Ralf said. In this case the memory address can be misleading. My understanding is that the environments in all the processes, 1 parent and 2 child, have the *same* memory address, but once you write to them the operating system makes copies and maps the address to a

Re: [Rd] Understanding the sequence of events when calling the R dpois function

2018-06-04 Thread Clark Fitzgerald
Hi Jason, Duncan Temple Lang answered a similar question for me last year and wrote up the method here: http://dsi.ucdavis.edu/Notes/R/FindingNativeCodeInR.html Basically the C level debugger can be very helpful for figuring out what's happening. Best, Clark On Fri, Jun 1, 2018 at 4:47 AM,