DataScienceHobart / 2017-01-31-resbaztas-r

ResBaz Hobart R workshop
https://datasciencehobart.github.io/2017-01-31-resbaztas-r/
Other
0 stars 0 forks source link

cloud TODO #3

Open mdsumner opened 7 years ago

mdsumner commented 7 years ago

The latest image is "comic scrubbird"

tick tickety tick

echo 'local({ r <- getOption("repos"); r["CRAN"] <- "https://cran.ms.unimelb.edu.au/";options(repos = r); })' >> /etc/R/Rprofile.site

Lessons

We start here at R for Reproducible Scientific Analysis:

http://swcarpentry.github.io/r-novice-gapminder/

http://swcarpentry.github.io/r-novice-gapminder/01-rstudio-intro/

http://swcarpentry.github.io/r-novice-gapminder/03-seeking-help/

mdsumner commented 7 years ago

users can create github account but not confirm the email

resbaz will request auth first time

user doesnt get anything CREATED

mdsumner commented 7 years ago

The Python image is "serene bristlebird", and Mike's instance of it is "affectionate moorhen"

mdsumner commented 7 years ago

need tidyverse, devtools, formatR, raster, rgdal, ncdf4, RNetCDF, sf, maptools, rworldmap, maps

spatial stuff, devtools:

apt-get install libnetcdf-dev netcdf-bin proj-bin libproj-dev libgdal-dev gdal-bin libgeos-dev libssl-dev

"elated finch" begat "empathetic kookaburra"

had to clean up

"empathetic kookaburra" begat "proud baza"

mdsumner commented 7 years ago

add roxygen2

put in the data/ directory download.file("https://raw.githubusercontent.com/swcarpentry/r-novice-gapminder/gh-pages/_episodes_rmd/data/gapminder-FiveYearData.csv", destfile = "data/gapminder-FiveYearData.csv")

"proud baza" begat "flippant shelduck"

mdsumner commented 7 years ago

Be sure to delete the hidden directories created by RStudio, before you save them, these are called .config and .rstudio.

Otherwise, don't save images, just record the script to customize the original and do it that way!

:)