adv-r
adv-r copied to clipboard
Advanced R: a book
It would be R version 3.6.2 (2019-12-12).
Line 1308 of Functions.Rmd seems to suggest that one can create a function using: `` `function`(alist(arg1, arg2), body, env)``. This may be considered true in some sense: ``` body
I currently see this in [22.3.1 Lazy evaluation](https://adv-r.hadley.nz/debugging.html#debug-lazy): The text says: > You can using `rlang::with_abort()` and `rlang::last_trace()` to see the call tree. Here, I think it makes it much...
Hello, I am at the point where I just need to knit Rcpp.Rmd with the other files to output a convenient .html for myself. Currently I am having issues at...
Some good points in https://www.youtube.com/watch?v=kc9HwsxE1OY
In Section 7.4.2 the function environment is defined, however, in Section 10 you reference the enclosing environment exclusively which I think is the function environment? I found the material on...
It seems that for the latest version of R (~ 3.6.0), S4 dispatch is in fact faster than S3. Take the example in the book running on my computer. ```...
In [Line 97 of Functionals.Rmd](https://github.com/hadley/adv-r/blob/master/Functionals.Rmd#L97), the following is mentioned: > In fact, the meaning comes from mathematics where map refers to “an operation that associates each element of a given...
In the Outline (lines 30-33) of Rcpp.Rmd the use of a matrix class is anounced: > * Section \@ref(rcpp-intro) teaches you how to write C++ by converting simple R functions...
Figure out something (perhaps inspired by @garrettgman's cheatsheet diagrams) to make it more clear what's going on.