Right now I am trying to get the grab ticker
"command" function to repeat once a minute... Then figure out how to only display the last price from the ticker.
You need to set up a cron. I don't know how to do that in Windows. But in unix-like system it is easy. First you need to make an Rscript. This is just a file saying what you want R to do in a .R format. It would be cool to have it make a tweet with the current ticker. There is the twitteR package. I was playing around with this before.
Also, you could try just have R run in a loop. Have R run the ticker function, print out the data, then have it wait x
seconds and do it again.
I think adding a tweet or email using a cron job is better. Let me know if you need help with the cron setup.
to do the last price:
x <- MT.BTCUSD()