R lapack routines cannot be loaded when using dtwclust - r

I am using shape method in dtwclust package. When I run the following code:
data(uciCT)
hc.sbd <- tsclust(CharTraj, type = "hierarchical",
k = 20L, distance = "sbd",
preproc = zscore, centroid = shape_extraction,
seed = 320L)
I have the following error information:
Error in eigen(M) : LAPACK routines cannot be loaded
In addition: Warning message:
In eigen(M) :
unable to load shared object '//PAPER/fchen4/R/R-3.3.2/modules/x64/lapack.dll':
`maximal number of DLLs reached...
After I use library(mgcv), I have got:
Error in eigen(M) : LAPACK routines cannot be loaded
How can I fix this error? I have tried the answers in R lapack routines cannot be loaded. But they do not work for me. I have also updated all the packages. But still cannot work.
The information from sessionInfo() is:
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
locale:
[1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252 LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
[5] LC_TIME=English_Australia.1252
attached base packages:
[1] parallel splines stats graphics grDevices utils datasets methods base
other attached packages:
[1] mgcv_1.8-17 nlme_3.1-131 dtwclust_3.1.2 dtw_1.18-1 clue_0.3-53
[6] ROSE_0.0-3 scatterplot3d_0.3-39 plot3D_1.1 ggrepel_0.6.5 pdfCluster_1.0-2
[11] pastecs_1.3-18 boot_1.3-18 geosphere_1.5-5 sp_1.2-4 XLConnect_0.2-12
[16] XLConnectJars_0.2-12 ica_1.0-1 visNetwork_1.0.3 igraph_1.0.1 Barnard_1.8
[21] Kendall_2.2 pspearman_0.3-0 FSelector_0.21 dunn.test_1.3.4 randomUniformForest_1.1.5
[26] dbscan_1.1-1 Hmisc_4.0-2 Formula_1.2-1 xgboost_0.6-4 doParallel_1.0.10
[31] iterators_1.0.8 foreach_1.4.3 corrplot_0.77 gbm_2.1.3 survival_2.41-3
[36] AppliedPredictiveModeling_1.1-6 e1071_1.6-8 mlbench_2.1-1 caret_6.0-73 lattice_0.20-35
[41] fpc_2.1-10 devtools_1.12.0 lubridate_1.6.0 ggmap_2.6.1 gridExtra_2.2.1
[46] leaflet_1.1.0 qdap_2.2.5 RColorBrewer_1.1-2 qdapTools_1.3.1 qdapRegex_0.6.0
[51] qdapDictionaries_1.0.6 stringr_1.2.0 xtable_1.8-2 tidyr_0.6.1 scales_0.4.1
[56] plotly_4.5.6 ggplot2_2.2.1 psych_1.7.3.21 mxnet_0.9.4 randomForest_4.6-12
[61] cluster_2.0.6 pROC_1.9.1 openxlsx_4.0.17 proxy_0.4-17 dplyr_0.5.0
[66] plyr_1.8.4
loaded via a namespace (and not attached):
[1] backports_1.0.5 lazyeval_0.2.0 entropy_1.2.1 openNLP_0.2-6 crosstalk_1.0.0 digest_0.6.12 htmltools_0.3.5 gender_0.5.1
[9] gdata_2.17.0 magrittr_1.5 checkmate_1.8.2 memoise_1.0.0 xlsx_0.5.7 tm_0.7-1 wordcloud_2.5 jpeg_0.1-8
[17] colorspace_1.3-2 RWeka_0.4-33 RCurl_1.95-4.8 jsonlite_1.4 lme4_1.1-12 registry_0.3 gtable_0.2.0 MatrixModels_0.4-1
[25] car_2.1-4 kernlab_0.9-25 prabclus_2.2-6 DEoptimR_1.0-8 maps_3.1.1 SparseM_1.76 mvtnorm_1.0-6 rngtools_1.2.4
[33] DBI_0.6-1 Rcpp_0.12.10 CORElearn_1.50.3 plotrix_3.6-4 viridisLite_0.2.0 htmlTable_1.9 magic_1.5-6 foreign_0.8-67
[41] mapproj_1.2-4 mclust_5.2.3 stats4_3.3.2 htmlwidgets_0.8 httr_1.2.1 acepack_1.4.1 modeltools_0.2-21 XML_3.98-1.6
[49] rJava_0.9-8 flexmix_2.3-13 openNLPdata_1.5.3-2 nnet_7.3-12 venneuler_1.1-0 reshape2_1.4.2 munsell_0.4.3 tools_3.3.2
[57] geometry_0.3-6 knitr_1.15.1 ModelMetrics_1.1.0 robustbase_0.92-7 caTools_1.17.1 purrr_0.2.2 RgoogleMaps_1.4.1 mime_0.5
[65] quantreg_5.29 slam_0.1-40 compiler_3.3.2 flexclust_1.3-4 pbkrtest_0.4-7 png_0.1-7 tibble_1.3.0 stringi_1.1.5
[73] trimcluster_0.1-2 Matrix_1.2-8 nloptr_1.0.4 RWekajars_3.9.1-3 data.table_1.10.4 bitops_1.0-6 httpuv_1.3.3 R6_2.2.0
[81] latticeExtra_0.6-28 codetools_0.2-15 reports_0.1.4 MASS_7.3-45 gtools_3.5.0 assertthat_0.1 chron_2.3-50 proto_1.0.0
[89] xlsxjars_0.6.1 pkgmaker_0.22 rjson_0.2.15 withr_1.0.2 mnormt_1.5-5 diptest_0.75-7 grid_3.3.2 rpart_4.1-10
[97] class_7.3-14 minqa_1.2.4 misc3d_0.8-4 NLP_0.1-10 shiny_1.0.1 base64enc_0.1-3

Related

Making a waterfall chart in R using the waterfall package?

I'm trying to use the waterfall R package to create a waterfall chart, like this, per the example at this link:
category <- c("Sales", "Services", "Fixed Costs",
"Variable Costs", "Taxes")
amount <- c(101000, 52000, -23000, -15000, -10000)
income <- data.frame(category, amount)
library(ggplot2)
library(waterfalls)
waterfall(income)
But getting this error:
Error in unit(rep(just$hjust, n), "npc") : 'x' and 'units' must have length > 0
How can I make it work?
This is the output from my sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.5
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] waterfalls_0.1.2 DBI_1.0.0 ggpubr_0.2 patchwork_0.0.1 forcats_0.4.0 stringr_1.4.0 dplyr_0.8.0.1 purrr_0.3.2
[10] readr_1.3.1 tidyr_0.8.3 tibble_2.1.1 ggplot2_3.1.1 tidyverse_1.2.1 scales_1.0.0 lubridate_1.7.4 magrittr_1.5 RPresto_1.3.2
[19] knitr_1.22 extrafont_0.17 bigrquery_1.1.1
loaded via a namespace (and not attached):
[1] nlme_3.1-139 sf_0.7-4 bit64_0.9-7 httr_1.4.0 tools_3.6.0 backports_1.1.4 rgdal_1.4-3 R6_2.4.0
[9] KernSmooth_2.23-15 rgeos_0.4-3 lazyeval_0.2.2 colorspace_1.4-1 raster_2.8-19 withr_2.1.2 sp_1.3-1 tidyselect_0.2.5
[17] bit_1.1-14 curl_3.3 compiler_3.6.0 extrafontdb_1.0 cli_1.1.0 rvest_0.3.3 formatR_1.6 xml2_1.2.0
[25] labeling_0.3 dygraphs_1.1.1.6 classInt_0.3-3 digest_0.6.18 foreign_0.8-71 rmarkdown_1.12 base64enc_0.1-3 pkgconfig_2.0.2
[33] htmltools_0.3.6 jsonvalidate_1.0.0 htmlwidgets_1.3 rlang_0.3.4 readxl_1.3.1 rstudioapi_0.10 httpcode_0.2.0 shiny_1.3.2
[41] generics_0.0.2 zoo_1.8-5 jsonlite_1.6 futile.logger_1.4.3 Rcpp_1.0.1 munsell_0.5.0 yaml_2.2.0 stringi_1.4.3
[49] jqr_1.1.0 plyr_1.8.4 grid_3.6.0 settings_0.2.4 maptools_0.9-5 parallel_3.6.0 listenv_0.7.0 promises_1.0.1
[57] crayon_1.3.4 geojsonio_0.7.0 miniUI_0.1.1.1 lattice_0.20-38 haven_2.1.0 geojson_0.3.2 hms_0.4.2 pillar_1.3.1
[65] geojsonlint_0.3.0 codetools_0.2-16 futile.options_1.0.1 crul_0.7.4 glue_1.3.1 infuser_0.2.8 evaluate_0.13 V8_2.2
[73] lambda.r_1.2.3 modelr_0.1.4 png_0.1-7 httpuv_1.5.1 Rttf2pt1_1.3.7 cellranger_1.1.0 gtable_0.3.0 future_1.12.0
[81] RDruid_0.2.3 assertthat_0.2.1 xfun_0.6 mime_0.6 xtable_1.8-4 broom_0.5.2 e1071_1.7-1 later_0.8.0
[89] class_7.3-15 units_0.6-2 globals_0.12.4
I just found that not loading my company's internal package actually fixes this issue. There must be a function in my company's package that's breaking this package.

render / build_site not working when a chunk contains ggplot images

When I try to render an rmarkdown file with a ggplot image, all the chunks work that do not contain a ggplot image and it fails without an error when it tries to run said chunk.
The output I get in my terminal is
Killed
It runs fine on my local machine with the latest version of R and all the packages updated.
Below is the environment I am using in docker to try to run the same thing (when it fails).
R version 3.4.1 (2017-06-30)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Amazon Linux AMI 2017.09
Matrix products: default
BLAS/LAPACK: /usr/lib64/R/lib/libRblas.so
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] bindrcpp_0.2.2 blogdown_0.10 rmarkdown_1.11 here_0.1
[5] PRROC_1.3.1 DT_0.5 forcats_0.3.0
stringr_1.3.1
[9] dplyr_0.7.8 purrr_0.2.5 readr_1.3.1
tidyr_0.8.2
[13] tibble_2.0.1 ggplot2_3.1.0 tidyverse_1.2.1
data.table_1.12.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.0 lubridate_1.7.4 lattice_0.20-35
assertthat_0.2.0
[5] rprojroot_1.3-2 digest_0.6.18 mime_0.6 R6_2.3.0
[9] cellranger_1.1.0 plyr_1.8.4 backports_1.1.3 evaluate_0.12
[13] httr_1.4.0 pillar_1.3.1 rlang_0.3.1
lazyeval_0.2.1
[17] readxl_1.2.0 rstudioapi_0.9.0 Matrix_1.2-10
reticulate_1.10
[21] htmlwidgets_1.3 munsell_0.5.0 shiny_1.2.0 broom_0.5.1
[25] compiler_3.4.1 httpuv_1.4.5.1 modelr_0.1.2 xfun_0.4
[29] pkgconfig_2.0.2 htmltools_0.3.6 tidyselect_0.2.5 crayon_1.3.4
[33] withr_2.1.2 later_0.7.5 grid_3.4.1 nlme_3.1-131
[37] jsonlite_1.6 xtable_1.8-3 gtable_0.2.0 magrittr_1.5
[41] scales_1.0.0 cli_1.0.1 stringi_1.2.4
promises_1.0.1
[45] xml2_1.2.0 generics_0.0.2 tools_3.4.1 glue_1.3.0
[49] hms_0.4.2 crosstalk_1.0.0 yaml_2.2.0
colorspace_1.4-0
[53] rvest_0.3.2 knitr_1.21 bindr_0.1.1 haven_2.0.0

Error in lm(Sales ~ Discount, data = dtsample2) : unused argument (data = dtsample2)

While executing the following for linear regression the following error is thrown. The variables are numeric in the dataset.
dtsample2 <- read.csv("dtsample2.csv")
gt <- lm(Sales ~ Discount, data = dtsample2)
Error in lm(Sales ~ Discount, data = dtsample2) : unused argument
(data = dtsample2)
Please find the session info below.
sessionInfo()
R version 3.4.1 (2017-06-30)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 7 (build 7601) Service Pack 1
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] tcltk stats4 grid splines stats graphics grDevices utils datasets methods
[11] base
other attached packages:
[1] RcmdrPlugin.FuzzyClust_1.1 FactoMineR_1.36 RcmdrPlugin.EZR_1.35
[4] Hmisc_4.0-3 Formula_1.2-2 xtable_1.8-2
[7] forecast_8.1 xts_0.10-0 zoo_1.8-0
[10] tseries_0.10-42 TeachingDemos_2.10 RcmdrPlugin.EcoVirtual_1.0
[13] EcoVirtual_1.0 RcmdrPlugin.EBM_1.0-10 epiR_0.9-87
[16] RcmdrPlugin.EACSPIR_0.2-2 reshape_0.8.6 nortest_1.0-4
[19] ez_4.4-0 abind_1.4-5 R2HTML_2.3.2
[22] RcmdrPlugin.doex_0.2.0 RcmdrPlugin.DoE_0.12-3 relimp_1.0-5
[25] DoE.wrapper_0.8-10 rsm_2.8 FrF2_1.7-2
[28] DoE.base_0.30 conf.design_2.0.0 RcmdrPlugin.depthTools_1.3
[31] depthTools_0.4 RcmdrPlugin.coin_1.0-22 multcomp_1.4-6
[34] TH.data_1.0-8 mvtnorm_1.0-6 coin_1.2-0
[37] survival_2.41-3 biclust_1.2.0 colorspace_1.3-2
[40] MASS_7.3-47 RcmdrPlugin.BCA_0.9-8 flexclust_1.3-4
[43] modeltools_0.2-21 lattice_0.20-35 BCA_0.9-3
[46] Rcmdr_2.3-2 RcmdrMisc_1.0-5 sandwich_2.3-4
[49] car_2.1-5 ggthemes_3.4.0 ggplot2_2.2.1
[52] e1071_1.6-8 dplyr_0.7.1 rJava_0.9-8
[55] ModelMetrics_1.1.0 lme4_1.1-13 arules_1.5-2
[58] Matrix_1.2-10 ROCR_1.0-7 gplots_3.0.1
[61] RSQLite_2.0
loaded via a namespace (and not attached):
[1] stringr_1.2.0 gdata_2.18.0 gtools_3.5.0
[4] bindrcpp_0.2 rlang_0.1.1 htmlTable_1.9
[7] iterators_1.0.8 mgcv_1.8-17 blob_1.1.0
[10] bitops_1.0-6 base64enc_0.1-3 quantreg_5.33
[13] reshape2_1.4.2 R6_2.2.2 bit_1.1-12
[16] clue_0.3-53 plyr_1.8.4 tkrplot_0.0-23
[19] stringi_1.1.5 tcltk2_1.2-11 BsMD_2013.0718
[22] rpart.plot_2.1.2 munsell_0.4.3 vcd_1.4-3
[25] MatrixModels_0.4-1 ggthemr_1.1.0 htmlwidgets_0.9
[28] leaps_3.0 quadprog_1.5-5 quantmod_0.4-10
[31] pbkrtest_0.4-7 DBI_0.7 memoise_1.1.0
[34] bindr_0.1 foreign_0.8-69 pkgconfig_2.0.1
[37] BiasedUrn_1.07 tools_3.4.1 acepack_1.4.1
[40] SparseM_1.77 clv_0.3-2.1 cluster_2.0.6
[43] compiler_3.4.1 assertthat_0.2.0 caTools_1.17.1
[46] igraph_1.0.1 gtable_0.2.0 RcmdrPlugin.epack_1.2.5
[49] glue_1.1.1 readxl_1.0.0 digest_0.6.12
[52] RColorBrewer_1.1-2 knitr_1.16 doParallel_1.0.10
[55] htmltools_0.3.6 KernSmooth_2.23-15 DiceDesign_1.7
[58] data.table_1.10.4 lmtest_0.9-35 foreach_1.4.3
[61] sfsmisc_1.1-1 flashClust_1.01-2 RcmdrPlugin.FactoMineR_1.6-0
[64] fracdiff_1.4-2 backports_1.1.0 lazyeval_0.2.0
[67] magrittr_1.5 AlgDesign_1.1-7.3 checkmate_1.8.3
[70] estimability_1.2 minqa_1.2.4 timeDate_3012.100
[73] Rcpp_0.12.12 coda_0.19-1 bit64_0.9-7
[76] scales_0.4.1 TTR_0.23-2 lsmeans_2.26-3
[79] nloptr_1.0.4 combinat_0.0-8 tibble_1.3.3
[82] latticeExtra_0.6-28 RcmdrPlugin.Export_0.3-1 cellranger_1.1.0
[85] nnet_7.3-12 codetools_0.2-15 curl_2.7
[88] gridExtra_2.2.1 nlme_3.1-131 class_7.3-14
[91] parallel_3.4.1 lhs_0.14 rpart_4.1-11
[94] scatterplot3d_0.3-40
It may happen because you defined yearlier custom lm function by yourself and/or some package with specific lm definition had overriden base::lm.
You can call rm(list = ls()) as well restart your R session to
avoid this kind of behaviour.
Or you can call gt <- base::lm(Sales ~ Discount, data = dtsample2) to call lm from base package with desired functionality.
Please see the example how it happens:
lm <- function(x) {
0
}
lm(x ~ y, data = df)
# Error in lm(x ~ y, data = df) : unused argument (data = df)

Shiny Apps Error in R Studio

My Shiny apps had been running fine until last week.
I am trying to run the apps today and getting errors in most of them :
Below is the error and my sessionInfo.
I am using Shinydashboard and other shiny libraries to render an app.
Error in withReactiveDomain(shinysession, { :
No handler registered for for type file1:shiny.file
sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.1 (Yosemite)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] parallel stats4 grid stats graphics grDevices utils datasets methods base
other attached packages:
[1] locfit_1.5-9.1 ggbiplot_0.55 scales_0.4.0
[4] chimera_1.14.0 Homo.sapiens_1.3.1 org.Hs.eg.db_3.3.0
[7] GO.db_3.3.0 OrganismDbi_1.14.1 TxDb.Hsapiens.UCSC.hg19.knownGene_3.2.2
[10] GenomicFeatures_1.24.5 BSgenome.Hsapiens.UCSC.hg19_1.4.0 BSgenome_1.40.1
[13] rtracklayer_1.32.2 AnnotationDbi_1.34.4 GenomicAlignments_1.8.4
[16] Rsamtools_1.24.0 Biostrings_2.40.2 XVector_0.12.1
[19] BiocInstaller_1.22.3 gTrack_0.1.0 gUtils_0.2.0
[22] data.table_1.9.6 stringr_1.1.0 devtools_1.12.0
[25] reshape_0.8.5 DESeq2_1.12.4 SummarizedExperiment_1.2.3
[28] Biobase_2.32.0 GenomicRanges_1.24.3 GenomeInfoDb_1.8.7
[31] IRanges_2.6.1 S4Vectors_0.10.3 BiocGenerics_0.18.0
[34] xlsx_0.5.7 xlsxjars_0.6.1 rJava_0.9-8
[37] shinydashboard_0.5.3 DT_0.2 shiny_0.14.1
[40] ggplot2_2.1.0 sva_3.20.0 genefilter_1.54.2
[43] mgcv_1.8-15 nlme_3.1-128 matrixStats_0.51.0
[46] pvclust_2.0-0 gplots_3.0.1 reshape2_1.4.1
[49] plyr_1.8.4 ComplexHeatmap_1.11.7
loaded via a namespace (and not attached):
[1] colorspace_1.2-7 rjson_0.2.15 class_7.3-14 modeltools_0.2-21 mclust_5.2
[6] circlize_0.3.9 GlobalOptions_0.0.10 flexmix_2.3-13 mvtnorm_1.0-5 splines_3.3.1
[11] robustbase_0.92-6 geneplotter_1.50.0 Formula_1.2-1 jsonlite_1.1 annotate_1.50.1
[16] cluster_2.0.5 kernlab_0.9-25 graph_1.50.0 httr_1.2.1 Matrix_1.2-7.1
[21] acepack_1.3-3.3 htmltools_0.3.5 tools_3.3.1 gtable_0.2.0 Rcpp_0.12.7
[26] trimcluster_0.1-2 gdata_2.17.0 fpc_2.1-10 mime_0.5 gtools_3.5.0
[31] XML_3.98-1.4 dendextend_1.3.0 DEoptimR_1.0-6 zlibbioc_1.18.0 MASS_7.3-45
[36] RBGL_1.48.1 RColorBrewer_1.1-2 yaml_2.1.13 curl_2.1 memoise_1.0.0
[41] gridExtra_2.2.1 biomaRt_2.28.0 rpart_4.1-10 latticeExtra_0.6-28 stringi_1.1.2
[46] RSQLite_1.0.0 caTools_1.17.1 BiocParallel_1.6.6 shape_1.4.2 chron_2.3-47
[51] prabclus_2.2-6 bitops_1.0-6 lattice_0.20-34 htmlwidgets_0.7 labeling_0.3
[56] magrittr_1.5 R6_2.2.0 Hmisc_3.17-4 DBI_0.5-1 whisker_0.3-2
[61] foreign_0.8-67 withr_1.0.2 survival_2.39-5 RCurl_1.95-4.8 nnet_7.3-12
[66] KernSmooth_2.23-15 GetoptLong_0.1.5 git2r_0.15.0 digest_0.6.10 diptest_0.75-7
[71] xtable_1.8-2 httpuv_1.3.3 munsell_0.4.3
Any idea,what this could be?
Thanks,
Ron
Shiny version 0.14.2 was published last week (along with new versions of R and RStudio). Maybe this broke something in your code. One way to protect against this is to use something like packrat package that locks in a certain version of an R package so that your code is not changed by a new package. You can then test your code against an upgrade and troubleshoot before using that new version.
Restarting R studio worked.There was no need to update any packages.

MLSeq package error

I would like to use MLSeq package but I am getting this error.
library(MLSeq)
Error : object ‘bag.default’ is not exported by 'namespace:caret'
Error: package or namespace load failed for ‘MLSeq’
How can I overcome this error?
sessionInfo() R version 3.3.1 (2016-06-21) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X 10.12.1 (Sierra)
Output:
locale: [1]
en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/en_CA.UTF-8/en_CA.UTF-8
attached base packages: [1] parallel stats4 stats graphics
grDevices utils datasets methods base
other attached packages: [1] edgeR_3.14.0
randomForest_4.6-12 limma_3.28.21 DESeq2_1.12.4
SummarizedExperiment_1.2.3 Biobase_2.32.0
GenomicRanges_1.24.3 [8] GenomeInfoDb_1.8.7
IRanges_2.6.1 S4Vectors_0.10.3
BiocGenerics_0.18.0 caret_6.0-72 ggplot2_2.1.0
lattice_0.20-34
loaded via a namespace (and not attached): [1] Rcpp_0.12.7
locfit_1.5-9.1 digest_0.6.10 foreach_1.4.3
plyr_1.8.4 chron_2.3-47 acepack_1.4.1
MatrixModels_0.4-1 RSQLite_1.0.0 [10] zlibbioc_1.18.0
minqa_1.2.4 data.table_1.9.6 annotate_1.50.1
SparseM_1.72 car_2.1-3 nloptr_1.0.4
rpart_4.1-10 Matrix_1.2-7.1 [19] splines_3.3.1
lme4_1.1-12 BiocParallel_1.6.6 geneplotter_1.50.0
stringr_1.1.0 foreign_0.8-67 RCurl_1.95-4.8
munsell_0.4.3 mgcv_1.8-15 [28] htmltools_0.3.5
nnet_7.3-12 gridExtra_2.2.1 htmlTable_1.7
Hmisc_4.0-0 codetools_0.2-15 XML_3.98-1.4
MASS_7.3-45 bitops_1.0-6 [37] ModelMetrics_1.1.0
grid_3.3.1 nlme_3.1-128 xtable_1.8-2
gtable_0.2.0 DBI_0.5-1 magrittr_1.5
scales_0.4.0 stringi_1.1.2 [46] XVector_0.12.1
reshape2_1.4.2 genefilter_1.54.2 latticeExtra_0.6-28
Formula_1.2-1 RColorBrewer_1.1-2 iterators_1.0.8
tools_3.3.1 pbkrtest_0.4-6 [55] survival_2.40-1
AnnotationDbi_1.34.4 colorspace_1.2-7 cluster_2.0.5
knitr_1.14 quantreg_5.29
The error arises from importing "bag.default" function in caret. NAMESPACE is fixed in the development version 1.15.1. You can download the source files from https://github.com/Bioconductor-mirror/MLSeq. With the upcoming version 1.16.0, namespace error will be fixed in the released version.

Resources