Using lassosum in Rscript
choishingwan opened this issue · 0 comments
choishingwan commented
One might encounter the following error when using lassosum in a Rscript with R version < 3.4.0
Error in validObject(.Object) :
invalid class “ddiMatrix” object: Not a valid 'Mnumeric' class object
This is because of some strange versioning problem and can be solved by also including
library(methods)
in the beginning of your Rscript (Or just use R >= 3.4.0), just in case anyone else encountered the same problem...