R notes and snippets

Installing R on debian [sourcecode language="shell" title=""] cat >> /etc/apt/sources.list << EOF deb http://cran.rstudio.com/bin/linux/debian stretch-cran34/ EOF [/sourcecode] Install dirmngr [sourcecode language="shell" title=""] sudo apt install dirmngr [/sourcecode] Receive debian key [sourcecode language="shell" title=""] sudo apt-key adv –keyserver keys.gnupg.net –recv-key ‘E19F5F87128899B192B1A2C2AD5F960A256A04AF’ [/sourcecode] Update the repo and then install R [sourcecode language="shell" title=""] sudo apt update sudo…

Using ESS for Data Science

RStudio is a formidable IDE to work with and offers an environment to seamlessly work with multiple languages beyond R. It is especially convenient for tasks involving frequent visualisation of data frames and plots, and for use with Shiny app development. However, the text (i.e code) editing capabalities are still significantly lacking compared to the…