ProjectTemplate (version 0.10.4)

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)

Value

A translated variable name.

Arguments

data.filename

The variable name to be translated into a filename.

Examples

Run this code
library('ProjectTemplate')

if (FALSE) cache.name('example.1')

Run the code above in your browser using DataLab