Learn R Programming

rmdHelpers (version 1.3.1)

thisfile_knit: Identify the file currently being knitted

Description

Identifies the file that knitr is processing when the function is called.

Usage

thisfile_knit()

Arguments

Value

Returns the current file name

Author

Mark Peterson

References

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

See Also

thisFileName

Examples

Run this code
thisfile_knit()

Run the code above in your browser using DataLab