R语言在不需要加载任何包的情况下,内置了很多语句可以进行数据集处理,这种处理也叫做Base r语句,下面是Base r语句在数据处理基本范式中的应用。

rm(list = ls())

数据集基本探索,str, summary, head

str(iris)
summary(iris)
head(iris)

基本范式实现

创建

外部导入

write.csv(), read.csv()

内部创建