I have XQuartz installed via the official package. I have X11 support working now with CRAN's R. I found that the error was actually different with R installed from CRAN's pkg that with homebrew's R. I just didn't have the DISPLAY variable set, which was fixed with:
> $ launchctl load -w > /Library/LaunchAgents/org.macosforge.xquartz.startx.plist With homebrew's R, X11 support is not compiled in and the R_X11.so module is not there. I still haven't been able to figure that out. 2015-08-03 18:27 GMT-07:00 boB Rudis <[email protected]>: > How did you install XQuartz? It looks like it was via homebrew. The > only official supported one (AFAIK) is via the actual XQuartz package. > I'm on 10.10.4 with XQuartz 2.7.7 (from pkg installer) and R 3.2.1 > (from CRAN d/l) and it works fine. I use homebrew for many > sub-libraries (like GDAL) but not for core stuff like X11 & R itself. > > On Mon, Aug 3, 2015 at 9:21 PM, Jordan Bates <[email protected]> wrote: > > Hello, > > > > I'm having trouble getting X11 support to work. I have XQuartz 2.7.7 > > installed. I've tried installing the R for Mac binaries, with homebrew > > from binaries, and with homebrew from source. In all cases when I run R, > > capabilities("X11") returns false. > > > > X11() gives the following error: > > > >> error: > >> > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool: > >> can't open file: > >> /usr/local/Cellar/r/3.2.1_1/R.framework/Resources/modules/R_X11.so (No > such > >> file or directory) > >> > > > > Best regards, > > Jordan > > > > [[alternative HTML version deleted]] > > > > _______________________________________________ > > R-SIG-Mac mailing list > > [email protected] > > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
