Installing R on Android

Install GNURoot from Google Play Install Gnuroot Wheezy from Google Play. See http://www.linux-magazine.com/ Online/Blogs/Productivity-Sauce/GNURoot-Linux-on-Android-No-Root-Required for more help. Update the package repositories (twice!):apt-get update apt-get update Block updates to system Perl:apt-mark hold perl-base Install R:apt-get install r-base Install all available cran packages from the Debian repositories:apt-get install r-cran* Start R from the command line:R source http://www.r-ohjelmointi.org/?p=1434

Code to clear all plots in RStudio

dev.off() closes the current graphical device. This clears all of the plots for me in RStudio as long as I don’t have a different graphical device open at the moment. If you do have other graphical devices open then you can use dev.list() to figure out which graphical device is RStudio’s. The following should do that but I haven’t tested … Read more

pandoc document conversion failed with error 43 : pdflatex: The memory dump file could not be found

I also tried devtools::install_github(‘rstudio/rmarkdown’) but was still getting an error when I added ‘fig.align=’center’ to a ggplot2 plot in my document. It would work as HTML, but not as PDF. After seeing isomorphismes‘s post I clicked on the gear symbol next to the knit PDF button, then under the advanced tab I changed the LaTeX Engine to xelatex. After that I no longer … Read more