Made small edits to the R files

The Paths will have to be reproduced and since everything will be in the same folder in unix. So the file paths will assume it