我正在构建一个需要我创建的数据的包(.csv文件),我想知道如何在加载包时自动使用这些文件?在代码中,选择一个?
我在我的基本功能中对这些文件的调用是:
df1<-read.csv("ngram1.csv",sep = ",",header = TRUE)
df2<-read.csv("ngram2.csv",sep = ",",header = TRUE)
df3<-read.csv("ngram3.csv",sep = ",",header = TRUE)
df4<-read.csv("ngram4.csv",sep = ",",header = TRUE)