Description Usage Arguments Details Value Examples
This function will read a DCF file and translate the resulting data frame into a list. The DCF format is used throughout ProjectTemplate for configuration settings and ad hoc file format specifications.
1 | translate.dcf(filename)
|
filename |
A character vector specifying the DCF file to be translated. |
The content of the DCF file are stored as character strings. If the content is placed between the back tick character , then the content is evaluated as R code and the result returned in a string
Returns a list containing the entries from the DCF file.
1 2 3 | library('ProjectTemplate')
## Not run: translate.dcf(file.path('config', 'global.dcf'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.