Hi Steve,

On 2018-07-05 21:49, Steve Gutreuter wrote:
Hi Göran,

I do not have a solution for your problem, but I can confirm that R
3.5.1 runs correctly for me from the shell prompt on Ubuntu 18.04.
However, I compiled R 3.5.1 from the source tarball, so the problem
might be with the Ubuntu deb.

Have you tried completely removing R and then re-installing the deb?

Yes I did, but it didn't help. However, I installed R-devel from source, and there I had no problem.

Göran

Best,
Steve



On Thu, 2018-07-05 at 21:37 +0200, Göran Broström wrote:
I am running R 3.5.1 on ubuntu 18.04, installed via apt. When I run
R
from the bash prompt, I get (reinstalling r-base doesn't help)

  > devtools::install_github("goranbrostrom/eha", build_vignettes =
TRUE)

   *** caught segfault ***
address 0x68456, cause 'memory not mapped'

Traceback:
   1: dyn.load(file, DLLpath = DLLpath, ...)
   2: library.dynam(lib, package, package.lib)
   3: loadNamespace(name)
   4: doTryCatch(return(expr), name, parentenv, handler)
   5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
   6: tryCatchList(expr, classes, parentenv, handlers)
   7: tryCatch(loadNamespace(name), error = function(e) stop(e))
   8: getNamespace(ns)
   9: asNamespace(ns)
10: getExportedValue(pkg, name)
11: curl::new_handle
12: handle(name)
13: handle_find(url)
14: handle_url(handle, url, ...)
15: httr::GET(url, path = path, httr::write_disk(path = tmp), auth)
16: remote_package_name.github_remote(remote)
17: remote_package_name(remote)
18: install_remote(..., quiet = quiet)
19: doTryCatch(return(expr), name, parentenv, handler)
20: tryCatchOne(expr, names, parentenv, handlers[[1L]])
21: tryCatchList(expr, classes, parentenv, handlers)
22: tryCatch(install_remote(..., quiet = quiet), error = function(e)
{
   if (!quiet) {        message("Installation failed: ",
conditionMessage(e))    }    FALSE})
23: FUN(X[[i]], ...)
24: vapply(remotes, try_install_remote, ..., FUN.VALUE = logical(1))
25: install_remotes(remotes, quiet = quiet, ...)
26: devtools::install_github("goranbrostrom/eha", build_vignettes =
TRUE)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection: 3
Segmentation fault (core dumped)
-----------------------------------------------------------------
devtools is version 1.13.6 in all cases.

However, running the same in RStudio: No problem.

The same setup, but on ubuntu 16.04 (another computer): No problem.

On my Mac: No problem.

Is it ubuntu, devtools, or me? If it is me, what can I do?

Göran

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to