Hi all,

I have read all online instructions for how to install and load xps in R,
but keep getting the following error:

Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object
'/Library/Frameworks/R.framework/Versions/3.0/Resources/library/xps/libs/xps.so':

dlopen(/Library/Frameworks/R.framework/Versions/3.0/Resources/library/xps/libs/xps.so,
6): Library not loaded: @rpath/libGui.so
  Referenced from:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/xps/libs/xps.so
  Reason: image not found
Error: package or namespace load failed for ‘xps’


Root has been built. 5.99/02
R 3.0.1
Mac 10.8.4

Root installed in /users/juehuayu/Documents/root
with ./configure macosx64

Also, I generated a bashrc file in /users/juehuayu/Documents/root
# .bashrc

     # User specific aliases and functions

     #svn
     export PATH=$PATH:/usr/local/bin

     # ROOT settings

     export ROOTSYS=/users/juehuayu/Documents/root/root
     export PATH=$ROOTSYS/bin:$PATH
     export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH

     # Source global definitions
     if [ -f /etc/bashrc ]; then
              . /etc/bashrc
     fi

Please help.


-- 
Juehua Yu
Department of Surgery and Department of Pathology and Laboratory Medicine
David Geffen School of Medicine at University of California, Los Angeles
California 90095

	[[alternative HTML version deleted]]

