View source: R/CreateOutputFileName.R
CreateOutputFileName | R Documentation |
Create output file name based on the input file name.
CreateOutputFileName(
inputFileName,
outputPath = dirname(inputFileName),
prefix = "",
suffix = "",
extension = "txt"
)
inputFileName |
Input file name. Required. |
outputPath |
Output path for the file. Optional.
Default = |
prefix |
String to add at the beginning of the file name. Optional. Default = "". |
suffix |
String to add at end beginning of the file name. Optional. Default = "". |
extension |
File extension. Optional. Default = "txt". |
File name
CreateOutputFileName(inputFileName = "test.xlsx")
CreateOutputFileName(inputFileName = "C:/Files/test.xlsx")
CreateOutputFileName(inputFileName = "C:/Files/test.xlsx", prefix = "Output_")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.