updates to the Rmd: use of sel, removal of fileEncoding and new figure on RStudio
added all updates following November 10th workshop