【发布时间】:2019-10-22 18:36:56
【问题描述】:
我有一个数据框t1如下:
V1 V2
1 1 83.60687
2 2 83.90725
3 3 84.03346
4 4 85.89171
我想使用 ggplot 绘制 V2 与 V1,但无法做到:
library(ggplot2)
ggplot(data = t1, aes(x = V1, y = V2)) +
geom_point()
它给了我一个错误说:
readRDS(nsInfoFilePath) 中的错误:从连接读取错误 另外:警告信息: 在 readRDS(nsInfoFilePath) 中:读取文件时出错
如何绘制我的数据点?提前致谢。
【问题讨论】:
-
软件包已损坏 - 请参阅 r.789695.n4.nabble.com/… - 尝试重新安装 ggplot2
-
我重新安装了它,但没有成功。
-
可能是 ggplot2 正在使用的包 - 其中有很多。如果您使用的不是最新版本的 R,这将是升级的好时机。
标签: r ggplot2 plot rstudio data-visualization