Re: [R-SIG-Mac] loading tkrplot causes a segfault

2015-11-14 Thread THIOULOUSE JEAN
Hi

Loading the CRAN binary version of the tkrplot package version 0.0-23 causes a 
segfault of R version 3.2.2 on OS X 10.11.1 too.

Installing form sources solves the problem.

Still no idea ?

Jean


[MacPro:~] jthioulo% R

R version 3.2.2 (2015-08-14) -- "Fire Safety"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)

R est un logiciel libre livré sans AUCUNE GARANTIE.
Vous pouvez le redistribuer sous certaines conditions.
Tapez 'license()' ou 'licence()' pour plus de détails.

R est un projet collaboratif avec de nombreux contributeurs.
Tapez 'contributors()' pour plus d'information et
'citation()' pour la façon de le citer dans les publications.

Tapez 'demo()' pour des démonstrations, 'help()' pour l'aide
en ligne ou 'help.start()' pour obtenir l'aide au format HTML.
Tapez 'q()' pour quitter R.

[Sauvegarde de la session précédente restaurée]

> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.11.1 (El Capitan)

locale:
[1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base 
> install.packages("tkrplot")
essai de l'URL 
'http://cran.univ-lyon1.fr/bin/macosx/mavericks/contrib/3.2/tkrplot_0.0-23.tgz'
Content type 'application/x-gzip' length 24752 bytes (24 KB)
==
downloaded 24 KB


Les packages binaires téléchargés sont dans

/var/folders/qg/wgr2ssj52259lkbxq2z_dwwcgn/T//RtmpWSrqzX/downloaded_packages
> library(tkrplot)
Le chargement a nécessité le package : tcltk

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

Traceback:
 1: structure(.External(.C_dotTclObjv, objv), class = "tclObj")
 2: .Tcl.objv(.Tcl.args.objv(...))
 3: tcl("load", file, "Rplot")
 4: doTryCatch(return(expr), name, parentenv, handler)
 5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 6: tryCatchList(expr, classes, parentenv, handlers)
 7: tryCatch(tcl("load", file, "Rplot"), error = function(e) warning("loading 
Rplot failed", call. = FALSE))
 8: fun(libname, pkgname)
 9: doTryCatch(return(expr), name, parentenv, handler)
10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
11: tryCatchList(expr, classes, parentenv, handlers)
12: tryCatch(fun(libname, pkgname), error = identity)
13: runHook(".onLoad", env, package.lib, package)
14: loadNamespace(package, c(which.lib.loc, lib.loc))
15: doTryCatch(return(expr), name, parentenv, handler)
16: tryCatchOne(expr, names, parentenv, handlers[[1L]])
17: tryCatchList(expr, classes, parentenv, handlers)
18: tryCatch(expr, error = function(e) {call <- conditionCall(e)if 
(!is.null(call)) {if (identical(call[[1L]], quote(doTryCatch))) 
call <- sys.call(-4L)dcall <- deparse(call)[1L]prefix <- 
paste("Error in", dcall, ": ")LONG <- 75Lmsg <- 
conditionMessage(e)sm <- strsplit(msg, "\n")[[1L]]w <- 14L + 
nchar(dcall, type = "w") + nchar(sm[1L], type = "w")if (is.na(w))   
  w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type 
= "b")if (w > LONG) prefix <- paste0(prefix, "\n  ")}   
 else prefix <- "Error : "msg <- paste0(prefix, conditionMessage(e), "\n")  
  .Internal(seterrmessage(msg[1L]))if (!silent && 
identical(getOption("show.error.messages"), TRUE)) {cat(msg, 
file = stderr()).Internal(printDeferredWarnings())}
invisible(structure(msg, class = "try-error", condition = e))})
19: try({ns <- loadNamespace(package, c(which.lib.loc, lib.loc))env <- 
attachNamespace(ns, pos = pos, deps)})
20: library(tkrplot)

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: 4
[MacPro:~] jthioulo% R

R version 3.2.2 (2015-08-14) -- "Fire Safety"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)

R est un logiciel libre livré sans AUCUNE GARANTIE.
Vous pouvez le redistribuer sous certaines conditions.
Tapez 'license()' ou 'licence()' pour plus de détails.

R est un projet collaboratif avec de nombreux contributeurs.
Tapez 'contributors()' pour plus d'information et
'citation()' pour la façon de le citer dans les publications.

Tapez 'demo()' pour des démonstrations, 'help()' pour l'aide
en ligne ou 'help.start()' pour obtenir l'aide au format HTML.
Tapez 'q()' pour quitter R.

[Sauvegarde de la session précédente restaurée]

> install.packages("tkrplot", type="source")
essai de l'URL 'http://cran.univ-lyon1.fr/src/contrib/tkrplot_0.0-23.tar.gz'
Content type 'application/x-gzip' length 39037 bytes (38 KB)
==
downloaded 38 KB

* installing *source* package ‘tkrplot’ ...
** package ‘tkrplot’ correctement décompressé et som

Re: [R-SIG-Mac] loading tkrplot causes a segfault

2015-07-13 Thread Kevin Ushey
For what it's worth, I can reproduce the issue with the binary
provided by CRAN; however, the package successfully loads for me when
installed from source.

install.packages("tkrplot", type = "source")
library(tkrplot) ## no segfault

The error seems to occur as a result of loading the `Rplot` symbol(s)
with the following call (this is what the package's `.onLoad()` tries
to do:

library(tcltk)
tkrPath <- system.file(package = "tkrplot")
tkrLib <- file.path(tkrPath, "libs/tkrplot.so")
tcl("load", tkrLib, "Rplot")

I can't really speculate further as to what the cause of the error is
-- perhaps `tkrplot`, or some other libraries used, were built with
incompatible compilers?

Kevin

On Mon, Jul 13, 2015 at 11:20 AM, Dan Tenenbaum  wrote:
>
>
> - Original Message -
>> From: "THIOULOUSE JEAN" 
>> To: "Dan Tenenbaum" 
>> Cc: "r-sig-mac" 
>> Sent: Friday, July 10, 2015 9:53:18 PM
>> Subject: Re: [R-SIG-Mac] loading tkrplot causes a segfault
>>
>>
>> Re-install X11 XQuartz (I think that this is in the FAQ).
>>
>
> Reinstalling XQuartz (and rebooting) had no effect. Any other ideas?
>
> Thanks,
> Dan
>
>
>> Jean
>>
>>
>> > Le 11 juil. 2015 à 00:54, Dan Tenenbaum  a
>> > écrit :
>> >
>> > Hi,
>> >
>> > loading the tkrplot package (version 0.0-23) causes a segfault.
>> > This only seems to happen on Mavericks, not Snow Leopard, Linux,
>> > or Windows.
>> >
>> >> library(tkrplot)
>> > Loading required package: tcltk
>> >
>> > *** caught segfault ***
>> > address 0x998, cause 'memory not mapped'
>> >
>> > Traceback:
>> > 1: structure(.External(.C_dotTclObjv, objv), class = "tclObj")
>> > 2: .Tcl.objv(.Tcl.args.objv(...))
>> > 3: tcl("load", file, "Rplot")
>> > 4: doTryCatch(return(expr), name, parentenv, handler)
>> > 5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
>> > 6: tryCatchList(expr, classes, parentenv, handlers)
>> > 7: tryCatch(tcl("load", file, "Rplot"), error = function(e)
>> > warning("loading Rplot failed", call. = FALSE))
>> > 8: fun(libname, pkgname)
>> > 9: doTryCatch(return(expr), name, parentenv, handler)
>> > 10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
>> > 11: tryCatchList(expr, classes, parentenv, handlers)
>> > 12: tryCatch(fun(libname, pkgname), error = identity)
>> > 13: runHook(".onLoad", env, package.lib, package)
>> > 14: loadNamespace(package, c(which.lib.loc, lib.loc))
>> > 15: doTryCatch(return(expr), name, parentenv, handler)
>> > 16: tryCatchOne(expr, names, parentenv, handlers[[1L]])
>> > 17: tryCatchList(expr, classes, parentenv, handlers)
>> > 18: tryCatch(expr, error = function(e) {call <-
>> > conditionCall(e)if (!is.null(call)) {if
>> > (identical(call[[1L]], quote(doTryCatch))) call <-
>> > sys.call(-4L)dcall <- deparse(call)[1L]prefix <-
>> > paste("Error in", dcall, ": ")LONG <- 75Lmsg <-
>> > conditionMessage(e)sm <- strsplit(msg, "\n")[[1L]]
>> >w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type =
>> > "w")if (is.na(w)) w <- 14L + nchar(dcall, type
>> > = "b") + nchar(sm[1L], type = "b")if (w >
>> > LONG) prefix <- paste0(prefix, "\n  ")}else
>> > prefix <- "Error : "msg <- paste0(prefix, conditionMessage(e),
>> > "\n").Internal(seterrmessage(msg[1L]))if (!silent &&
>> > identical(getOption("show.error.messages"), TRUE)) {
>> >cat(msg, file = stderr())
>> >.Internal(printDeferredWarnings())}
>> >invisible(structure(msg, class = "try-error", condition = e))})
>> > 19: try({ns <- loadNamespace(package, c(which.lib.loc,
>> > lib.loc))env <- attachNamespace(ns, pos = pos, deps)})
>> > 20: library(tkrplot)
>> >
>> > Possible actions:
>> > 1: abort (with core dump, if enabled)
>> > 2: normal R exit
>> > 3: exit R without saving workspace
>> > 4: exit R saving workspace
>> >
>> >
>> >
>> > My sessionInfo() is:
>> >
>> >> sessionInfo()
>> > R version 3.2.1 (2015-06-18)
>> > Platform: x86_64-apple-darwin13.4.0 (64-bit)
>> > Running under: OS X 10.9.5 (Mavericks)
>> >
>> > 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
>> >
>> >
>> > Any ideas?
>> >
>> > Thanks,
>> > Dan
>> >
>> > ___
>> > R-SIG-Mac mailing list
>> > R-SIG-Mac@r-project.org
>> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
>
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] loading tkrplot causes a segfault

2015-07-13 Thread David Winsemius

On Jul 10, 2015, at 3:54 PM, Dan Tenenbaum wrote:

> Hi,
> 
> loading the tkrplot package (version 0.0-23) causes a segfault. This only 
> seems to happen on Mavericks, not Snow Leopard, Linux, or Windows. 
> 
>> library(tkrplot)
> Loading required package: tcltk
> 
> *** caught segfault ***
> address 0x998, cause 'memory not mapped'
> 
> Traceback:
> 1: structure(.External(.C_dotTclObjv, objv), class = "tclObj")
> 2: .Tcl.objv(.Tcl.args.objv(...))
> 3: tcl("load", file, "Rplot")
> 4: doTryCatch(return(expr), name, parentenv, handler)
> 5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
> 6: tryCatchList(expr, classes, parentenv, handlers)
> 7: tryCatch(tcl("load", file, "Rplot"), error = function(e) warning("loading 
> Rplot failed", call. = FALSE))
> 8: fun(libname, pkgname)
> 9: doTryCatch(return(expr), name, parentenv, handler)
> 10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
> 11: tryCatchList(expr, classes, parentenv, handlers)
> 12: tryCatch(fun(libname, pkgname), error = identity)
> 13: runHook(".onLoad", env, package.lib, package)
> 14: loadNamespace(package, c(which.lib.loc, lib.loc))
> 15: doTryCatch(return(expr), name, parentenv, handler)
> 16: tryCatchOne(expr, names, parentenv, handlers[[1L]])
> 17: tryCatchList(expr, classes, parentenv, handlers)
> 18: tryCatch(expr, error = function(e) {call <- conditionCall(e)if 
> (!is.null(call)) {if (identical(call[[1L]], quote(doTryCatch)))   
>   call <- sys.call(-4L)dcall <- deparse(call)[1L]prefix 
> <- paste("Error in", dcall, ": ")LONG <- 75Lmsg <- 
> conditionMessage(e)sm <- strsplit(msg, "\n")[[1L]]w <- 14L + 
> nchar(dcall, type = "w") + nchar(sm[1L], type = "w")if (is.na(w)) 
> w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], 
> type = "b")if (w > LONG) prefix <- paste0(prefix, "\n  ") 
>}else prefix <- "Error : "msg <- paste0(prefix, 
> conditionMessage(e), "\n").Internal(seterrmessage(msg[1L]))if 
> (!silent && identical(getOption("show.error.messages"), TRUE)) {  
>   cat(msg, file = stderr()).Internal(printDeferredWarnings())}
> invisible(structure(msg, class = "try-error", condition = e))})
> 19: try({ns <- loadNamespace(package, c(which.lib.loc, lib.loc))env 
> <- attachNamespace(ns, pos = pos, deps)})
> 20: library(tkrplot)
> 
> Possible actions:
> 1: abort (with core dump, if enabled)
> 2: normal R exit
> 3: exit R without saving workspace
> 4: exit R saving workspace
> 

I don't have an answer, but there were a bunch of tk-functions that were 
removed in version 3.0.0, including: tkcmd(), tkfile.dir(), tkfile.tail(), 
tkopen(),tkputs(), tkread()

There was also a news() item that specifically mentioned tkrplot and changes to 
the Windows graphics devices but didn't appear to me to imply anychanges to 
tkrplot.

Something very similar was reported 

From:   Natalija Keck 
Subject:[R-SIG-Mac] loading issue with tkrplot on OS X Yosemite
Date:   May 4, 2015 5:22:37 AM PDT
To: r-sig-mac R 

I don't see a response in my local email "not-an-Archive".

I get the same result after installing tkrplot 0.0-23 from CRAN (using the 
binary pkg and installing with the R.app Package Instller)  and running R from 
a terminal session. XQuartz loads and then the seg-fault dialog appears. I've 
got XQuartz 2.7.7 (xorg-server 1.15.2) and the "check for updates" response for 
a running X11 session says I have the latest version.

-- David.

> 
> 
> My sessionInfo() is:
> 
>> sessionInfo()
> R version 3.2.1 (2015-06-18)
> Platform: x86_64-apple-darwin13.4.0 (64-bit)
> Running under: OS X 10.9.5 (Mavericks)
> 
> 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 
> 
> 
> Any ideas?
> 
> Thanks,
> Dan
> 
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

David Winsemius
Alameda, CA, USA

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] loading tkrplot causes a segfault

2015-07-13 Thread Dan Tenenbaum


- Original Message -
> From: "THIOULOUSE JEAN" 
> To: "Dan Tenenbaum" 
> Cc: "r-sig-mac" 
> Sent: Friday, July 10, 2015 9:53:18 PM
> Subject: Re: [R-SIG-Mac] loading tkrplot causes a segfault
> 
> 
> Re-install X11 XQuartz (I think that this is in the FAQ).
> 

Reinstalling XQuartz (and rebooting) had no effect. Any other ideas?

Thanks,
Dan


> Jean
> 
> 
> > Le 11 juil. 2015 à 00:54, Dan Tenenbaum  a
> > écrit :
> > 
> > Hi,
> > 
> > loading the tkrplot package (version 0.0-23) causes a segfault.
> > This only seems to happen on Mavericks, not Snow Leopard, Linux,
> > or Windows.
> > 
> >> library(tkrplot)
> > Loading required package: tcltk
> > 
> > *** caught segfault ***
> > address 0x998, cause 'memory not mapped'
> > 
> > Traceback:
> > 1: structure(.External(.C_dotTclObjv, objv), class = "tclObj")
> > 2: .Tcl.objv(.Tcl.args.objv(...))
> > 3: tcl("load", file, "Rplot")
> > 4: doTryCatch(return(expr), name, parentenv, handler)
> > 5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
> > 6: tryCatchList(expr, classes, parentenv, handlers)
> > 7: tryCatch(tcl("load", file, "Rplot"), error = function(e)
> > warning("loading Rplot failed", call. = FALSE))
> > 8: fun(libname, pkgname)
> > 9: doTryCatch(return(expr), name, parentenv, handler)
> > 10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
> > 11: tryCatchList(expr, classes, parentenv, handlers)
> > 12: tryCatch(fun(libname, pkgname), error = identity)
> > 13: runHook(".onLoad", env, package.lib, package)
> > 14: loadNamespace(package, c(which.lib.loc, lib.loc))
> > 15: doTryCatch(return(expr), name, parentenv, handler)
> > 16: tryCatchOne(expr, names, parentenv, handlers[[1L]])
> > 17: tryCatchList(expr, classes, parentenv, handlers)
> > 18: tryCatch(expr, error = function(e) {call <-
> > conditionCall(e)if (!is.null(call)) {if
> > (identical(call[[1L]], quote(doTryCatch))) call <-
> > sys.call(-4L)dcall <- deparse(call)[1L]prefix <-
> > paste("Error in", dcall, ": ")LONG <- 75Lmsg <-
> > conditionMessage(e)sm <- strsplit(msg, "\n")[[1L]]
> >w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type =
> > "w")if (is.na(w)) w <- 14L + nchar(dcall, type
> > = "b") + nchar(sm[1L], type = "b")if (w >
> > LONG) prefix <- paste0(prefix, "\n  ")}else
> > prefix <- "Error : "msg <- paste0(prefix, conditionMessage(e),
> > "\n").Internal(seterrmessage(msg[1L]))if (!silent &&
> > identical(getOption("show.error.messages"), TRUE)) {
> >cat(msg, file = stderr())
> >.Internal(printDeferredWarnings())}
> >invisible(structure(msg, class = "try-error", condition = e))})
> > 19: try({ns <- loadNamespace(package, c(which.lib.loc,
> > lib.loc))env <- attachNamespace(ns, pos = pos, deps)})
> > 20: library(tkrplot)
> > 
> > Possible actions:
> > 1: abort (with core dump, if enabled)
> > 2: normal R exit
> > 3: exit R without saving workspace
> > 4: exit R saving workspace
> > 
> > 
> > 
> > My sessionInfo() is:
> > 
> >> sessionInfo()
> > R version 3.2.1 (2015-06-18)
> > Platform: x86_64-apple-darwin13.4.0 (64-bit)
> > Running under: OS X 10.9.5 (Mavericks)
> > 
> > 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
> > 
> > 
> > Any ideas?
> > 
> > Thanks,
> > Dan
> > 
> > ___
> > R-SIG-Mac mailing list
> > R-SIG-Mac@r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> 

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] loading tkrplot causes a segfault

2015-07-10 Thread THIOULOUSE JEAN

Re-install X11 XQuartz (I think that this is in the FAQ).

Jean


> Le 11 juil. 2015 à 00:54, Dan Tenenbaum  a écrit :
> 
> Hi,
> 
> loading the tkrplot package (version 0.0-23) causes a segfault. This only 
> seems to happen on Mavericks, not Snow Leopard, Linux, or Windows. 
> 
>> library(tkrplot)
> Loading required package: tcltk
> 
> *** caught segfault ***
> address 0x998, cause 'memory not mapped'
> 
> Traceback:
> 1: structure(.External(.C_dotTclObjv, objv), class = "tclObj")
> 2: .Tcl.objv(.Tcl.args.objv(...))
> 3: tcl("load", file, "Rplot")
> 4: doTryCatch(return(expr), name, parentenv, handler)
> 5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
> 6: tryCatchList(expr, classes, parentenv, handlers)
> 7: tryCatch(tcl("load", file, "Rplot"), error = function(e) warning("loading 
> Rplot failed", call. = FALSE))
> 8: fun(libname, pkgname)
> 9: doTryCatch(return(expr), name, parentenv, handler)
> 10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
> 11: tryCatchList(expr, classes, parentenv, handlers)
> 12: tryCatch(fun(libname, pkgname), error = identity)
> 13: runHook(".onLoad", env, package.lib, package)
> 14: loadNamespace(package, c(which.lib.loc, lib.loc))
> 15: doTryCatch(return(expr), name, parentenv, handler)
> 16: tryCatchOne(expr, names, parentenv, handlers[[1L]])
> 17: tryCatchList(expr, classes, parentenv, handlers)
> 18: tryCatch(expr, error = function(e) {call <- conditionCall(e)if 
> (!is.null(call)) {if (identical(call[[1L]], quote(doTryCatch)))   
>   call <- sys.call(-4L)dcall <- deparse(call)[1L]prefix 
> <- paste("Error in", dcall, ": ")LONG <- 75Lmsg <- 
> conditionMessage(e)sm <- strsplit(msg, "\n")[[1L]]w <- 14L + 
> nchar(dcall, type = "w") + nchar(sm[1L], type = "w")if (is.na(w)) 
> w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], 
> type = "b")if (w > LONG) prefix <- paste0(prefix, "\n  ") 
>}else prefix <- "Error : "msg <- paste0(prefix, 
> conditionMessage(e), "\n").Internal(seterrmessage(msg[1L]))if 
> (!silent && identical(getOption("show.error.messages"), TRUE)) {  
>   cat(msg, file = stderr()).Internal(printDeferredWarnings())}
> invisible(structure(msg, class = "try-error", condition = e))})
> 19: try({ns <- loadNamespace(package, c(which.lib.loc, lib.loc))env 
> <- attachNamespace(ns, pos = pos, deps)})
> 20: library(tkrplot)
> 
> Possible actions:
> 1: abort (with core dump, if enabled)
> 2: normal R exit
> 3: exit R without saving workspace
> 4: exit R saving workspace
> 
> 
> 
> My sessionInfo() is:
> 
>> sessionInfo()
> R version 3.2.1 (2015-06-18)
> Platform: x86_64-apple-darwin13.4.0 (64-bit)
> Running under: OS X 10.9.5 (Mavericks)
> 
> 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 
> 
> 
> Any ideas?
> 
> Thanks,
> Dan
> 
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



smime.p7s
Description: S/MIME cryptographic signature
___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[R-SIG-Mac] loading tkrplot causes a segfault

2015-07-10 Thread Dan Tenenbaum
Hi,

loading the tkrplot package (version 0.0-23) causes a segfault. This only seems 
to happen on Mavericks, not Snow Leopard, Linux, or Windows. 

> library(tkrplot)
Loading required package: tcltk

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

Traceback:
 1: structure(.External(.C_dotTclObjv, objv), class = "tclObj")
 2: .Tcl.objv(.Tcl.args.objv(...))
 3: tcl("load", file, "Rplot")
 4: doTryCatch(return(expr), name, parentenv, handler)
 5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 6: tryCatchList(expr, classes, parentenv, handlers)
 7: tryCatch(tcl("load", file, "Rplot"), error = function(e) warning("loading 
Rplot failed", call. = FALSE))
 8: fun(libname, pkgname)
 9: doTryCatch(return(expr), name, parentenv, handler)
10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
11: tryCatchList(expr, classes, parentenv, handlers)
12: tryCatch(fun(libname, pkgname), error = identity)
13: runHook(".onLoad", env, package.lib, package)
14: loadNamespace(package, c(which.lib.loc, lib.loc))
15: doTryCatch(return(expr), name, parentenv, handler)
16: tryCatchOne(expr, names, parentenv, handlers[[1L]])
17: tryCatchList(expr, classes, parentenv, handlers)
18: tryCatch(expr, error = function(e) {call <- conditionCall(e)if 
(!is.null(call)) {if (identical(call[[1L]], quote(doTryCatch))) 
call <- sys.call(-4L)dcall <- deparse(call)[1L]prefix <- 
paste("Error in", dcall, ": ")LONG <- 75Lmsg <- 
conditionMessage(e)sm <- strsplit(msg, "\n")[[1L]]w <- 14L + 
nchar(dcall, type = "w") + nchar(sm[1L], type = "w")if (is.na(w))   
  w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type 
= "b")if (w > LONG) prefix <- paste0(prefix, "\n  ")}   
 else prefix <- "Error : "msg <- paste0(prefix, conditionMessage(e), "\n")  
  .Internal(seterrmessage(msg[1L]))if (!silent && 
identical(getOption("show.error.messages"), TRUE)) {cat(msg, 
file = stderr()).Internal(printDeferredWarnings())}
invisible(structure(msg, class = "try-error", condition = e))})
19: try({ns <- loadNamespace(package, c(which.lib.loc, lib.loc))env <- 
attachNamespace(ns, pos = pos, deps)})
20: library(tkrplot)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace



My sessionInfo() is:

> sessionInfo()
R version 3.2.1 (2015-06-18)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.9.5 (Mavericks)

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 


Any ideas?

Thanks,
Dan

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac