create.variable.name | R Documentation |
Convert a file name into a variable name
create.variable.name(filename, prefix = NULL, fsep = .Platform$file.sep)
filename |
character string |
prefix |
character string: optional prefix to be added |
fsep |
character used to separate path components |
character string: a variable name, see example below
## Not run:
create.variable.name("C:/my-path/my-file-name.Rd",prefix="res")
# Result: "res.my.file.name"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.