[R-SIG-Mac] tcltk on M1 mac?

Simon Urbanek @|mon@urb@nek @end|ng |rom R-project@org
Sat May 15 01:57:01 CEST 2021


Vince,

please try the latest build, Tcl/Tk should be included now.

Thanks,
Simon



> On May 14, 2021, at 7:45 AM, Simon Urbanek <simon.urbanek using R-project.org> wrote:
> 
> Vince,
> 
> Thanks for the report, yes, that is a known problem, because the R installer for arm64 doesn't include Tcl/Tk unlike the Intel version. It is a long story, but I hope to update the installer soon.
> 
> Thanks,
> Simon
> 
> 
>> On May 14, 2021, at 02:47, Vincent Carey <stvjc using channing.harvard.edu> wrote:
>> 
>> I can't seem to get tcltk running with R on M1 machine.  Homebrew tcltk
>> seems to have wrong architecture; attempt to build from source does not
>> help.  Any hints appreciated.
>> 
>> 
>> R version 4.1.0 RC (2021-05-10 r80283) -- "Camp Pontanezen"
>> 
>> Copyright (C) 2021 The R Foundation for Statistical Computing
>> 
>> Platform: aarch64-apple-darwin20 (64-bit)
>> 
>> 
>>> library(tcltk)
>> 
>> *Error: package or namespace load failed for 'tcltk':*
>> 
>> * .onLoad failed in loadNamespace() for 'tcltk', details:*
>> 
>> *  call: dyn.load(file, DLLpath = DLLpath, ...)*
>> 
>> *  error: unable to load shared object
>> '/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/tcltk/libs/tcltk.so':*
>> 
>> *
>> dlopen(/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/tcltk/libs/tcltk.so,
>> 10): Library not loaded: /Library/Frameworks/Tcl.framework/Versions/8.6/Tcl*
>> 
>> *  Referenced from:
>> /Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/tcltk/libs/tcltk.so*
>> 
>> *  Reason: image not found*
>> 
>> -- 
>> The information in this e-mail is intended only for the ...{{dropped:18}}
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac using r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 



More information about the R-SIG-Mac mailing list