Dear EI list,
After trying to install ei in R (version 2.15.1)
and following the instructions, the next error message appears:
Installing package(s) into ‘C:/Users/Jose
Manuel/Documents/R/win-library/2.15’
(as ‘lib’ is unspecified)
Aviso: invalid package 'ei'
Error: ERROR: no packages specified
Mensajes de aviso perdidos
1: comando ejecutado 'C:/PROGRA~1/R/R-215~1.1/bin/i386/R CMD INSTALL
-l "C:/Users/Jose Manuel/Documents/R/win-library/2.15" "ei"' tiene
estatus 1
2: In install.packages("ei", type = "source", repos = NULL) :
installation of package ‘ei’ had non-zero exit status
has anybody experienced a similar problem?
any idea to solve it?
best regards
jm
--
Jose M. Pavia
Quantitative Methods' Professor
Universitat de Valencia
Av Tarongers, s/n
46022 Valencia, Spain
Phone: +34 963 828 404
Fax: +34 963 828 415
e-mail: pavia(a)uv.es
Had problems installing some of the component packages on the latest version of R on Mac. Uninstalled and reinstalled the same version of R (2.15.2) and no problems.
> Hi Sara,
>
> Great -- I'm glad you worked it out. Would you mind sending an e-mail to the list saying how you solved the problem, just in case any others run into that problem too?
>
> As for saving, you can use the save() command in R to save any R objects, for example, dbuf is a list-type in R and save will save that list type as is. Then to reload it into R, you use the load() command.
>
> Let me know if you have any more questions -- I'm happy to help!
>
> Best,
> Molly
>
> On Wed, Nov 7, 2012 at 2:42 PM, Sara Butler <sbutler21(a)ucla.edu> wrote:
> Molly - Thank you so much for your fast response! I actually just figured it out. It worked after I uninstalled and reinstalled the current version of R (I had to do the same thing to get the ARM library to work a few weeks ago).
>
> A quick question - I have several large datasets that take about an hour or two to produce results. Is there a command that will save "dbuf" so I don't have to wait so long after I run it once? I read in the .pdf accompanying file that we should save it for that reason but it seems that it only saves the output, not the actual data buffer that I can easily recall at another date.
>
> I am brand new to R (switching from eZI in Stata) so I apologize for what may be simple fixes.
>
> I appreciate your help!
>
> Sara
>
>
> On Nov 7, 2012, at 10:57 AM, Molly Roberts wrote:
>
>> Hi Sara,
>>
>> It looks like tmvtnorm, ucminf, cubature and foreach are not properly installing. When you library(tmvtnorm) what happens?
>>
>> Best,
>> Molly
>>
>> On Wed, Nov 7, 2012 at 9:07 AM, Sara Butler <sbutler21(a)ucla.edu> wrote:
>> Hi there. I have tried many times and different methods to get EI to successfully install in R on Mac. I've downloaded various versions of R and installed the required packages but keep getting errors. The latest error I've received is after I run the following:
>>
>>
>> install.packages("mvtnorm")
>> install.packages("msm")
>> install.packages("tmvtnorm")
>> install.packages("ellipse")
>> install.packages("plotrix")
>> install.packages("MASS")
>> install.packages("ucminf")
>> install.packages("cubature")
>> install.packages("mnormt")
>> install.packages("foreach")
>> install.packages("eiPack")
>> install.packages("ei", type="source", repos="http://r.iq.harvard.edu")
>>
>>
>> The downloaded packages are in
>> /private/var/folders/84/0x595yrd1yb_4yks1n6gtz5w0000gn/T/RtmpGcgNhS/downloaded_packages
>> Warning messages:
>> 1: dependencies ‘tmvtnorm’, ‘ucminf’, ‘cubature’, ‘foreach’ are not available in: install.packages("ei", type = "source", repos = "http://r.iq.harvard.edu")
>> 2: installation of package 'ei' had non-zero exit status in: install.packages("ei", type = "source", repos = "http://r.iq.harvard.edu")
>> ** Removing '/Library/Frameworks/R.framework/Resources/library/ei'
>> Loading required package: msm
>> Warning: package 'msm' was built under R version 2.5.1
>> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>> unable to load shared library '/Library/Frameworks/R.framework/Resources/library/msm/libs/i386/msm.so':
>> dlopen(/Library/Frameworks/R.framework/Resources/library/msm/libs/i386/msm.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/2.5/Resources/lib/libRlapack.dylib
>> Referenced from: /Library/Frameworks/R.framework/Resources/library/msm/libs/i386/msm.so
>> Reason: Incompatible library version: msm.so requires version 2.5.0 or later, but libRlapack.dylib provides version 0.0.0
>> Error: package 'msm' could not be loaded
>> Execution halted
>> ERROR: lazy loading failed for package 'ei'
>>
>> Thanks!
>>
>>
>> -
>> ---
>> EI mailing list served by HUIT
>> Subscribe/Unsubscribe: http://lists.gking.harvard.edu/mailman/listinfo/ei
>> More info on ei and eiR: http://GKing.Harvard.edu/eiR
>> EI mailing list
>> EI(a)lists.gking.harvard.edu
>>
>> To unsubscribe from this list or get other information:
>>
>> https://lists.gking.harvard.edu/mailman/listinfo/ei
>>
>
>
Hi there. I have tried many times and different methods to get EI to successfully install in R on Mac. I've downloaded various versions of R and installed the required packages but keep getting errors. The latest error I've received is after I run the following:
install.packages("mvtnorm")
install.packages("msm")
install.packages("tmvtnorm")
install.packages("ellipse")
install.packages("plotrix")
install.packages("MASS")
install.packages("ucminf")
install.packages("cubature")
install.packages("mnormt")
install.packages("foreach")
install.packages("eiPack")
install.packages("ei", type="source", repos="http://r.iq.harvard.edu")
The downloaded packages are in
/private/var/folders/84/0x595yrd1yb_4yks1n6gtz5w0000gn/T/RtmpGcgNhS/downloaded_packages
Warning messages:
1: dependencies ‘tmvtnorm’, ‘ucminf’, ‘cubature’, ‘foreach’ are not available in: install.packages("ei", type = "source", repos = "http://r.iq.harvard.edu")
2: installation of package 'ei' had non-zero exit status in: install.packages("ei", type = "source", repos = "http://r.iq.harvard.edu")
** Removing '/Library/Frameworks/R.framework/Resources/library/ei'
Loading required package: msm
Warning: package 'msm' was built under R version 2.5.1
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/Library/Frameworks/R.framework/Resources/library/msm/libs/i386/msm.so':
dlopen(/Library/Frameworks/R.framework/Resources/library/msm/libs/i386/msm.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/2.5/Resources/lib/libRlapack.dylib
Referenced from: /Library/Frameworks/R.framework/Resources/library/msm/libs/i386/msm.so
Reason: Incompatible library version: msm.so requires version 2.5.0 or later, but libRlapack.dylib provides version 0.0.0
Error: package 'msm' could not be loaded
Execution halted
ERROR: lazy loading failed for package 'ei'
Thanks!