为什么抛出错误:函数selectFile在RStudio中找不到?
install.packages("rstudioapi")
library(rstudioapi)
file_name = rstudioapi::selectFile(caption = "Select File", label = "Select", path = NULL,filter = NULL, existing = TRUE)发布于 2019-04-22 20:29:03
来自?selectFile页面
selectFile和selectDirectory函数是在RStudio的1.1.287版本中添加的。
因此,如果您使用的是RStudio: Version 1.0.136,那么这些函数将无法工作。您需要将RStudio更新为较新的版本。
https://stackoverflow.com/questions/55763084
复制相似问题