Learn R Programming

rmdHelpers (version 1.3.1)

thisFileName: Identify current file

Description

Identify the file currently being processed

Usage

thisFileName()

Arguments

Value

The current file name

Details

Currently only works for files being processed with knit; may try to add more

References

Based on https://github.com/krlmlr/kimisc/blob/master/R/thisfile.R

See Also

thisfile_knit

Examples

Run this code
thisFileName()

Run the code above in your browser using DataLab