[Rquantlib-devel] followed-up discussion on termStructure
Dirk Eddelbuettel
edd at debian.org
Mon Apr 12 17:01:13 CEST 2010
On 12 April 2010 at 10:38, SaichiuNelson Tong wrote:
| Hi Dirk,
|
| I'm trying that approach too.
|
| install.packages("Rcpp")
|
| I pick different mirror site : for example 59: USA (CA 1), 68: USA (PA 1),
| 69: USA (PA 2), so far I just get back:
|
| Warning message:
| In install.packages("Rcpp") : package ‘Rcpp’ is not available
What OS? It works well for me on Linux, as well as Windows when I check. See
below.
Dirk
R> install.packages("Rcpp", repos="http://cran.us.r-project.org")
Warning in install.packages("Rcpp", repos = "http://cran.us.r-project.org") :
argument 'lib' is missing: using '/usr/local/lib/R/site-library'
trying URL 'http://cran.us.r-project.org/src/contrib/Rcpp_0.7.11.tar.gz'
Content type 'application/x-gzip' length 392885 bytes (383 Kb)
opened URL
==================================================
downloaded 383 Kb
* installing *source* package ‘Rcpp’ ...
** libs
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c Dimension.cpp -o Dimension.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c DottedPair.cpp -o DottedPair.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c Environment.cpp -o Environment.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c Evaluator.cpp -o Evaluator.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c Function.cpp -o Function.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c Language.cpp -o Language.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c Pairlist.cpp -o Pairlist.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c Promise.cpp -o Promise.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RObject.cpp -o RObject.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppCommon.cpp -o RcppCommon.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppDate.cpp -o RcppDate.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppDateVector.cpp -o RcppDateVector.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppDatetime.cpp -o RcppDatetime.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppDatetimeVector.cpp -o RcppDatetimeVector.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppFrame.cpp -o RcppFrame.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppFunction.cpp -o RcppFunction.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppList.cpp -o RcppList.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppMatrix.cpp -o RcppMatrix.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppMatrixView.cpp -o RcppMatrixView.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppNumList.cpp -o RcppNumList.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppParams.cpp -o RcppParams.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppResultSet.cpp -o RcppResultSet.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppStringVector.cpp -o RcppStringVector.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppStringVectorView.cpp -o RcppStringVectorView.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppVector.cpp -o RcppVector.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c RcppVectorView.cpp -o RcppVectorView.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c S4.cpp -o S4.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c Symbol.cpp -o Symbol.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c WeakReference.cpp -o WeakReference.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c clone.cpp -o clone.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c coerce.cpp -o coerce.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c debugging.cpp -o debugging.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c exceptions.cpp -o exceptions.o
g++ -I/usr/share/R/include -I. -fpic -O3 -Wall -pipe -c r_cast.cpp -o r_cast.o
g++ -shared -o Rcpp.so Dimension.o DottedPair.o Environment.o Evaluator.o Function.o Language.o Pairlist.o Promise.o RObject.o RcppCommon.o RcppDate.o RcppDateVector.o RcppDatetime.o RcppDatetimeVector.o RcppFrame.o RcppFunction.o RcppList.o RcppMatrix.o RcppMatrixView.o RcppNumList.o RcppParams.o RcppResultSet.o RcppStringVector.o RcppStringVectorView.o RcppVector.o RcppVectorView.o S4.o Symbol.o WeakReference.o clone.o coerce.o debugging.o exceptions.o r_cast.o -L/usr/lib/R/lib -lR
g++ -o libRcpp.so Dimension.o DottedPair.o Environment.o Evaluator.o Function.o Language.o Pairlist.o Promise.o RObject.o RcppCommon.o RcppDate.o RcppDateVector.o RcppDatetime.o RcppDatetimeVector.o RcppFrame.o RcppFunction.o RcppList.o RcppMatrix.o RcppMatrixView.o RcppNumList.o RcppParams.o RcppResultSet.o RcppStringVector.o RcppStringVectorView.o RcppVector.o RcppVectorView.o S4.o Symbol.o WeakReference.o clone.o coerce.o debugging.o exceptions.o r_cast.o -shared -L/usr/lib/R/lib -lR
ar qc libRcpp.a Dimension.o DottedPair.o Environment.o Evaluator.o Function.o Language.o Pairlist.o Promise.o RObject.o RcppCommon.o RcppDate.o RcppDateVector.o RcppDatetime.o RcppDatetimeVector.o RcppFrame.o RcppFunction.o RcppList.o RcppMatrix.o RcppMatrixView.o RcppNumList.o RcppParams.o RcppResultSet.o RcppStringVector.o RcppStringVectorView.o RcppVector.o RcppVectorView.o S4.o Symbol.o WeakReference.o clone.o coerce.o debugging.o exceptions.o r_cast.o
cp libRcpp.so ../inst/lib
cp Rcpp*.h ../inst/lib
cp Rcpp/*.h ../inst/lib/Rcpp
cp Rcpp/internal/*.h ../inst/lib/Rcpp/internal
cp Rcpp/traits/*.h ../inst/lib/Rcpp/traits
cp libRcpp.a ../inst/lib
rm libRcpp.so libRcpp.a
installing to /usr/local/lib/R/site-library/Rcpp/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
* DONE (Rcpp)
The downloaded packages are in
‘/tmp/RtmpVmxZpf/downloaded_packages’
R>
|
| -N.
|
|
| > Don't use R-Forge. We break / change things on occassion. You are _much_
| > better off using CRAN and the default install.packages() option.
| >
| > Dirk
| >
| > | >
| > | > -Nelson
| > | >
| > | > On Wed, Apr 7, 2010 at 9:48 AM, Khanh Nguyen <nguyen.h.khanh at gmail.com
| > >
| > | > wrote:
| > | >>
| > | >> > I think I really need to start playing more with some of the
| > functions
| > | >> > from
| > | >> > rquantlib in order to discuss more about this. Let me get back to
| > you
| > | >> > later
| > | >> > this week about this.
| > | >>
| > | >> Cool...
| > | >>
| > | >> > (PS: are we supposed to get a reply-maail for approval of joining
| > the
| > | >> > rquantlib developer list before we can post up message to the list?
| > )
| > | >>
| > | >> Yes, just subscribe to the list with your email.
| > | >
| > | >
| > | _______________________________________________
| > | Rquantlib-devel mailing list
| > | Rquantlib-devel at lists.r-forge.r-project.org
| > |
| > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rquantlib-devel
| >
| > --
| > Registration is open for the 2nd International conference R / Finance 2010
| > See http://www.RinFinance.com for details, and see you in Chicago in
| > April!
| >
--
Registration is open for the 2nd International conference R / Finance 2010
See http://www.RinFinance.com for details, and see you in Chicago in April!
More information about the Rquantlib-devel
mailing list