This first assignment is just to get used to using RStudio and Rmarkdown. Please email both your Rmarkdown document and the html report with your last name and no spaces in the file name to kkeith@coriell.org by 9AM tomorrow.
First, things first, run the code chunk at the very top of the document, to set things up. Remember you can run a code chunk by:
Command
+ Shift
+ Return
on a Mac or Ctrl
+ Shift
+ Enter
on a PCNow try running code chunks each of the three ways. Run the first chunk below using the arrow inside it
image(volcano)
Run this code chunk using the Run drop down menu
image(volcano)
Run this code chunk using keyboard commands
image(volcano)
You should have gotten the same output for all three chunks.
Comment out the code in the chunk below.
#image(volcano)
Remember, to create a code chunk
Make your own code chunk in the space below, and then copy the code between backticks image(volcano)
and try running it.
image(volcano)
For the lines of text below, add the appropriate symbols to make the text what it says. For example, if the line says, “Make me inline text” add backticks around it so it becomes inline text, Make me inline text
. You can always reference the class materials or Google for help.
Make me bold
Make me italicized
Make the stuff below into an unordered list.
Make the stuff below into an ordered (numbered) list.
Format the code below so it will appear as inline code.
image(volcano)
Go to Tools > Global Options and take a screenshot confirming “Save .RData on exit:” is set to Never. Add a link to the picture below so it will appear when you knit the document.
no_RData
Finally, knitting this document by hitting the Knit button in RStudio and then submit both the knitted html file and this Rmarkdown file.