4 Running the data summary - StatisticalReinforcementLearningLab/HeartstepsV1Code GitHub Wiki

  1. Ensure your system has M+Box mounted.

  2. From the command line, navigate to your local copy of the heartstepsdata git repository.

  3. Run the following command:

Rscript --vanilla summary.R

This will generate the summary document (summary.pdf) and all associated auxiliary LaTeX and knitr files on your machine. To generate the summary, upload it to M+Box and delete all sensitive data files from your machine, run the same R script but with the argument delete-local.

Rscript --vanilla summary.R delete-local

This will also upload the R output files workspace.csv.Rout and workspace.analysis.Rout to M+Box and delete local copies, if they exist.