首页 > 解决方案 > Jupyter 中的 Rbokeh 错误:“没有这样的文件或目录”

问题描述

我在带有 R 的 Jupyter 中使用 Rbokeh 时遇到了一些问题(所有其他包都可以正常工作)。本质上,当我尝试运行 Rbokeh 绘图时,我收到了这个看起来很吓人的错误消息:

Warning message in read.dcf(file.path(p, "DESCRIPTION"), c("Package", "Version")):
“cannot open compressed file '~/anaconda3/lib/R/library/rbokeh/DESCRIPTION', probable reason 'No such file or directory'”Warning message in read.dcf(file.path(p, "DESCRIPTION"), c("Package", "Version")):
“cannot open compressed file '~/anaconda3/lib/R/library/rbokeh/DESCRIPTION', probable reason 'No such file or directory'”

我已经安装了来自 Anaconda 的 R 包和 R Essentials。在那里,它们显示为已安装,但是当我在上面的文件路径中查找它们时,我看不到它们。我错过了一些明显的东西吗?我的代码看起来像这样。

library(readxl)
library(rbokeh)

df <- read_xlsx("~/df.xlsx")

p <- figure() %>%
ly_points(x, y, data = df)
p

我对 Anaconda 很陌生,有点害怕。如果有人可以提供帮助,将不胜感激!

标签: rjupyterrbokeh

解决方案


推荐阅读