r - 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 很陌生,有点害怕。如果有人可以提供帮助,将不胜感激!
解决方案
推荐阅读
- c# - 如何在 Xamarin Forms 中更改选项卡式页面指示器的颜色
- python - 当字段为 NaN 时,是否有可能在插入字符串时将字段设为空白?
- javascript - Flask + jQuery:线程完成后渲染不同的模板
- javascript - 在 js 中平移和缩放“无限”方格纸背景
- python - 根据匹配的选定列清理和重新排序两个数组的最有效方法
- node.js - Nuxt 致命错误 - 导出中未定义子路径“./package.json”
- influxdb - Influx (2.x) 列出身份验证令牌
- php - Laravel 任何带有可选 GET 参数的路由
- python - 浏览列表,每当出现特定类别的数字时,创建其他类别的最新数字列表
- google-cloud-data-fusion - 替换数据融合牧马人中的点不起作用