Closed ghost closed 7 years ago
The issue is not with the Placement. Since work perfectly in other computers. In case someone is suffering from the same problem, deleting all packages in R may work to fix the issue.
http://stackoverflow.com/questions/25672974/caught-segfault-error-in-r#25833832
Hi Derek,
I hope you are doing great. I am having an issue with the placement::drive_time(), which every time I run it crash my RStudio with new and old scripts. I even run my script in the terminal to figure out if it was RStudio and sadly is not. Can you help me out?
Thank you in advance, Alex
Script in the Terminal
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
The following objects are masked from ‘package:base’:
Cleaning origin addresses...
Removing various c/o string patterns Number of digitial signatures to that will be generated: 511
caught segfault address 0x18, cause 'memory not mapped'
Traceback: 1: .Call(R_base64decode, txt, asRaw) 2: base64(txt, FALSE, mode) 3: RCurl::base64Decode(gsub("-", "+", gsub("", "/", privkey))) 4: placement::google_encode64(enc, dest = dest, gmode = "dtime", privkey = privkey, clientid = clientid, verbose = verbose, units = units) 5: placement::drive_time(dallas$Address_Home, dallas$Event_Address, auth = "work", clientid = clientid, privkey = privkey, clean = T, add_date = "none", verbose = TRUE, travel_mode = "driving", units = "metric") An irrecoverable exception occurred. R is aborting now ... Segmentation fault: 11
sessionInfo() R version 3.3.2 (2016-10-31) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X El Capitan 10.11.6
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