Vishal Chari
2014-Jul-29 03:05 UTC
Error in validObject(.Object) : while running rqpd package
Hi I have installed rqpd on r 2.15.1 win 7 os. after loading rqpd package i get following output Loading required package: quantreg Loading required package: SparseM Attaching package: ‘SparseM’ The following object(s) are masked from ‘package:base’: backsolve Loading required package: MatrixModels Loading required package: Matrix Loading required package: lattice Attaching package: ‘Matrix’ The following object(s) are masked from ‘package:SparseM’: det Loading required package: Formula Warning messages: 1: package ‘quantreg’ was built under R version 2.15.3 2: package ‘SparseM’ was built under R version 2.15.3 3: package ‘MatrixModels’ was built under R version 2.15.3 4: package ‘lattice’ was built under R version 2.15.3 5: package ‘Formula’ was built under R version 2.15.3 6: In rm(.First.lib, envir = myEnv) : object '.First.lib' not found whcih i fix by running following command> as.environment(match("package:rqpd", search()))<environment: package:rqpd> attr(,"name") [1] "package:rqpd" attr(,"path") [1] "C:/Users/fossil/Documents/R/win-library/2.15/rqpd" tried running example file> data(bwd) > cre.form <- dbirwt ~ smoke + dmage + agesq + novisit + pretri2 + pretri3 | momid3 | smoke + dmage + agesq > crem.fit <- rqpd(cre.form, panel(method="cre"), data=bwd)i get following error Error in validObject(.Object) : invalid class “dsparseModelMatrix” object: superclass "mMatrix" not defined in the environment of the object's class do i need to install 2.15.3? how can i solve this problem? please help thanks in advance vishal [[alternative HTML version deleted]]