r-4.0.0

read.csv doesn't seem to detect factors in R 4.0.0

落花浮王杯 提交于 2020-07-25 06:28:16
问题 I've recently updated to R 4.0.0 from R 3.5.1. The behaviour of read.csv seems to have changed - when I load .csv files in R 4.0.0 factors are not automatically detected, instead being recognised as characters. I'm also still running 3.5.1 on my machine, and when loading the same files in 3.5.1 using the same code, factors are recognised as factors. This is somewhat suboptimal. Any suggestions? I'm running Windows 10 Pro and create .csv files in Excel 2013. 回答1: As Ronak Shah said in a

read.csv doesn't seem to detect factors in R 4.0.0

安稳与你 提交于 2020-07-25 06:27:16
问题 I've recently updated to R 4.0.0 from R 3.5.1. The behaviour of read.csv seems to have changed - when I load .csv files in R 4.0.0 factors are not automatically detected, instead being recognised as characters. I'm also still running 3.5.1 on my machine, and when loading the same files in 3.5.1 using the same code, factors are recognised as factors. This is somewhat suboptimal. Any suggestions? I'm running Windows 10 Pro and create .csv files in Excel 2013. 回答1: As Ronak Shah said in a

read.csv doesn't seem to detect factors in R 4.0.0

百般思念 提交于 2020-07-25 06:26:39
问题 I've recently updated to R 4.0.0 from R 3.5.1. The behaviour of read.csv seems to have changed - when I load .csv files in R 4.0.0 factors are not automatically detected, instead being recognised as characters. I'm also still running 3.5.1 on my machine, and when loading the same files in 3.5.1 using the same code, factors are recognised as factors. This is somewhat suboptimal. Any suggestions? I'm running Windows 10 Pro and create .csv files in Excel 2013. 回答1: As Ronak Shah said in a