[R-SIG-Mac] Problem loading tcltk interface

David Winsemius dwinsemius at comcast.net
Mon Nov 19 21:20:41 CET 2012


On Nov 19, 2012, at 11:53 AM, Silvia Solis wrote:

> Hello Ray,
>
> Thanks a lot! it work perfectly.  In the R FAQ for Mac is not well  
> explain, or couldn't understand. I also download the XQuarts 2.7.4  
> (xorg-server 1.13.0), I need it to use the quarts devices when  
> plotting?

The quartz device (which is the default)  should come as part of the  
Mac grDevices package and needs no extra effort at installation.  
XQuartz package is the support for the X11 output which is called as a  
device with x11().

-- 
David.


>
> Thanks again,
>
> Silvia
>
>
> El 19/11/2012, a las 11:39, "Ray DiGiacomo, Jr." <rayd at liondatasystems.com 
> > escribió:
>
>> Hi Silvia,
>>
>> You may need to install this app first:
>>
>> http://socserv.mcmaster.ca/jfox/Courses/soc3h6/tcltk-8.5.5-x11.dmg
>>
>> Best Regards,
>>
>> Ray DiGiacomo, Jr.
>> Healthcare Predictive Analytics Specialist
>> Master R Trainer
>> President, Lion Data Systems LLC
>> President, The Orange County R User Group
>> Board Member, TDWI
>> rayd at liondatasystems.com
>> (m) 408-425-7851
>> San Juan Capistrano, California USA
>> twitter.com/liondatasystems
>> linkedin.com/in/raydigiacomojr
>> youtube.com/user/liondatasystems/videos
>>
>> Check out my one-on-one web-based R Training Courses at  
>> liondatasystems.com/courses
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Nov 19, 2012 at 9:19 AM, Silvia SM <solis.sm at gmail.com>  
>> wrote:
>> Hello,
>>
>> Maybe someone can help me, I just switch to Mac (from PC) and now  
>> I'm trying to run all the packages that I used on my prior  
>> computer.  I've been trying to load the tcl/tk interface to run  
>> tkplots but every time I try I get the message below, and  
>> instructions to close or abort R.
>>
>> I'm sending also info might be useful about the session.
>>
>>> sessionInfo()
>> R version 2.15.2 (2012-10-26)
>> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>>
>> 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
>> [6] methods   base
>>
>> other attached packages:
>> [1] igraph_0.6-3
>>
>> MacOS 10.8
>>
>> And I couldn't find the gcc version.
>>
>>
>>> library(tcltk)
>> Loading Tcl/Tk interface ...
>> *** caught segfault ***
>> address 0x20044, cause 'memory not mapped'
>>
>> Traceback:
>> 1: sys.nframe()
>> 2: dynGet("__NameSpacesLoading__", NULL)
>> 3: loadNamespace(package, c(which.lib.loc, lib.loc))
>> 4: doTryCatch(return(expr), name, parentenv, handler)
>> 5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
>> 6: tryCatchList(expr, classes, parentenv, handlers)
>> 7: 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 <- 75L        msg <-  
>> 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))})
>> 8: try({    ns <- loadNamespace(package, c(which.lib.loc,  
>> lib.loc))    dataPath <- file.path(which.lib.loc, package,  
>> "data")    env <- attachNamespace(ns, pos = pos, dataPath =  
>> dataPath,         deps)})
>> 9: library(igraph)
>>
>> 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:
>>
>>
>> Best,
>>
>> Silvia
>>        [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

David Winsemius, MD
Alameda, CA, USA



More information about the R-SIG-Mac mailing list