Skip to content

Commit

Permalink
set up the RStudio project
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed May 7, 2017
1 parent 0825895 commit 15f7664
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
options(
servr.daemon = TRUE, blogdown.yaml.empty = FALSE,
blogdown.publishDir = '../simplystats-public'
)

local({
pandoc_path = Sys.getenv('RSTUDIO_PANDOC', NA)
if (Sys.which('pandoc') == '' && !is.na(pandoc_path)) Sys.setenv(PATH = paste(
Sys.getenv('PATH'), pandoc_path,
sep = if (.Platform$OS.type == 'unix') ':' else ';'
))
})
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.Rproj.user
.Rhistory
.RData
.Ruserdata
blogdown
public
3 changes: 3 additions & 0 deletions index.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
site: blogdown:::blogdown_site
---
18 changes: 18 additions & 0 deletions simplystats.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Version: 1.0

RestoreWorkspace: No
SaveWorkspace: No
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: knitr
LaTeX: pdfLaTeX

AutoAppendNewline: Yes
StripTrailingWhitespace: Yes

BuildType: Website

0 comments on commit 15f7664

Please sign in to comment.