Re: [R] levels

2020-07-17 Thread andy elprama
Thanks, I will check it out. Op za 18 jul. 2020 om 00:47 schreef Chris Gordon-Smith < c.gordonsm...@gmail.com>: > There is an interesting item on stringsAsFactors in this useR! 2020 > session: > > https://www.youtube.com/watch?v=X_eDHNVceCU&feature=youtu.be > > It's about 27 minutes in. > > Chris

Re: [R] Help with read.csv.sql()

2020-07-17 Thread Bert Gunter
Is there some reason that you can't make the changes to the data frame (column names, as.date(), ...) *after* you have read all your data in? Do all your csv files use the same names and date formats? Bert Gunter "The trouble with having an open mind is that people keep coming along and stickin

[R] Help with read.csv.sql()

2020-07-17 Thread H
I have created a dataframe with columns that are characters, integers and numeric and with column names assigned by me. I am using read.csv.sql() to read portions of a number of large csv files into this dataframe, each csv file having a header row with columb names. The problem I am having is

[R] Fwd: Re: [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 Rui Barradas
Hello, Sorry, once again, this time I forgot to cc the list. See the answer to Martin Maechler's mail below. Rui Barradas Mensagem reencaminhada Assunto:Re: [R] [External] Re: read.csv fails in R console in Ubuntu terminal but works in RStudio after R 3.6.3 upgrade to

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 of

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 continuing