Skip to content

Commit 43fd7f0

Browse files
author
Michael Henry Tessler
authored
Update README.md
1 parent 15a15db commit 43fd7f0

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

+29
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
11
# Negated antonyms
2+
3+
## Compiling paper
4+
5+
Note that models are written in RMarkdown using [RWebPPL](https://github.com/mhtess/rwebppl). To compile this document, your system may need to be ready to install RWebPPL (see RWebPPL system requirements).
6+
7+
1. Clone repo
8+
2. Open Rstudio
9+
3. File —> New Project
10+
- select “Existing Directory”
11+
- navigate to cloned repo
12+
4. In Rstudio console:
13+
```
14+
install.packages(“packrat”)
15+
library(packrat)
16+
packrat::on()
17+
packrat::restore()
18+
```
19+
20+
[will take about 5 minutes for all the packages to install]
21+
22+
5. Open in RStudio: `writing/cogsci/negant-cogsci2018.Rmd`
23+
6. Knit! (very first time you knit, it may ask you to upgrade a package or two; just hit yes)
24+
25+
## Troubleshooting
26+
27+
- if packrat fails to restore on a particular package, try installing that package manually from the command line using `install.packages("packageName")`
28+
- if rmarkdown prompts you to install packages upon knitting, and you click OK, and nothing happens, try installing those packages manually as well
29+
30+

0 commit comments

Comments
 (0)