Skip to content
vertesy edited this page May 2, 2016 · 1 revision
Name of the Variable Purpose and use Created by
ProjectDir The global working directory for your project. Every script will have a subfolder in here. By default its your default working directory of R. Check it by getwd(). Has to be set manually
OutDir All Output by that script (setup by setup_MarkdownReports) goes in this folder. setup_MarkdownReports()
BackupDir A subfolder in OutDir where you can manually backup certain version (Files in OutDir wlil be overwritten every time you rerun the script - you might want to save a run with certain parameters, etc. setup_MarkdownReports()
scriptname Name of your .R script. Name of the script (file) generating the report. "scriptname" will be used as the default title for the report. It is assigned to the global environment and used in pdf's title field to denote which script generated the file. setup_MarkdownReports()
png4Github If TRUE (default), any link to the .png versions of images will be created in a GitHub compatible format. That means, when you upload your markdown report and the .png images to your GitHub wiki under "Reports/" the links will correctly display the images online. setup_MarkdownReports()