Re: [Rd] A few suggestions and perspectives from a PhD student

2017-05-08 Thread Antonin Klima
Thanks for the answers, I’m aware of the ‘.’ option, just wanted to give a very simple example. But the lapply ‘…' parameter use has eluded me and thanks for enlightening me. What do you mean by messing up the call stack. As far as I understand it, piping should translate into same code as dee

Re: [Rd] A few suggestions and perspectives from a PhD student

2017-05-08 Thread Ista Zahn
On Mon, May 8, 2017 at 8:08 AM, Antonin Klima wrote: > Thanks for the answers, > > I’m aware of the ‘.’ option, just wanted to give a very simple example. > > But the lapply ‘…' parameter use has eluded me and thanks for enlightening me. > > What do you mean by messing up the call stack. As far as

Re: [Rd] A few suggestions and perspectives from a PhD student

2017-05-08 Thread Hadley Wickham
> There are tradeoffs. As demonstrated above, the pipe is clearly > inferior in that it is doing a lot of complicated stuff under the > hood, and when you try to traceback() through the call stack you have > to sift through all that complicated stuff. That's a pretty big > drawback in my opinion.