The script is run by commandline command R -f run_analysis.R - great way to get the output file. Source folder location is programmed in script's datafolder variable that you can change any time you want. After running the script you will find file named TIDY_DATASET_UCI in the same directory where the script has been invoked from; you can read that file with R's finest read.table function and examine content.