From f965de61f51be69044e4b674e5d19abe012fd08d Mon Sep 17 00:00:00 2001 From: andrechalom Date: Wed, 1 Jul 2015 13:40:22 -0300 Subject: [PATCH 1/2] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d165923..e0a96fa 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,12 @@ library(shiny) runApp("") ``` +In this case, you will also need to install Rsampling by hand: +```R +library(devtools) +install_github(repo = 'lageIBUSP/Rsampling') +``` + ## Current features * Access the Rsampling sample datafiles, or upload your own data in csv format * Choose between a range of statistics, or write your own R function From 206478abf1275cb3c3745bbb937eec25b829ce0f Mon Sep 17 00:00:00 2001 From: andrechalom Date: Wed, 1 Jul 2015 14:12:06 -0300 Subject: [PATCH 2/2] Update README.md --- README.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e0a96fa..b53e526 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,19 @@ teaching and learning about resampling in statistics. Rsampling-shiny is a web-based graphical user interface written in [shiny] (http://shiny.rstudio.com). -To run, you need to install [R] (http://www.r-project.org/). Then, launch R and run +To run, you need to install [R] (http://www.r-project.org/) and the [Rsampling] library (https://github.com/lageIBUSP/Rsampling). + +To install Rsampling, open R and run: +```R +install.packages("devtools") +library(devtools) +install_github(repo = 'lageIBUSP/Rsampling') +``` + +## Web version +You can run Rsampling shiny from github! Just open R and run: ```R -install.packages(c("shiny","shinyBS","devtools")) +install.packages(c("shiny","shinyBS")) library(shiny) runGitHub(repo="andrechalom/Rsampling-shiny") ``` @@ -19,12 +29,7 @@ file above, and extract it to a folder. Then, open R (with the required packages library(shiny) runApp("") ``` - -In this case, you will also need to install Rsampling by hand: -```R -library(devtools) -install_github(repo = 'lageIBUSP/Rsampling') -``` +Remember that you need to install the shiny/shinyBS packages while you have internet access! ## Current features * Access the Rsampling sample datafiles, or upload your own data in csv format