[R-SIG-Mac] Tcl/Tk issues in arm64 build of R 4.1.0

Prof Brian Ripley r|p|ey @end|ng |rom @t@t@@ox@@c@uk
Fri Sep 10 07:54:54 CEST 2021

On 09/09/2021 19:59, Prof Brian Ripley wrote:
> On 09/09/2021 19:03, John Fox wrote:
>> Dear Simon, Philippe, and list members,


>> (2) The Tcl/Tk Tktable package is apparently absent from the arm64 
>> build but still present in the Intel build. The Rcmdr detects its 
>> absence and suppresses some features (i.e., those requiring the Rcmdr 
>> data editor). I understand that the Tktable package is problematic and 
>> it may have been removed intentionally.
> https://sourceforge.net/projects/tktable/files/tktable/2.10/Tktable2.10.tar.gz 
> (apparently the latest version from 2008)
> does not compile against recent Tcl/Tk (8.6.11 seems to be used): it 
> uses 'panic' which should be 'Tcl_Panic'.    (The Intel build appears to 
> be much older, 8.6.6.)
> I have a patched version: AFAICS it installs entirely into 
> /opt/R/arm64/lib I could tar it up and make it available.
> I could also send the patch to Simon for future use, but note that 
> https://mac.r-project.org/libs-arm64/ contains an aqua build of Tcl/Tk 
> (not the X11 build in the CRAN build of R 4.1.[01]) and which does not 
> support Tcl/Tk.

I have put the patch and the tarball at 
https://www.stats.ox.ac.uk/pub/bdr/Tktable/ .

There is a README.txt with installation instructions. But as I have only 
one M1 Mac, they are minimally tested.

Brian D. Ripley,                  ripley using stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford

More information about the R-SIG-Mac mailing list