lassosum icon indicating copy to clipboard operation
lassosum copied to clipboard

Using lassosum in Rscript

Open choishingwan opened this issue 6 years ago • 0 comments

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...

choishingwan avatar Feb 22 '18 15:02 choishingwan