From 892348c81b7d834b396a13f76e701a1b219de03d Mon Sep 17 00:00:00 2001 From: Ramnath Vaidyanathan Date: Tue, 22 Jan 2013 09:29:17 -0500 Subject: [PATCH 1/3] wrap code in code blocks --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 18d2955..c00561b 100644 --- a/README.md +++ b/README.md @@ -11,18 +11,20 @@ To download the folder with the slides for all lectures, click on the button to You will need to install [R](http://cran.rstudio.com/), [Rstudio](http://www.rstudio.com/ide/download/) and Slidify. To install Slidify, open Rstudio and run the commands: +```r install.packages("devtools") - install_github("slidify","ramnathv") - install_github("slidifyLibraries","ramnathv") +``` ## Setting your working directory Next, you need to set your working directory to the lecture you would like to compile. +```r setwd(file.choose()) +``` and select the directory of the lecture you would like to compile. This will set your working directory to the lecture directory. @@ -32,7 +34,9 @@ lecture directory. Once you have completed this step run the commands: +``` slidify("index.Rmd") browseURL("index.html") +``` -This should compile the slides and open the resulting webpage on your computer. \ No newline at end of file +This should compile the slides and open the resulting webpage on your computer. From 1a8aecbb47e01180d0b330be863a33205ef2202c Mon Sep 17 00:00:00 2001 From: Ramnath Vaidyanathan Date: Tue, 22 Jan 2013 09:29:48 -0500 Subject: [PATCH 2/3] syntax highlighting for last code block --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c00561b..7a3687a 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ lecture directory. Once you have completed this step run the commands: -``` +```r slidify("index.Rmd") browseURL("index.html") ``` From 54511f2f7ffa686e0ce291a40e98cedcd5338754 Mon Sep 17 00:00:00 2001 From: Ramnath Vaidyanathan Date: Tue, 22 Jan 2013 06:32:23 -0800 Subject: [PATCH 3/3] Create .gitignore Add .DS_Store, .Rhistory and .cache --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b00344 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.DS_Store +.Rhistory +.cache/