Is R having ageing problems? The frequency of problems with my packages loading etc has become so bad that I had to just do a clean re-install recently and only re-load packages as I need them. My latest issue is with read.csv - This was my preferred method for importing data to R for years but suddenly it no longer works. It turns any numeric data into a factor and the only solution seems to be:
dat = read.csv2(file.choose(), header = T, stringsAsFactors=F)
dat$LAI1 = as.numeric(dat$LAI1)
dat$LAI2 = as.numeric(dat$LAI2)
dat$LAI3 = as.numeric(dat$LAI3)
As the number of columns with numeric data increases, this becomes a very onerous task before I can even start analysing my data. Dont get me started on importing time and date data! Its becoming a nightmare. Any suggestions?