软件包"diamonds"不可用(对于R版本3.0.0)

编程入门 行业动态 更新时间:2024-10-25 03:26:06
本文介绍了软件包"diamonds"不可用(对于R版本3.0.0)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在我的R环境中拥有Diamond包/数据集的简单方法是什么.我是RStudio(3.0)的新手

what is the easy way to have diamonds package/dataset in my R environment. I am newbie using RStudio (3.0)

> install.packages("diamonds") Warning in install.packages : package ‘diamonds’ is not available (for R version 3.0.0) Warning in install.packages : package ‘diamonds’ is not available (for R version 3.0.0)

我不想下载并重建R,如以下线程中所述 无法使用install.packages 安装R-forge软件包

I donot want to download and rebuild R as discussed in the following thread Cannot install R-forge package using install.packages

推荐答案

diamonds数据集实际上是出色的ggplot2包的一部分(顺便说一句,您可以在??diamonds中找到它).以下内容将帮助您入门:

The diamonds data set is actually part of the excellent ggplot2 package (incidentally, you can find this out with ??diamonds). The following should get you started:

install.packages('ggplot2') library('ggplot2') diamonds

更多推荐

软件包"diamonds"不可用(对于R版本3.0.0)

本文发布于:2023-06-12 23:59:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/670284.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:软件包   不可用   版本   diamonds   quot

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!