[Rd] tcl problem with R-3.6.3?

Martin Maechler m@ech|er @end|ng |rom @t@t@m@th@ethz@ch
Sat Feb 29 20:18:57 CET 2020


>>>>> Charles Geyer 
>>>>>     on Sat, 29 Feb 2020 12:19:08 -0600 writes:

    > I knew I could work around.  But this shouldn't happen.

I assume   capabilities()    does show a   FALSE   for "tcltk" ?
In such cases, sessionInfo()  may be extended:

> sfsmisc :: sessionInfoX() # returns even more; has a "nice" print() method

Extended  sessionInfo():
-----------------------
Capabilities:
       jpeg         png        tiff       tcltk         X11        aqua 
          X           X           X           X           X           - 
   http/ftp     sockets      libxml        fifo      cledit       iconv 
          X           X           X           X           -           X 
        NLS     profmem       cairo         ICU long.double     libcurl 
          X           -           X           X           X           X 
Sys.info:
nodename                v-lynne
user                    maechler

LAPACK version: 3.9.0 
External software (versions):
zlib                    1.2.11
bzlib                   1.0.6, 6-Sept-2010
xz                      5.2.4
PCRE                    8.43 2019-02-23
ICU                     63.2
TRE                     TRE 0.8.0 R_fixes (BSD)
iconv                   glibc 2.29
readline                8.0
BLAS                    /u/maechler/R/D/r-patched/F30-64-inst/lib/libRblas.so

PCRE (regex) config.: ("UTF-8" = TRUE, "Unicode properties" = TRUE, JIT = TRUE, stack = TRUE) 
R executable linked against libR.* ['is R shared']: FALSE 

R_LIBS:
libPath [.libPaths()] contents in addition to R_LIBS and .Library:
[1] "/usr/local64.sfs/app/R/Bioconductor/library_3.10_F30"
[2] "/usr/local64.sfs/app/R/R_local/library_F30-3.6"      
[3] "/u/maechler/R/x86_64-pc-linux-gnu-library/3.6"       
Main R env. variables (for more, inspect the 'xR.env' component):
                [,1]                           
R_ENVIRON       "/u/maechler/R/Renviron64"     
R_PROFILE       "/u/maechler/R/Rprofile"       
R_CHECK_ENVIRON "/u/maechler/.R/check.Renviron"
---------------- standard sessionInfo():
R version 3.6.3 Patched (2020-02-29 r77878)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Fedora 30 (Thirty)

Matrix products: default
BLAS:   /u/maechler/R/D/r-patched/F30-64-inst/lib/libRblas.so
LAPACK: /u/maechler/R/D/r-patched/F30-64-inst/lib/libRlapack.so

locale:
 [1] LC_CTYPE=de_CH.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=de_CH.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=de_CH.UTF-8   
 [7] LC_PAPER=de_CH.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=de_CH.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] graphics  grDevices datasets  stats     utils     methods   base     

other attached packages:
[1] fortunes_1.5-4 sfsmisc_1.1-5 

loaded via a namespace (and not attached):
[1] compiler_3.6.3 tools_3.6.3    tcltk_3.6.3   
> 

I'm not seeing any problems on my Linux platforms (all Fedora 30).

Martin

    > And yes.  Same problem with your example.

    > blurfle$ R --vanilla

    > R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
    > Copyright (C) 2020 The R Foundation for Statistical
    > Computing Platform: x86_64-pc-linux-gnu (64-bit)

    > R is free software and comes with ABSOLUTELY NO WARRANTY.
    > You are welcome to redistribute it under certain
    > conditions.  Type 'license()' or 'licence()' for
    > distribution details.

    >   Natural language support but running in an English
    > locale

    > R is a collaborative project with many contributors.  Type
    > 'contributors()' for more information and 'citation()' on
    > how to cite R or R packages in publications.

    > Type 'demo()' for some demos, 'help()' for on-line help,
    > or 'help.start()' for an HTML browser interface to help.
    > Type 'q()' to quit R.

    >> ans <- utils::select.list(c("hello", "world", "again"),
    >> graphics=TRUE)
    > Error in structure(.External(.C_dotTclObjv, objv), class =
    > "tclObj") : [tcl] grab failed: window not viewable.
    >> q()

    > I didn't bother with sessionInfo() this time.  I presume
    > it would be the same as before.


    > AFAIK this is a fully up to date Ubuntu 18.04 box.

    > On Sat, Feb 29, 2020 at 12:13 PM Henrik Bengtsson <
    > henrik.bengtsson using gmail.com> wrote:

    >> Here's a simpler example that should reproduce that error
    >> for you:
    >> 
    >> ans <- utils::select.list(c("hello", "world", "again"),
    >> graphics=TRUE)
    >> 
    >> Does it?
    >> 
    >> FYI, I installed R 3.6.3 from source on CentOS 7 a few
    >> hours ago, and for me the above works just fine.
    >> 
    >> For your immediate needs of selecting a CRAN mirror, you
    >> can set:
    >> 
    >> options(menu.graphics = FALSE)
    >> 
    >> as a workaround to skip Tcl-based menus.
    >> 
    >> /Henrik
    >> 
    >> On Sat, Feb 29, 2020 at 10:01 AM Charles Geyer
    >> <charlie using stat.umn.edu> wrote:
    >> >
    >> > Just built 3.6.3 from source and tcl doesn't work.
    >> Worked fine with the > same laptop in 3.6.2.  Here's the
    >> exact error.
    >> >
    >> > blurfle$ R --vanilla
    >> >
    >> > R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
    >> > Copyright (C) 2020 The R Foundation for Statistical
    >> Computing > Platform: x86_64-pc-linux-gnu (64-bit)
    >> >
    >> > R is free software and comes with ABSOLUTELY NO
    >> WARRANTY.  > You are welcome to redistribute it under
    >> certain conditions.  > Type 'license()' or 'licence()'
    >> for distribution details.
    >> >
    >> > Natural language support but running in an English
    >> locale
    >> >
    >> > R is a collaborative project with many contributors.  >
    >> Type 'contributors()' for more information and >
    >> 'citation()' on how to cite R or R packages in
    >> publications.
    >> >
    >> > Type 'demo()' for some demos, 'help()' for on-line
    >> help, or > 'help.start()' for an HTML browser interface
    >> to help.  > Type 'q()' to quit R.
    >> >
    >> > > sessionInfo() > R version 3.6.3 (2020-02-29) >
    >> Platform: x86_64-pc-linux-gnu (64-bit) > Running under:
    >> Ubuntu 18.04.4 LTS
    >> >
    >> > Matrix products: default > BLAS:
    >> /home/geyer/local/current/lib/R/lib/libRblas.so > LAPACK:
    >> /home/geyer/local/current/lib/R/lib/libRlapack.so
    >> >
    >> > locale: > [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C > [3]
    >> 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 > [7]
    >> LC_PAPER=en_US.UTF-8 LC_NAME=C > [9] LC_ADDRESS=C
    >> LC_TELEPHONE=C > [11] LC_MEASUREMENT=en_US.UTF-8
    >> LC_IDENTIFICATION=C
    >> >
    >> > attached base packages: > [1] stats graphics grDevices
    >> utils datasets methods base
    >> >
    >> > loaded via a namespace (and not attached): > [1]
    >> compiler_3.6.3 > > install.packages("aster") > --- Please
    >> select a CRAN mirror for use in this session --- > Error
    >> in structure(.External(.C_dotTclObjv, objv), class =
    >> "tclObj") : > [tcl] grab failed: window not viewable.  >
    >> > q()
    >> >
    >> > What's up with that?
    >> >
    >> > --
    >> > Charles Geyer > Professor, School of Statistics >
    >> Resident Fellow, Minnesota Center for Philosophy of
    >> Science > University of Minnesota > charlie using stat.umn.edu
    >> >
    >> > [[alternative HTML version deleted]]
    >> >
    >> > ______________________________________________ >
    >> R-devel using r-project.org mailing list >
    >> https://stat.ethz.ch/mailman/listinfo/r-devel
    >> 


    > -- 
    > Charles Geyer Professor, School of Statistics Resident
    > Fellow, Minnesota Center for Philosophy of Science
    > University of Minnesota charlie using stat.umn.edu

    > 	[[alternative HTML version deleted]]

    > ______________________________________________
    > R-devel using r-project.org mailing list
    > https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list