FILENAME=basename(rstudioapi::getActiveDocumentContext()$path)
FULLPATH=dirname(rstudioapi::getActiveDocumentContext()$path)
FILENAME
FULLPATH

相关文章: