[R] Installing package QRMlib
Pfaff, Bernhard Dr.
Bernhard_Pfaff at fra.invesco.com
Wed Feb 29 14:46:48 CET 2012
Well, because QRMlib interfaces C routines (IIRC), the error message is pretty indicative, i.e. these routines cannot be compiled. Now, without further information there is not much to recommend, but:
1) check your RTools installation
2) Ask the package maintainer (cc'ed) when he will re-release QRMlib on CRAN, be patient until the binaries have been populated and use install.packages()
Best,
Bernhard
-----Ursprüngliche Nachricht-----
Von: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] Im Auftrag von DT54321
Gesendet: Mittwoch, 29. Februar 2012 14:17
An: r-help at r-project.org
Betreff: Re: [R] Installing package QRMlib
I wouldn't see myself as an experienced R user soI would appreciate if anyone is able to give me a clear set of instructions on how to install and load QRMlib. The steps I've followed are:
1: Download 'QRMlib_1.4.5.1.tar.gz' from http://cran.r-project.org/src/contrib/Archive/QRMlib/ to my local folder.
2. QRMlib depends on methods, fCalendar, fEcofin, mvtnorm, chron,its,Hmisc so I install all of these. I install teh following from within RStuidos using the Packages tab:
a) mvtnorm
b) chron
c) its
d) Hmisc
e) methods
And download the tar.gz files from the archive for:
A) fCalendar
b) fEcofin
In R, I also use the install.packages with type = "source" and repos = NULL to install the packages listed in A) and B)
3. In R, then enter
iinstall.packages(file_name, type ="source", repos = NULL)
where file_name is the directory for QRMlib_1.4.5.1.tar.gz.
It outputs the following error:
Installing package(s) into ‘C:/Program Files/R/R-2.14.1/library’
(as ‘lib’ is unspecified)
* installing *source* package 'QRMlib' ...
** Creating default NAMESPACE file
** libs
ERROR: compilation failed for package 'QRMlib'
* removing 'C:/Program Files/R/R-2.14.1/library/QRMlib'
* restoring previous 'C:/Program Files/R/R-2.14.1/library/QRMlib'
Warning in install.packages :
running command 'C:/PROGRA~1/R/R-214~1.1/bin/i386/R CMD INSTALL -l "C:/Program Files/R/R-2.14.1/library"
"my_local_folder/QRMlib_1.4.5.1.tar.gz"' had status 1 Warning in install.packages :
installation of package ‘Pmy_local_folder/QRMlib_1.4.5.1.tar.gz’ had non-zero exit status
Please help!
--
View this message in context: http://r.789695.n4.nabble.com/Installing-package-QRMlib-tp4425269p4431453.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
*****************************************************************
Confidentiality Note: The information contained in this message,
and any attachments, may contain confidential and/or privileged
material. It is intended solely for the person(s) or entity to
which it is addressed. Any review, retransmission, dissemination,
or taking of any action in reliance upon this information by
persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
*****************************************************************
More information about the R-help
mailing list