Hi Mike,
Can you try updating your R to the most recent version 2.14.0 and reinstall VGAM as well
as Zelig? Then, everything should work.
Best,
Kosuke
Department of Politics
Princeton University
Hello,
I was using Zelig yesterday (Mac OS 10.7.2, R 2.13.0
x86_64-apple-darwin9.8.0/x86_64 (64-bit), Zelig 3.5.3, VGAM 0.8-4) and
everything was working just fine. However, this morning I updated all of my
R packages and now I cannot even run the sample commands in the Zelig
manual (and my project is due soon!). I have no idea how to fix this --
what should I do?
data(mexico)
z.out1 <- zelig(as.factor(vote88) ~ pristr + othcok + othsocok, model =
"mlogit", data = mexico)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/Library/Frameworks/R.framework/Versions/2.13/Resources/library/VGAM/libs/x86_64/VGAM.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/VGAM/libs/x86_64/VGAM.so,
6): Library not loaded: /usr/local/lib/libgfortran.2.dylib
Referenced from:
/Library/Frameworks/R.framework/Versions/2.13/Resources/library/VGAM/libs/x86_64/VGAM.so
Reason: image not found
Error in loadModelDeps(model) :
This model depends on package "VGAM". Please install this package and try
again
In addition: Warning message:
package 'VGAM' was built under R version 2.13.2
Error: package/namespace load failed for 'VGAM'
install.packages("VGAM")
trying
URL '
http://software.rc.fas.harvard.edu/mirrors/R/bin/macosx/leopard/contrib/2.1…
'
Content type 'application/x-gzip' length 4525473 bytes (4.3 Mb)
opened URL
==================================================
downloaded 4.3 Mb
The downloaded packages are in
/var/folders/0z/6lnh31r9211fldsd3hxl7zdw0000gn/T//Rtmpy6JZzF/downloaded_packages
Any help would be greatly appreciated. I **really** like the Zelig
framework, but if I can't get this to work soon then unfortunately I'll
have to use SAS instead, which would be a real bummer.
Thanks!
Mike
--
Michael Daly, MSc
University of California, Irvine, School of Medicine
Medical Student, Year IV -- Research Year
Beth Israel Deaconess Medical Center
Dr. Charles Day's Orthopaedic Surgery Research Group
mcdaly(a)bidmc.harvard.edu | (925) 997-2786
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options: