Re: [R] [External] Re: read.csv fails in R console in Ubuntu terminal but works in RStudio after R 3.6.3 upgrade to R 4.0.2?

2020-07-18 Thread Sam H
This issue was now solved in TTR::stockSymbols() by package author https://github.com/joshuaulrich/TTR/commit/98dec2b5aa68c3cee750397c7d11b164895e0140 Thanks for all the help and ideas. Best, Sam On Fri, Jul 17, 2020, 13:54 Sam H wrote: > Hello, > > Thank you very much to you all to look into

Re: [R] [External] Re: read.csv fails in R console in Ubuntu terminal but works in RStudio after R 3.6.3 upgrade to R 4.0.2?

2020-07-17 Thread Rasmus Liland
On 2020-07-17 07:54 -0400, Sam H wrote: | On 2020-07-17 09:30 +0100, ruipbarradas wrote: | | On 2020-07-16 20:59 -0500, luke-tier...@uiowa.edu wrote: | | | Às 08:45 de 15/07/20, Sam H escreveu: | | | | Hi, | | | | | | | | I am trying to download some | | | | data using read.csv and it works | |

Re: [R] [External] Re: read.csv fails in R console in Ubuntu terminal but works in RStudio after R 3.6.3 upgrade to R 4.0.2?

2020-07-17 Thread Sam H
Hello, Thank you very much to you all to look into this. I came across this problem when I was using TTR::stockSymbols() ( https://github.com/joshuaulrich/TTR/blob/e6609b9f7621f3a4b1a204c159af61aebc89997e/R/WebData.R) . As a workaround I added this function to my private R package and instead

Re: [R] [External] Re: read.csv fails in R console in Ubuntu terminal but works in RStudio after R 3.6.3 upgrade to R 4.0.2?

2020-07-17 Thread ruipbarradas
Hello,Yes, I thought it's a site policy issue too. But the file can be accessed and read/downloaded from RStudio and Firefox so apparently there's no reason why R console shouldn't .Anyway, I believe it's time for the OP to say someyhing, maybe he has solved it and there's no point in

Re: [R] [External] Re: read.csv fails in R console in Ubuntu terminal but works in RStudio after R 3.6.3 upgrade to R 4.0.2?

2020-07-16 Thread luke-tierney
On my Ubuntu system the download with read.csv succeeds in an R console if I set the HTTPUserAgent and download.file.method options to match the ones used by RStudio. Given how picky the server is being I would worry about whether this use is in line with the site's terms of service. Best,