You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> microbenchmark(
+ hash = f1(10000),
+ env = f2(10000)
+ )
Show Traceback
Rerun with Debug
Error in initialize(value, ...) :
cannot use object of class “character” in new(): class “hashmap” does not extend that class
My session info:
> sessionInfo()
R version 3.3.3 (2017-03-06)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X Yosemite 10.10.5
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] microbenchmark_1.4-6 datastructures_0.2.7 Rcpp_0.12.14 tableHTML_1.1.0 httr_1.3.1
[6] ggplot2_3.0.0 lubridate_1.7.1 stringr_1.3.1 bindrcpp_0.2 dplyr_0.7.4
[11] rtweet_0.6.8
loaded via a namespace (and not attached):
[1] pillar_1.3.0 plyr_1.8.4 bindr_0.1.1 tools_3.3.3 digest_0.6.13 lattice_0.20-34
[7] nlme_3.1-131 jsonlite_1.5 tibble_1.4.2 gtable_0.2.0 mgcv_1.8-17 pkgconfig_2.0.2
[13] rlang_0.2.2 Matrix_1.2-8 cli_1.0.0 rstudioapi_0.7 curl_3.2 yaml_2.1.16
[19] withr_2.1.2 grid_3.3.3 glue_1.2.0 R6_2.2.2 fansi_0.3.0 purrr_0.2.4
[25] magrittr_1.5 codetools_0.2-15 htmltools_0.3.6 scales_0.5.0 assertthat_0.2.0 colorspace_1.3-2
[31] labeling_0.3 utf8_1.1.3 stringi_1.2.4 openssl_1.0.2 lazyeval_0.2.1 munsell_0.5.0
[37] crayon_1.3.4
>
The text was updated successfully, but these errors were encountered:
When running this file:
https://github.com/dirmeier/datastructures/blob/master/benchmark/benchmark_hashmap.R
I get:
My session info:
The text was updated successfully, but these errors were encountered: