i running analysis in parallel in r. analysis runs without issue. added argument determine whether, in each node, code produces graphs @ end of each iteration of analysis. has introduced new error:
error in unserialize(socklist[[n]]) : error reading connection
the per-node log files indicate error occurs during plotting. have tried slight modifications of code, work more errors have appeared.
*** error in `/usr/lib/r/bin/exec/r': free(): invalid pointer: 0x0000000000a9eaa8 *** *** error in `/usr/lib/r/bin/exec/r': corrupted double-linked list: 0x00007f5c3338f5e0 *** *** error in `/usr/lib/r/bin/exec/r': free(): invalid pointer: 0x000000000070daa8 *** *** error in `/usr/lib/r/bin/exec/r': double free or corruption (!prev): 0x00007f365231d220 ***
googling suggests these errors related c++ code underlying ggplot2's functions, not sure how begin debugging compiled c++ code referenced r.
currently, have not been able replicate errors using minimal example. gist provides idea of doing / plotting: https://gist.github.com/elizabethab/9dfc377eb7b2773c3d6e
please see below session information.
> sessioninfo() r version 3.2.0 (2015-04-16) platform: x86_64-pc-linux-gnu (64-bit) running under: ubuntu 14.04.2 lts locale: [1] lc_ctype=en_us.utf-8 lc_numeric=c lc_time=en_us.utf-8 lc_collate=en_us.utf-8 [5] lc_monetary=en_us.utf-8 lc_messages=en_us.utf-8 lc_paper=en_us.utf-8 lc_name=c [9] lc_address=c lc_telephone=c lc_measurement=en_us.utf-8 lc_identification=c attached base packages: [1] parallel stats graphics grdevices utils datasets methods base other attached packages: [1] ggally_0.5.0 ggmap_2.4 boot_1.3-15 snow_0.3-13 mass_7.3-40 caret_6.0-47 [7] ggplot2_1.0.1 lattice_0.20-31 rgdal_0.9-3 sp_1.1-0 reshape2_1.4.1.9000 dplyr_0.4.1.9000 [13] plyr_1.8.2.9000 stringr_1.0.0.9000 loaded via namespace (and not attached): [1] rcpp_0.11.6 nloptr_1.0.4 iterators_1.0.7 tools_3.2.0 digest_0.6.8 lme4_1.1-7 [7] nlme_3.1-120 gtable_0.1.2 mgcv_1.8-6 png_0.1-7 matrix_1.2-0 foreach_1.4.2 [13] dbi_0.3.1 mapproj_1.2-2 brglm_0.5-9 sparsem_1.6 proto_0.3-10 bradleyterry2_1.0-6 [19] maps_2.3-9 rgooglemaps_1.2.0.7 gtools_3.5.0 grid_3.2.0 nnet_7.3-9 reshape_0.8.5 [25] r6_2.0.1 jpeg_0.1-8 rjsonio_1.3-0 minqa_1.2.4 car_2.0-25 magrittr_1.5 [31] scales_0.2.4 codetools_0.2-11 splines_3.2.0 assertthat_0.1 pbkrtest_0.4-2 geosphere_1.3-13 [37] colorspace_1.2-6 labeling_0.3 quantreg_5.11 stringi_0.4-1 lazyeval_0.1.10 munsell_0.4.2 [43] rjson_0.2.15
my solution
i uninstalled ggplot2 , reinstalled source. cleared issue.
Comments
Post a Comment