标签: jupyter-notebook jupyter-irkernel
我正在寻找一种在jupyter笔记本irkernel上获取当前工作笔记本的路径的方法,以简化setwd()。
setwd()
使用网状并调用python os无效。尽管它可以在python笔记本中使用。
library(reticulate) os <- import("os") os$listdir(".")