So, I installed my working directory, a folder called "Ril_1".
setwd("~/Dropbox/Ril_1/")
There are two .R script files in this โRil_1โ folder, another folder named โScoreโ and another folder named โSetupโ. There are 21 TXT files in the โScoreโ and โSetupโ folders, which I would like to display as a list of 21 data frames, each .txt file is a data frame.
To do this, I installed the working directory three times ...
setwd("~/Dropbox/Ril_1/")
setwd("~/Dropbox/Ril_1/Score")
#read in .txt files from "Score" file
setwd("~/Dropbox/Ril_1/Setup")
#now read in .txt files from "Setup" file
Is there a way to set the working directory to the "Ril_1" folder, and then read the data in the "Assessment" and "Settings" folders (listing each of them as a list of 21 data frames), as well as two .R script files?
Thank you in advance!
source
share