I have searched around on how to do this on here and none have really solved my problem. Partially because i do not understand what is going on....unfortunately

I have an Rscript I am trying to schedule to run every day called: `JASON.r`

the code inside the script is the following:

```
setwd("/Volumes/3TB/")
install.packages("quantmod");library("quantmod")
getSymbols("AAPL")
write.csv(AAPL,"/Volumes/3TB/AAPL.csv")
quit(save='no')

```

I have found [THIS PAGE](https://tgmstat.wordpress.com/2013/09/11/schedule-rscript-with-cron/) on how to do so, but i have been not been successful.
What I do is open terminal and type:

`Jason-Guevaras-iMac:~ rimeallthetime$ sudo crontab -e`

for which it returns the following:

```
crontab: no crontab for root - using an empty one

~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
"/tmp/crontab.fwiSAwWI4R" 0L, 0C

```

So then I came across [THIS POST](https://superuser.com/questions/201172/mac-crontab-is-never-created) which had similar issues and when I type:

```
Jason-Guevaras-iMac:~ rimeallthetime$ sudo su -
Jason-Guevaras-iMac:~ root# crontab -u rimeallthetime -e
crontab: no crontab for rimeallthetime - using an empty one

~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
"/tmp/crontab.L1nPwJdBRi" 0L, 0C

```

That is where I am at currently....

I have MAC OSX El Capitan version 10.11.4