ProjectTemplate (version 0.4-2)

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
library('ProjectTemplate')

cache.name('example.1')

Run the code above in your browser using DataCamp Workspace