Hi Jeff and R group,

I am having an xts specific problem with installing from R-Forge.  I was 
scanning the internet it looks like somebody else posted the some problem on 
stackoverflow yesterday and a number of people have replied but nobody has a 
successful solution.

http://stackoverflow.com/questions/5073154/errors-installing-rforge-version-of-xts-package-for-r

I have tried all the suggestions but continue to get the exact same error when 
I install xts.

For email archive reference I will re-describe it here:

After installing xts from R source forge I get a "unable to load shared object" 
error.  If I revert to the CRAN binaries version 7-5 it works correctly (except 
marginal VaR for PerformanceAnalytics in previous thread).  I've installed with 
the package manager, command line install.packages, and downloaded the source 
directly.  All have the same result.

Additionally, the file 
/Library/Frameworks/R.framework/Versions/2.12/Resources/library/xts/libs/i386/xts.so
 does exist with the following permissions:

-rwxr-xr-x  1 hward  admin  106248 Feb 17 15:28 xts.so

Any thoughts?  I will post a solution to stackoverflow when we resolve this.  
Thank you.


Henry



> sessionInfo()
R version 2.12.1 (2010-12-16)
Platform: i386-apple-darwin9.8.0/i386 (32-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] zoo_1.7-0

loaded via a namespace (and not attached):
[1] grid_2.12.1     lattice_0.19-13
> library(xts)
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object 
'/Library/Frameworks/R.framework/Versions/2.12/Resources/library/xts/libs/i386/xts.so':
  
dlopen(/Library/Frameworks/R.framework/Versions/2.12/Resources/library/xts/libs/i386/xts.so,
 6): Library not loaded: /usr/local/lib/libgfortran.2.dylib
  Referenced from: 
/Library/Frameworks/R.framework/Versions/2.12/Resources/library/xts/libs/i386/xts.so
  Reason: image not found
In addition: Warning message:
package 'xts' was built under R version 2.12.2 
Error: package/namespace load failed for 'xts'
> 


        [[alternative HTML version deleted]]

_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should 
go.

Reply via email to