R

R

898 bookmarks
Newest
Explain R environments like I’m five
Explain R environments like I’m five
“Can you explain me what are environments in R?”The beginning of a series of blogpost about R concepts, explained to mydaughter. Side note: no, my daughter is not five, and she’s not named Alice. Andshe doesn’t speak english either ¯\(ツ)/¯.“Daddy, I’ve seen you reading this book with a weird chapter named‘Environments in R’. What does it mean?”“Alice darling, just sit down for a minute.Let’s say the world is a big computer, and everyone living in it is apiece of information we call ‘data’. Right now, we are at home, and homeis a small piece from the whole world. In R, these smaller places arecalled environments, and they are used just as our home: they cancontain data, and we can refer to these data with names which arespecific to the environment.For example, when we are at home, there are five pieces of data: you,me, mommy, and the two cats. At home, I can say ‘Darling’, and as we arein this small subset of the whole world where ‘darling’ refers to you,I’m pretty sure I will find you. But if I go in another home, that isto say in another environment with other data, another dad is callinghis daughter ‘Darling’. In this small other environment, different fromours, ‘Darling’ does not refer to the same piece of data. And the samegoes for “Mommy” and “Daddy”: in another home, they refer to otherpersons.If I go out in the wild world and try to use the word ‘Mommy’, thiswon’t specifically refer to your mum, as there are not one single‘Mommy’ in this world, and because this word refers to someonespecific to the home we are using it in. In the wild world, if I want torefer to your mum, I’ll need to specify from which home the ‘Mommy’ I’mlooking for is coming from.”“So why don’t we use the full name every time then? It seems simpler.”“Environments allow us to use the same word to refer to different data,depending on where we are using the word. It also allows to giveinformation about a piece of data: it’s quite normal to think that afather uses ‘Darling’ to refer to someone he loves very very much. Evenif, strictly speaking, nothing prevents the contrary from happening.Also, it wouldn’t be fair to only allow only one ‘Darling’ in the wholeworld. Thanks to environment, there won’t be any problem if every fatherin the world use this word, as it refers, in each home, to a specificlittle girl.”“Ok, thanks dadddy!”“You’re welcome, Darling”The R code behindAbout environments# Creating two houseshome
·colinfay.me·
Explain R environments like I’m five
Introduction
Introduction
Shiny Server @CNR-IBBA. Contribute to cnr-ibba/shiny-server development by creating an account on GitHub.
·github.com·
Introduction
System Dependencies in R Packages & Automatic Testing - R-hub blog
System Dependencies in R Packages & Automatic Testing - R-hub blog
This post has been cross-posted on the Epiverse-TRACE blog. In a previous post, we discussed a package dependency that goes slightly beyond the normal R package ecosystem dependency: R itself. Today, we step even further and discuss dependencies outside of R: system dependencies. This happens when packages rely on external software, such as how R packages integrating CUDA GPU computation in R require the CUDA library. In particular, we are going to talk about system dependencies in the context of automated testing: is there anything extra to do when setting continuous integration for your package with system dependencies?
·blog.r-hub.io·
System Dependencies in R Packages & Automatic Testing - R-hub blog
5 Best IDEs for R Programming in 2023
5 Best IDEs for R Programming in 2023
Here are some of the best IDEs for R programming that can help in complex data analysis and provide an easy to navigate UI. Also listed are some lightweight online R compilers to help you work on the go.
·geekflare.com·
5 Best IDEs for R Programming in 2023
Introduction | Engineering Production-Grade Shiny Apps
Introduction | Engineering Production-Grade Shiny Apps
A book about engineering shiny application that will later be sent to production. This book cover project management, structuring your project, building a solid testing suite, and optimizing your codebase. We describe in this book a specific workflow: design, prototype, build, strengthen and deploy.
·engineering-shiny.org·
Introduction | Engineering Production-Grade Shiny Apps
Writing R extensions
Writing R extensions
Writing R Extensions covers how to create your own packages, write R help files, and the foreign language (C, C++, Fortran, …) interfaces.
·colinfay.me·
Writing R extensions
R for Excel Users
R for Excel Users
This is a workshop for RStudio::conf(2020) in San Francisco, California
·rstudio-conf-2020.github.io·
R for Excel Users