Finally able to download csv in R