STOR 455 Section 1 (Cunningham)

August 25, 2016

.

We had two separate problems in class today that made use of RMarkdown problematic. This assignment/tutorial is to overcome these and includes directions for indicating to me that you succeeded in loading an RMarkdown file and “knitting” it into an html file. Both will be important to the class and your future lives.

1. RMarkdown won’t run on many networked PC’s

It turns out that we downloaded a slightly bad apple for PCs.

Solution: This solution worked for me. Open R-studio and enter (or copy-paste) the command

install.packages("rmarkdown", repos = "https://cran.revolutionanalytics.com")

2. Sakai doesn’t always play well with others

Solution: Google-drive

  1. Go to the “R Programming tab”" under “Resources” on Sakai and click on “Case Study 1 directions as .rmd”.
  2. Click download, after the file downloads:
    1. Mac - double-click the file and it will open in an open R-studio.
  1. PC - choose “Save File” (not “open with”). After the file downloads, click to open it and browse for the application R-studio. Once it opens in R-studio –>

  2. (PC and Mac) Once the file is open in R-Studio click “knit-html” and watch the magic happen. IGNORE the directions in the document I just want to know that you can use RMarkdown and publish the result so that we don’t have to do stuff on paper all term.

  1. Go to the RMarkdown Checklist to indicate to me that you have succeeded.

3. Thanks for your patience with this and for your resilience, a key component of learning to program.