R View()函数不显示数据框
R View() function does not show data frame
我在 Linux Ubuntu 机器上使用 R(版本 3.1.2)和 RStudio(版本 0.98.1091)。我在变量中加载了一个 csv 文件:
rr <- read.csv("/home/user/seconds.csv")
当我调用 View(rr)
时,我希望打开一个新选项卡并在 rr 变量中显示 CSV 数据。但是,它会打开一个名为 rr 的新选项卡并显示以下消息。
/content?title=rr&file=94af460bd6644d3aaac734d585046c4f.htm not found
View 函数来自软件包 'utils',您正在使用的 R 版本不支持它。
我在 x86_64-w64-mingw32 系统上使用 R 版本 3.4.1,但我想分享一个简单的解决方案,让 View 在我的案例中再次工作。
按照 Tian 关于 Rstudio 支持 (https://support.rstudio.com/hc/en-us/community/posts/115007743908-The-Rstudio-view-not-work-just-blank-) 的第 4 步建议,我输入了:
install.packages("dplyr", dependencies = TRUE)
现在可以了。
我在 Linux Ubuntu 机器上使用 R(版本 3.1.2)和 RStudio(版本 0.98.1091)。我在变量中加载了一个 csv 文件:
rr <- read.csv("/home/user/seconds.csv")
当我调用 View(rr)
时,我希望打开一个新选项卡并在 rr 变量中显示 CSV 数据。但是,它会打开一个名为 rr 的新选项卡并显示以下消息。
/content?title=rr&file=94af460bd6644d3aaac734d585046c4f.htm not found
View 函数来自软件包 'utils',您正在使用的 R 版本不支持它。
我在 x86_64-w64-mingw32 系统上使用 R 版本 3.4.1,但我想分享一个简单的解决方案,让 View 在我的案例中再次工作。
按照 Tian 关于 Rstudio 支持 (https://support.rstudio.com/hc/en-us/community/posts/115007743908-The-Rstudio-view-not-work-just-blank-) 的第 4 步建议,我输入了:
install.packages("dplyr", dependencies = TRUE)
现在可以了。