And a bit more. The Rcmdr crash happens here: debugging in: .Tcl.objv(.Tcl.args.objv(...)) debug: structure(.External(.C_dotTclObjv, objv), class = "tclObj") Browse[2]> objv [[1]] <Tcl> wm
[[2]] <Tcl> protocol [[3]] <Tcl> .1 [[4]] <Tcl> WM_DELETE_WINDOW [[5]] <Tcl> R_call 0x7fedc1987ff8 Browse[2]> Abort trap: 6 and I can make the same thing happen in wish, so it is Not Our Fault: Peter-Dalgaards-iMac:BUILD pd$ /usr/local/bin/wish % toplevel .1 .1 % wm protocol .1 WM_DELETE_WINDOW {puts hi} /usr/local/bin/wish: line 2: 32765 Abort trap: 6 "$(dirname $0)/../../../Library/Frameworks/Tk.framework/Versions/8.6/Resources/Wish.app/Contents/MacOS/Wish" "$@" -pd > On 17 May 2017, at 20:51 , Peter Dalgaard <pda...@gmail.com> wrote: > > A few more data points: > > I tried building Tcl/Tk 8.6.6 from the sources from sourceforge. Contrary to > what it says on the package, it insists on building Tcl and Tk as frameworks, > which in turn requires that R's configure needs special instructions. This > works reasonably well for simple tcltk stuff (demos, the CRAN selection > menu), but unfortunately, library(Rcmdr) causes an "Abort trap: 6" almost > immediately. (I get a sense of deja vu about this... Did Brian try something > similar years ago?) > > It does actually seem to work to build R against the system-supplied v.8.5 > frameworks. However, this is Aqua-based, and the fonts are a bit weird > (smooth, but way too small) and the Rcmdr menus get moved to the top bar. > > I am pretty sure by now that all this stuff is a generic tcltk build problem > and way out of John's domain. (Thanks for posting the font code, John. I hope > I can get around to having a closer look at it at some point. Those > .Tcl(paste()) constructs make me cringe a bit, but not all are easily > eliminated.) > > -pd > >> On 16 May 2017, at 23:52 , peter dalgaard <pda...@gmail.com> wrote: >> >> >>> On 16 May 2017, at 21:03 , peter dalgaard <pda...@gmail.com> wrote: >>> >>> I don't think the config flags for R matter in this regard. The behaviour >>> is completely paralleled by wish8.6: >> >> Hmmm, not sure the wish ::tk::pkgconfig thing proves anything, after I tried >> some of the ActiveState installs and a source build. This stuff is making my >> head spin! >> >> However, I discovered that it is possible to install R-3.4.0.pkg as usual, >> and then a customized install of (say) R-3.3-branch-mavericks.pkg, omitting >> everything except the Tcl/Tk stuff. That gives you R 3.4.0 and Rcmdr with >> antialiased fonts. >> >> -- >> Peter Dalgaard, Professor, >> Center for Statistics, Copenhagen Business School >> Solbjerg Plads 3, 2000 Frederiksberg, Denmark >> Phone: (+45)38153501 >> Office: A 4.23 >> Email: pd....@cbs.dk Priv: pda...@gmail.com >> >> >> >> >> >> >> >> >> > > -- > Peter Dalgaard, Professor, > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederiksberg, Denmark > Phone: (+45)38153501 > Office: A 4.23 > Email: pd....@cbs.dk Priv: pda...@gmail.com > > > > > > > > > -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd....@cbs.dk Priv: pda...@gmail.com _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac