Hi Mauricio,
A Windows binary is now available on CRAN:
http://dirk.eddelbuettel.com/blog/2011/04/04/#rquantlib_0.3.7
Best,
--
Joshua Ulrich ?| ?FOSS Trading: www.fosstrading.com
On Tue, Mar 29, 2011 at 10:38 AM, Mauricio Romero
<mauricio.romero at quantil.com.co> wrote:> Dear R users,
>
> I have been trying to use RQuantLib in the 2.12.2 R version. I downloaded
> the .zip file from
> <http://sourceforge.net/projects/quantlib/files/QuantLib/>
> http://sourceforge.net/projects/quantlib/files/QuantLib/ which didn't
work,
> so I
>
> I downloaded the package source from
> <http://sourceforge.net/projects/quantlib/files/QuantLib/1.0.1/>
> http://sourceforge.net/projects/quantlib/files/QuantLib/1.0.1/
>
>
>
> Then I run:
>
> install.packages("RQuantLib_0.3.6.tar.gz",
type="source", repos=NULL)
>
> and get the following error:
>
>
>
> Installing package(s) into
'C:\Users\Mauricio\Documents/R/win-library/2.12'
>
> (as 'lib' is unspecified)
>
> * installing *source* package 'RQuantLib' ...
>
>
>
> ? **********************************************
>
> ? WARNING: this package has a configure script
>
> ? ? ? ? It probably needs manual configuration
>
> ? **********************************************
>
>
>
>
>
> ** libs
>
>
>
> *** arch - i386
>
> cygwin warning:
>
> ?MS-DOS style path detected: C:/PROGRA~1/R/R-212~1.2/etc/i386/Makeconf
>
> ?Preferred POSIX equivalent is:
> /cygdrive/c/PROGRA~1/R/R-212~1.2/etc/i386/Makeconf
>
> ?CYGWIN environment variable option "nodosfilewarning" turns off
this
> warning.
>
> ?Consult the user's guide for more details about POSIX paths:
>
> ? ?http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
>
> g++ -I"C:/PROGRA~1/R/R-212~1.2/include"
> -I"C:/Users/Mauricio/Documents/R/win-library/2.12/Rcpp/include" ?
-I -I.
> -O2 -Wall ?-c asian.cpp -o asian.o
>
> asian.cpp:26:23: fatal error: rquantlib.h: No such file or directory
>
> compilation terminated.
>
> make: *** [asian.o] Error 1
>
> ERROR: compilation failed for package 'RQuantLib'
>
> * removing
'C:/Users/Mauricio/Documents/R/win-library/2.12/RQuantLib'
>
> Warning messages:
>
> 1: running command 'C:\PROGRA~1\R\R-212~1.2/bin/i386/R CMD INSTALL -l
> "C:\Users\Mauricio\Documents/R/win-library/2.12" ?
"RQuantLib_0.3.6.tar.gz"'
> had status 1
>
> 2: In install.packages("RQuantLib_0.3.6.tar.gz", type =
"source", repos > NULL) :
>
> ?installation of package 'RQuantLib_0.3.6.tar.gz' had non-zero exit
status
>
>
>
>
>
> Any ideas?
>
>
>
> Thanks,
>
>
>
> Mauricio Romero
>
>
> ? ? ? ?[[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>