I am putting some files together using the following code:
data_path <- "daymet"
files <- dir(data_path, pattern = "*.csv")
daymet <- data_frame(filename = files) %>%
mutate(file_contents = map(filename, ~ read_csv(file.path(data_path, .),
skip=7)))%>%
unnest()%>%
mutate(site = str_sub(filename, 1, 3))
At first I had some problems with the error "'GAJPCSR1_2003_2011.csvMapEnv' is not an exported object from 'namespace:maps'". I reinstalled purrr. Error gone, everything worked!
I went to put this back with the rest of my analysis, cleared my environment, and when R got to this chunk, the same error message came back.
I've got all these other packages going, so it seems like one of them is not working well with purrr. Or maybe not. Even if I don't load all the packages, I still get the same error message.
Session Info:
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_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] stats graphics grDevices utils datasets methods base
other attached packages:
[1] reprex_0.1.1 mapdata_2.2-6 maps_3.2.0 ggmap_2.6.1 soilDB_1.8.5 aqp_1.10
[7] stringr_1.1.0 modelr_0.1.0 lubridate_1.6.0 dplyr_0.5.0 purrr_0.2.3 readr_1.0.0
[13] tidyr_0.6.1 tibble_1.2 ggplot2_2.2.1 tidyverse_1.1.1
loaded via a namespace (and not attached):
[1] httr_1.2.1 jsonlite_1.5 splines_3.3.2 Formula_1.2-1
[5] assertthat_0.2.0 sp_1.2-5 latticeExtra_0.6-28 backports_1.0.5
[9] lattice_0.20-34 digest_0.6.12 RColorBrewer_1.1-2 checkmate_1.8.2
[13] rvest_0.3.2 colorspace_1.3-2 htmltools_0.3.5 Matrix_1.2-7.1
[17] plyr_1.8.4 psych_1.6.12 devtools_1.12.0 clipr_0.3.3
[21] XML_3.98-1.8 broom_0.4.2 raster_2.5-8 haven_1.0.0
[25] scales_0.4.1 whisker_0.3-2 jpeg_0.1-8 htmlTable_1.9
[29] withr_1.0.2 nnet_7.3-12 lazyeval_0.2.0 mnormt_1.5-5
[33] proto_1.0.0 survival_2.41-3 magrittr_1.5 readxl_0.1.1
[37] evaluate_0.10 memoise_1.0.0 nlme_3.1-131 MASS_7.3-45
[41] forcats_0.2.0 xml2_1.1.1 foreign_0.8-67 tools_3.3.2
[45] data.table_1.10.4 hms_0.3 geosphere_1.5-5 RgoogleMaps_1.4.1
[49] munsell_0.4.3 cluster_2.0.5 plotrix_3.6-4 callr_1.0.0
[53] rlang_0.1.2 grid_3.3.2 rjson_0.2.15 htmlwidgets_0.8
[57] rmarkdown_1.5 labeling_0.3 base64enc_0.1-3 gtable_0.2.0
[61] DBI_0.5-1 reshape_0.8.6 reshape2_1.4.2 R6_2.2.0
[65] gridExtra_2.2.1 knitr_1.17 rprojroot_1.2 Hmisc_4.0-3
[69] stringi_1.1.2 parallel_3.3.2 Rcpp_0.12.10 mapproj_1.2-4
[73] rpart_4.1-10 acepack_1.4.1 png_0.1-7
You can see everything that is masking or being masked with
conflicts(detail = TRUE)
For example, in my current R session you can see below that I've been answering questions on SO because of all the generic data names in the Global Environment, df, dt, and t masking the base functions of the same name. And you can see data table's first and last masking the dplyr versions, because I loaded data.table after dplyr:
> conflicts(detail = T)
$.GlobalEnv
[1] "n" "df" "dt" "gamma" "t"
$`package:stringr`
[1] "%>%"
$`package:data.table`
[1] "between" "first" "last"
$`package:dplyr`
[1] "%>%" "between" "first" "last" "n" "filter" "lag"
[8] "intersect" "setdiff" "setequal" "union"
$`package:ggplot2`
[1] "Position"
$`package:stats`
[1] "df" "dt" "filter" "lag"
$`package:methods`
[1] "body<-" "kronecker"
$`package:base`
[1] "body<-" "gamma" "intersect" "kronecker" "Position" "setdiff" "setequal"
[8] "t" "union"
Related
I would like to save an R dataframe as a new table in an existing .mdb available here. I am getting an error message (below) and I suspect it has to do with .. ..$ supports.transactions: logi FALSE. I know I can save the dataframe as a .csv and import it into Access by hand. However, I would like my code to work for people who do not have Access software on their computer.
My connection is working and I'm able to dbReadTable from the .mdb. The .mdb I'm working with is I've tried
DBI::dbWriteTable(con,
"SSURGO_Soils_new",
value=newsoilexp)
as explained here, which results in
Error in new_result(connection#ptr, statement) :
nanodbc/nanodbc.cpp:1344: 42000: [Microsoft][ODBC Microsoft Access Driver] Syntax error in CREATE TABLE statement.
I've tried
DBI::dbWriteTable(con,
SQL("SSURGO_Soils_new"),
value=newsoilexp)
as suggested here, which results in
Error in connection_sql_tables(conn#ptr, catalog_name = if ("catalog" %in% :
nanodbc/nanodbc.cpp:4266: HYC00: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
Here is the DBI::dbGetInfo(con) output:
$dbname
[1] "C:\\SWAT\\ARCSWAT\\DATABASES\\SWAT_US_SSURGO_Soils_20190419.mdb"
$dbms.name
[1] "ACCESS"
$db.version
[1] "04.00.0000"
$username
[1] "admin"
$host
[1] ""
$port
[1] ""
$sourcename
[1] "mySSURGO"
$servername
[1] "ACCESS"
$drivername
[1] "ACEODBC.DLL"
$odbc.version
[1] "03.80.0000"
$driver.version
[1] "Microsoft Access database engine"
$odbcdriver.version
[1] "03.51"
$supports.transactions
[1] FALSE
attr(,"class")
[1] "ACCESS" "driver_info" "list"
And my sessionInfo()
R version 3.5.3 (2019-03-11)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
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] stats graphics grDevices utils datasets methods base
other attached packages:
[1] dbplyr_1.4.2 DBI_1.0.0 odbc_1.1.6 car_3.0-3 carData_3.0-2 dplyr_0.8.3
[7] ggsci_2.9 cowplot_1.0.0 ggpubr_0.2.2.999 magrittr_1.5 ggthemes_4.2.0 ggExtra_0.8
[13] devtools_2.1.0 usethis_1.5.1 ggplot2_3.1.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.2 prettyunits_1.0.2 ps_1.2.1 zeallot_0.1.0 assertthat_0.2.0
[6] rprojroot_1.3-2 digest_0.6.18 mime_0.6 cellranger_1.1.0 R6_2.3.0
[11] plyr_1.8.4 backports_1.1.4 httr_1.4.0 pillar_1.3.1 rlang_0.4.0
[16] readxl_1.3.1 lazyeval_0.2.1 curl_3.2 rstudioapi_0.8 data.table_1.12.2
[21] miniUI_0.1.1.1 blob_1.2.0 callr_3.3.1 desc_1.2.0 labeling_0.3
[26] stringr_1.3.1 foreign_0.8-72 bit_1.1-14 munsell_0.5.0 shiny_1.2.0
[31] compiler_3.5.3 httpuv_1.4.5 pkgconfig_2.0.2 pkgbuild_1.0.4 htmltools_0.3.6
[36] tidyselect_0.2.5 tibble_2.1.3 rio_0.5.16 crayon_1.3.4 withr_2.1.2
[41] later_0.7.5 grid_3.5.3 xtable_1.8-3 gtable_0.2.0 scales_1.0.0
[46] zip_2.0.3 cli_1.1.0 stringi_1.2.4 ggsignif_0.6.0 fs_1.3.1
[51] promises_1.0.1 remotes_2.1.0 testthat_2.2.1 vctrs_0.2.0 openxlsx_4.1.0.1
[56] tools_3.5.3 forcats_0.3.0 bit64_0.9-7 glue_1.3.0 purrr_0.2.5
[61] hms_0.4.2 abind_1.4-5 processx_3.4.1 pkgload_1.0.2 yaml_2.2.0
[66] colorspace_1.3-2 sessioninfo_1.1.1 memoise_1.1.0 haven_2.1.0
Will dbWriteTable() work properly if supports.transactions: TRUE? If so, how do I change it to TRUE? Or maybe something else is the problem. Neither the DBI or ODBC package manuals mention supports.transactions, so I suspect my problem is rather basic. Thanks in advance.
EDIT: This post does not address my question. That post uses the older pkg RODBC and deals with appending existing tables, not writing new ones.
I have a bigdata dataset (dat1)
require (data.table)
dat1 <- fread('https://archive.ics.uci.edu/ml/machine-learning-databases/poker/poker-hand-testing.data')
I split it into 1000 subdatasets:
chunk <- 1000 ## No. of rows per chunk
n <- nrow(dat1)
r <- rep(1:floor(n/chunk),each=chunk)[1:n]
d <- split(dat1,r)
I would like to create a new list of accumulative subdatasets. So that each member in the list will include the lines of the former member and a delta of d[i+1]:
e<-list()
e[[1]]<-d[[1]]
for (i in 1:997 ) {e[[i+1]]<-bind_rows(e[[i]],d[[i+1]])}
After running a while I get the following:
Error: cannot allocate vector of size 1.8 Mb in R
Error: cannot allocate vector of size 2.0 Mb
> sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=Hebrew_Israel.1255 LC_CTYPE=Hebrew_Israel.1255 LC_MONETARY=Hebrew_Israel.1255
[4] LC_NUMERIC=C LC_TIME=Hebrew_Israel.1255
attached base packages:
[1] grid stats graphics grDevices utils datasets methods base
other attached packages:
[1] dplyr_0.5.0 rpart_4.1-10 partykit_1.1-1 plyr_1.8.4 caret_6.0-76
[6] ggplot2_2.2.1 lattice_0.20-34 data.table_1.10.4 arulesSequences_0.2-17 arules_1.5-0
[11] Matrix_1.2-7.1
loaded via a namespace (and not attached):
[1] Rcpp_0.12.11 RWeka_0.4-34 visNetwork_1.0.3 assertthat_0.2.0 digest_0.6.12 foreach_1.4.3
[7] R6_2.2.1 MatrixModels_0.4-1 stats4_3.3.2 RWekajars_3.9.1-3 rlang_0.1.1 lazyeval_0.2.0
[13] curl_2.6 SparseM_1.77 rstudioapi_0.6 minqa_1.2.4 car_2.1-4 nloptr_1.0.4
[19] DiagrammeR_0.9.0 splines_3.3.2 lme4_1.1-13 stringr_1.2.0 htmlwidgets_0.8 igraph_1.0.1
[25] munsell_0.4.3 influenceR_0.1.0 rgexf_0.15.3 mgcv_1.8-15 htmltools_0.3.6 nnet_7.3-12
[31] tibble_1.3.3 gridExtra_2.2.1 codetools_0.2-15 XML_3.98-1.7 viridisLite_0.2.0 MASS_7.3-45
[37] ModelMetrics_1.1.0 nlme_3.1-128 jsonlite_1.5 gtable_0.2.0 DBI_0.6-1 magrittr_1.5
[43] RMOAjars_1.0 scales_0.4.1 stringi_1.1.5 reshape2_1.4.2 viridis_0.4.0 RMOA_1.1
[49] brew_1.0-6 Formula_1.2-1 data.tree_0.7.0 RColorBrewer_1.1-2 iterators_1.0.8 tools_3.3.2
[55] Rook_1.1-1 survival_2.39-5 pbkrtest_0.4-7 parallel_3.3.2 colorspace_1.3-2 rJava_0.9-9
[61] quantreg_5.33
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)
I'm using caret to train earth models like so:
test <- train(Y ~ X1+X2,table.needed,method = "earth")
which worked fine previously. However, now I am getting the following error:
Error in .C("ForwardPassR", fullset = as.integer(fullset), bx = matrix(0, :
"ForwardPassR" not available for .C() for package "earth"
This also happens when I call earth directly:
earth(Y ~ X1+X2,data = table.needed)
From other questions, I surmise that this is something with the underlying C - does anyone know how to fix the error and get the package running again?
I've attached the sessionInfo() call below:
R version 3.4.0 (2017-04-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows Server >= 2012 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] parallel stats graphics grDevices utils datasets methods base
other attached packages:
[1] randomForest_4.6-12 broom_0.4.2 timekit_0.3.0 readr_1.1.1 hts_5.0
[6] matrixcalc_1.0-3 Matrix_1.2-9 SparseM_1.77 forecast_8.0 earth_4.5.0
[11] plotmo_3.3.3 TeachingDemos_2.10 plotrix_3.6-5 doParallel_1.0.10 iterators_1.0.8
[16] foreach_1.4.3 prophet_0.1.1 Rcpp_0.12.11 zoo_1.8-0 caretEnsemble_2.0.0
[21] caret_6.0-76 ggplot2_2.2.1 lattice_0.20-35 reshape2_1.4.2 dtplyr_0.0.2
[26] data.table_1.10.4 dplyr_0.5.0
loaded via a namespace (and not attached):
[1] tidyr_0.6.3 psych_1.7.5 assertthat_0.2.0 digest_0.6.12 lmtest_0.9-35
[6] R6_2.2.1 plyr_1.8.4 MatrixModels_0.4-1 stats4_3.4.0 rlang_0.1.1
[11] lazyeval_0.2.0 minqa_1.2.4 car_2.1-4 fracdiff_1.4-2 TTR_0.23-1
[16] nloptr_1.0.4 splines_3.4.0 lme4_1.1-13 foreign_0.8-68 stringr_1.2.0
[21] munsell_0.4.3 compiler_3.4.0 rstan_2.15.1 mnormt_1.5-5 mgcv_1.8-17
[26] nnet_7.3-12 tibble_1.3.3 gridExtra_2.2.1 quadprog_1.5-5 codetools_0.2-15
[31] MASS_7.3-47 ModelMetrics_1.1.0 grid_3.4.0 nlme_3.1-131 gtable_0.2.0
[36] DBI_0.6-1 magrittr_1.5 StanHeaders_2.15.0-1 scales_0.4.1 quantmod_0.4-9
[41] stringi_1.1.5 pbapply_1.3-2 tseries_0.10-41 timeDate_3012.100 xts_0.9-7
[46] tools_3.4.0 hms_0.3 pbkrtest_0.4-7 inline_0.3.14 colorspace_1.3-2
[51] quantreg_5.33
There is no version information about the earth package.
Anyway, I encounter with the same error with earth_4.5.0 and the error disappears when I update it to earth_4.5.1.
So I suggest you update or reinstall the package.
im tryring to run dcc.est from the ccgarch-package.
Even though I installed the package and attached it with library(ccgarch), I get the following error:
library(ccgarch)
dcc <- dcc.est(dvar, param)
Error: could not find function "dcc.est"
I also tried the following:
dcc <- ccgarch::dcc.est(dvar, param)
Error: object 'dcc.est' is not exported by 'namespace:ccgarch'
Accordingly to the vignette of ccgarch version 0.2.3 (https://cran.r-project.org/web/packages/ccgarch/ccgarch.pdf) , dcc.est is part of the package. What am I doing wrong?
See my sessionInfobelow:
> sessionInfo()
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=German_Germany.1252 LC_CTYPE=German_Germany.1252 LC_MONETARY=German_Germany.1252
[4] LC_NUMERIC=C LC_TIME=German_Germany.1252
attached base packages:
[1] parallel stats graphics grDevices utils datasets methods base
other attached packages:
[1] pracma_1.9.5 kerdiest_1.2 evir_1.7-3 chron_2.3-48 date_1.2-35
[6] fGarch_3010.82.1 fBasics_3011.87 timeSeries_3022.101.2 timeDate_3012.100 rugarch_1.3-6
[11] tsDyn_0.9-44 ccgarch_0.2.3 gdata_2.17.0 gtools_3.5.0 tidyr_0.6.0
[16] dplyr_0.5.0
loaded via a namespace (and not attached):
[1] rgl_0.96.0 Rcpp_0.12.8 mvtnorm_1.0-5 lattice_0.20-34
[5] zoo_1.7-14 assertthat_0.1 digest_0.6.10 lmtest_0.9-34
[9] foreach_1.4.3 mime_0.5 truncnorm_1.0-7 R6_2.2.0
[13] plyr_1.8.4 tseriesChaos_0.1-13 ggplot2_2.2.0 lazyeval_0.2.0
[17] misc3d_0.8-4 fracdiff_1.4-2 nloptr_1.0.4 SkewHyperbolic_0.3-2
[21] Matrix_1.2-7.1 htmlwidgets_0.8 munsell_0.4.3 shiny_0.14.2
[25] numDeriv_2016.8-1 httpuv_1.3.3 DistributionUtils_0.5-1 mnormt_1.5-5
[29] forecast_7.3 urca_1.3-0 mgcv_1.8-15 htmltools_0.3.5
[33] vars_1.5-2 nnet_7.3-12 Rsolnp_1.16 multicool_0.1-10
[37] expm_0.999-0 tibble_1.2 quadprog_1.5-5 codetools_0.2-15
[41] MASS_7.3-45 GeneralizedHyperbolic_0.8-1 grid_3.3.2 nlme_3.1-128
[45] jsonlite_1.1 xtable_1.8-2 gtable_0.2.0 DBI_0.5-1
[49] magrittr_1.5 scales_0.4.1 KernSmooth_2.23-15 tseries_0.10-36
[53] xts_0.9-7 sandwich_2.3-4 spd_2.0-1 iterators_1.0.8
[57] tools_3.3.2 ks_1.10.4 colorspace_1.3-2 knitr_1.15.1
If you look at the NAMESPACE you see that dcc.est is commented out (it may have be replaced by dcc.estimation - just a guess, I've never used the package?).
This means it is not exported by the package, but it's still there, only as an internal function. You can access internal functions by using 3 colons
ccgarch:::dcc.est
As it's in the documentation I think somewhere along the line of updates and releases someone forgot to remove it properly, or un-comment it again in the export list.