jbkunst / highcharter

R wrapper for highcharts
http://jkunst.com/highcharter/
Other
720 stars 149 forks source link

conflict with library PBSmodelling #83

Closed ghost closed 8 years ago

ghost commented 8 years ago

Conflict with library(PBSmodelling) - loading crashes R. (PBSmodelling is useful for unpacking a complete R session with unpackList() ).

library(highcharter)
data(diamonds, package = "ggplot2")
hchart(diamonds$cut, colorByPoint = TRUE)  # works

library(PBSmodelling)
hchart(diamonds$cut, colorByPoint = TRUE)  # hangs Rsession

sessionInfo()
R version 3.2.3 (2015-12-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 15.04

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=nl_NL.UTF-8        LC_COLLATE=en_US.UTF-8     LC_MONETARY=nl_NL.UTF-8    LC_MESSAGES=en_US.UTF-8    LC_PAPER=nl_NL.UTF-8      
 [8] LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=nl_NL.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] highcharter_0.3.1.9999

loaded via a namespace (and not attached):
 [1] igraph_1.0.1       Rcpp_0.12.4        magrittr_1.5       MASS_7.3-45        munsell_0.4.3      viridisLite_0.1.3  colorspace_1.2-6   ape_3.4            lattice_0.20-33    R6_2.1.2          
[11] ggdendro_0.1-18    stringr_1.0.0      TTR_0.23-1         plyr_1.8.3         dplyr_0.4.3        tools_3.2.3        xts_0.9-7          parallel_3.2.3     quantmod_0.4-5     grid_3.2.3        
[21] data.table_1.9.7   gtable_0.2.0       nlme_3.1-125       DBI_0.3.1          htmltools_0.3.5    lazyeval_0.1.10    assertthat_0.1     digest_0.6.9       tidyr_0.4.1        purrr_0.2.1       
[31] ggplot2_2.1.0      htmlwidgets_0.6    rlist_0.4.6.1      rsconnect_0.4.1.11 stringi_1.0-1      scales_0.4.0       jsonlite_0.9.19    chron_2.3-47       zoo_1.7-12        
jbkunst commented 8 years ago

@carbonmetrics

Not sure. I cant replicate your error. I have no problems in the code.

In your session info there no PBSmodellingpackage.

ghost commented 8 years ago

The PBSmodelling is not in there because it crashes the R session - so I can't run the sessionInfo() command.

For me it definitely crashes, am running a fresh instance of R.

I just unload the library after I have run the unpack command, if there is no general pattern I think we should close it then.

On 26-04-16 17:01, Joshua Kunst wrote:

@carbonmetrics https://github.com/carbonmetrics

Not sure. I cant replicate your error. I have no problems in the code.

In your session info there no |PBSmodelling|package.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/jbkunst/highcharter/issues/83#issuecomment-214754938

Henk Harmsen

jbkunst commented 8 years ago

Mmm... strange. Ok, let's close. If have more information we'll reopen and try to solve it!

Regards ;)!