R.matlab icon indicating copy to clipboard operation
R.matlab copied to clipboard

Unknown errors

Open cwliu007 opened this issue 2 years ago • 0 comments

Dear Bengtsson ,

I run writeMat("test.mat",gelman=gelman_summary) but got an unknown errors:

Error in array(x, c(length(x), 1L), if (!is.null(names(x))) list(names(x), : 'data' must be of a vector type, was 'NULL'

The gelman_summary is the results of Gelman and Rubin's diagnostic obtained from coda package (also see https://rdrr.io/cran/coda/src/R/gelman.R).

I attach the the variable gelman_summary below. Load it by readRDS("gelman_summary.txt") gelman_summary.txt

Hope you could give me advice how to avoid this errors. Thank you for the great package!

Best, Keith

cwliu007 avatar Dec 13 '22 04:12 cwliu007