我是编程新手,在将许多csv文件放入R中时遇到一些困难。 我创建了一个要传递到R中的csv文件的列表,我想为每个文件创建一个数据框对象。
index <- c("Small Cap Index Historical Data.csv", "Real Estate Historical Data.csv", "Public Utilities Historical Data.csv", "Mid-Large Cap Index Historical Data.csv", "Financials Historical Data.csv", "Corporate Sustainability Historical Data.csv", "Consumption Historical Data.csv", "Carbon Efficient Historical Data.csv", "Brazil Index Historical Data.csv", "Bovespa Industrial Sector Historical Data.csv", "Bovespa Historical Data.csv", "Bovespa Electrical Energy Historical Data.csv","Basic Materials Historical Data.csv")
如上所述,我想为每个资产创建一个数据框对象。
你能帮我吗?
请,如果我不清楚,请告诉我。