Skip to content

Commit

Permalink
Merge pull request jtleek#1 from ramnathv/master
Browse files Browse the repository at this point in the history
Wrap code in README.md in code blocks
  • Loading branch information
jtleek committed Jan 22, 2013
2 parents b09262a + 54511f2 commit e27166e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
.Rhistory
.cache/
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -32,7 +34,9 @@ lecture directory.

Once you have completed this step run the commands:

```r
slidify("index.Rmd")
browseURL("index.html")
```

This should compile the slides and open the resulting webpage on your computer.
This should compile the slides and open the resulting webpage on your computer.

0 comments on commit e27166e

Please sign in to comment.