Description Usage Arguments Details Value Functions
View source: R/writeFilePath.R
Write file paths for a BioLockJ config file.
1 2 3 4 5 6 7 | writeFilePath(path, projectDir, useRelPath)
writeFilePathList(pathList, projectDir, useRelPath)
writeFullPath(path, projectDir)
writeRelPath(path, projectDir)
|
path |
a file path (written as either from root or starting with ./ or ../) |
projectDir |
the path that the paths should be relative to |
useRelPath |
if TRUE, relative paths are written, if false, then full paths are determined. |
pathList |
the value of a list property, probably represented as a single string |
Paths can be passed in as EITHER relative to root or relative to project dir (ie, starting with './' or '../'). useRelPath dictacts how the output is written, not how the input is interpreted.
a string representing the file path
writeFilePathList
: use writeFilePath for each element of a list.
writeFullPath
: write the path from root.
writeRelPath
: write the path from the project directory (ie, ./ or ../) if possible.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.