All project-related materials in the UCI HAR Dataset directory
- Unzip the source (https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip)
- Put run_analysis.R into the same folder
- Use the setWP function
- Call the source using the source function
- The output file will be averages.txt and mergedclean.txt (you can use read.table on it if you want)