坐山雕

导航

Rstudio R get filename full path

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

posted on 2021-06-01 19:30  坐山雕  阅读(50)  评论(0编辑  收藏  举报