New to R. My code worked fine until I updated from R 3.6.1 to R 4.0.2, getting the following error on following code:
descriptive.dt = all_sub.tbl[,lapply(.SD,summary)]
Error in dimnames(x) <- dnx : 'dimnames' applied to non-array
descriptive.dt[,c("Issuer_ID","Sector") := NULL]
descriptive.dt[,measure := c("Min","Percentile25","Median","Mean","Percentile75","Max")]
I have read bunch of things on the Q&A, still can't fix it.
Notes: all_sub.tbl
is fine, I saved it as csv. It's some data that I am trying to summarize faster in min, 25th percentile, mid, mean, 75th, max. 9 columns with approx 100 rows of data. Can't get