GeistHaus
log in · sign up

2 Names and values | Advanced R

adv-r.hadley.nz

2.1 Introduction In R, it is important to understand the distinction between an object and its name. Doing so will help you: More accurately predict the performance and memory usage of your code....

2 pages link to this URL
Objects that feel mutable in R - R-hub blog

In R, most often, to change an object, you need to re-assign its new value to it. But sometimes, things feel different because objects are mutable or it seems they are, be it in base R code or in the code of packages. Why and how to provide a mutable API/interface in R code? In this blog post, we shall explore a few odd examples a few examples to better understand mutable APIs in R.

2 inbound links en package developmentprogramming CC BY 4.0
Profiling Peak DRAM Use in R With Perl - Part 1

Another year, another opportunity for Perl to excel as a system’s language. Today I decided to take Perl for a (?)wild ride and use it to monitor peak physical DRAM use in a R script. Due to the multi-language nature of the post, there will be a lot of R code in the first part of the series; however, the code is self-explanatory, and should not be difficult to understand (the same applies to the Perl code for those coming from a R background). For those of you who would like to skip the R part (why?), jump straight to the end Part 1 to see the solution and then go to Part 2 for the details.

0 inbound links article en