学习R语言和Rstudio安装及使用
1.安装R和Rstudio
通过网络下载咋win10安装
2.画图
plot(rnorm(50)) #必应查查plot和runif什么意思
boxplot(iris$Sepal.Length~iris$Species,col = c("lightblue","lightyellow","lightpink"))
3.R语言基本操作
3.1用Rproject管理工作目录
https://mp.weixin.qq.com/s/G-LXN9P2HVLv9v0cvyFJMA
3.2显示文件列表
dir()
list.file()
4.赋值及删除变量
x <-3+8
rm(x)
rm(list = ls())#清空所有变量
5.列出历史命令和清空控制台
history()
ctrl+l