ProjectTemplate (version 0.7)

cache.name: Translate a variable name into a file name for caching.

Description

This function will translate a variable name into a form that is suitable as a filename on most OS's.

Usage

cache.name(data.filename)

Arguments

data.filename

The variable name to be translated into a filename.

Value

A translated variable name.

Examples

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

# }
# NOT RUN {
cache.name('example.1')
# }

Run the code above in your browser using DataLab