Hello, I am playing around with the R_X11.c source code and wanted to load the compiled DLL via dyn.load. It loads properly (and masks the old X11 device) when i load it in the console R (version: version.string R version 2.4.1 (2006-12-18) ) However the same command does not work in the R.app applications. Commands Used: dyn.load("/Users/yanger/mystuff/displayer/R-2.4.1/src/modules/X11/ R_X11.so") Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library '/Users/yanger/mystuff/displayer/ R-2.4.1/src/modules/X11/R_X11.so': dlopen(/Users/yanger/mystuff/displayer/R-2.4.1/src/modules/X11/ R_X11.so, 6): Library not loaded: libR.dylib Referenced from: /Users/yanger/mystuff/displayer/R-2.4.1/src/ modules/X11/R_X11.so Reason: image not found How I compiled: I first ran configure and then make from Saptarshi Guha | sapsi@pobox.com | http://www.stat.purdue.edu/~sguha He who laughs last hasn't been told the terrible truth. [[alternative HTML version deleted]]