Description Strategy Options Examples
MSDproject is designed to manage tidy project directories and facilitate reproducibility and reuse of code
Code management
Project structure: Defines standardised directory structure for statistical projects
Long term reproducibility: Local (project level) installation of packages
Code sharing/reuse: code library + search functionality
scripts.dir
= names of the 'scripts' directory in the project
models.dir
= names of the 'models' directory in the project
git.exists
= TRUE
if git is installed (only works on unix currently)
code_library_path
= character vector. paths of directories containing code files
To modify these options use the options() interface. To modify these values permanently set options() in ~/.Rprofile or R_HOME/etc/Rprofile.site
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
make_project('~/MSDXXXX/PKAE1') ## creates new_project
code_library() ## display summary of code_library
preview('template1.R') ## preview file in code_library
copy_script('template1.R') ## copy_script from code_library to project
new_script('test.R') ## Creates empty test.R
copy_script('output.data.R') ## copies from code_library
copy_script('../pathto/script.R') ## copies from other location
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.