Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
jgabry committed Jan 10, 2016
1 parent 8100fe6 commit 9e618f7
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,26 @@ via the **shinystan** R package. [Try the online demo.](http://gelman-group-win.
### Installing the shinystan R package
* Install from CRAN:

`install.packages("shinystan")`
```{r}
install.packages("shinystan")
```

If this fails, try adding the arguments `type='source'` and/or `repos='http://cran.rstudio.com'`.
If this fails, try adding the arguments `type='source'` and/or `repos='http://cran.rstudio.com'`.

* Install from GitHub (requires [devtools](https://github.com/hadley/devtools) package):

`devtools::install_github("stan-dev/shinystan", build_vignettes = TRUE)`
```{r}
if (!require("devtools")) install.packages("devtools")
devtools::install_github("stan-dev/shinystan", build_vignettes = TRUE)
```

To take advantage of all the features in the **shinystan** package, it is also
recommended to install the [rsconnect](https://github.com/rstudio/rsconnect)
package. You can do this by running

devtools::install_github("rstudio/rsconnect")
```{r}
devtools::install_github("rstudio/rsconnect")
```

### About ShinyStan

Expand Down

0 comments on commit 9e618f7

Please sign in to comment.