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…