Learn R Programming

RSAGA (version 0.94-5)

create.variable.name: Convert file name to variable name

Description

Convert a file name into a variable name

Usage

create.variable.name(filename, prefix = NULL, fsep = .Platform$file.sep)

Arguments

filename
character string
prefix
character string: optional prefix to be added
fsep
character used to separate path components

Examples

Run this code
## Not run: 
# create.variable.name("C:/my-path/my-file-name.Rd",prefix="res")
# ## End(Not run)

Run the code above in your browser using DataLab