I am trying to open a url in a browser in MAC attempting to save a file. For example, the following link when opened in a browser will download a cvs file from google trends. However if I use the function browseURL, it does not open anything or saves anything.
URL="http://www.google.com/trends/trendsReport?hl=en-US&q=FTSE 100&date=1%2F2015 1m&cmpt=q&content=1&export=1"
browseURL(URL)
it works for webpages like (it open the page on the browser) URL="http://www.google.com" browseURL(URL)
but it doesn't work when it is the csv file of google trends. I tried to replicate the example shown here: http://www.quora.com/What-is-the-way-to-bulk-download-a-CSV-file-from-Google-Trends
Any ideas?