ProjectTemplate (version 0.7)

translate.dcf: Read a DCF file into an R list.

Description

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.

Usage

translate.dcf(filename)

Arguments

filename

A character vector specifying the DCF file to be translated.

Value

Returns a list containing the entries from the DCF file.

Examples

Run this code
# NOT RUN {
library('ProjectTemplate')

# }
# NOT RUN {
translate.dcf(file.path('config', 'global.dcf'))
# }

Run the code above in your browser using DataCamp Workspace