[R] RQuantLib

David Winsemius dwinsemius at comcast.net
Sat Dec 30 18:46:22 CET 2017


> On Dec 30, 2017, at 9:44 AM, David Winsemius <dwinsemius at comcast.net> wrote:
> 
> 
>> On Dec 30, 2017, at 7:54 AM, rsherry8 <rsherry8 at comcast.net> wrote:
>> 
>> OA,
>> 
>> Thanks for the response. I downloaded the file RQuantLib_0.4.4.tar.gz 
>> into a directory c:\r.zip on my Windows machine. I then ran the 
>> following command and I received the following output:
>> 
>>> install.packages("RQuantLib", lib="/r.zip/")
>> Warning message:
>> package ‘RQuantLib’ is not available (for R version 3.4.3)
> 
> The install.packages command should include repo=NULL when installing from local binary package, and it also should include type="source when the package is not binary.

Furthermore, the system requirements in the DESCRIPTION file are:


SystemRequirements:	QuantLib library (>= 1.8.0) from http://quantlib.org, Boost library from http://www.boost.org


>> 
>> I did not unpack the .gz file. Should I have?
>> 
>> Please comment.
>> Bob Sherry
>> 
>> On 12/30/2017 2:24 AM, Orvalho Augusto wrote:
>>> Hi Bob,
>>> 
>>> I don't know what is the cause of your trouble but try this:
>>> 1. Download the zip of package.
>>> 
>>> 2. And install it from local zip files. This you find on the Packages 
>>> menu.
>>> 
>>> Hope it helps
>>> OA
>>> 
>>> 
>>> On Fri, Dec 29, 2017 at 10:31 AM, rsherry8 <rsherry8 at comcast.net 
>>> <mailto:rsherry8 at comcast.net>> wrote:
>>> 
>>>   Joshua,
>>> 
>>>   Thanks for the response. When you said at least version 3.4.0, I
>>>   upgraded to 3.4.2 which I believe is the current version. Now, I
>>>   attempted to install the package RQuantLib but it did not work.
>>>   Here is what I got:
>>> 
>>>> install.packages("RQuantLib")
>>>   Installing package into ‘C:/Users/rsher/Documents/R/win-library/3.4’
>>>   (as ‘lib’ is unspecified)
>>>   Warning message:
>>>   package ‘RQuantLib’ is not available (for R version 3.4.2)
>>> 
>>> 
>>>   Please help.
>>>   Thanks,
>>>   Bob Sherry
>>> 
>>> 
>>>   On 12/28/2017 10:28 PM, Joshua Ulrich wrote:
>>> 
>>>       On Thu, Dec 28, 2017 at 6:02 PM, rsherry8
>>>       <rsherry8 at comcast.net <mailto:rsherry8 at comcast.net>> wrote:
>>> 
>>>           I have recently installed R on my new computer. I also
>>>           want to install the
>>>           package RQuantLib. So I run the following command and get
>>>           the following
>>>           output:
>>> 
>>>                 install.packages("RQuantLib")
>>> 
>>>           Installing package into
>>>           ‘C:/Users/rsher/Documents/R/win-library/3.2’
>>>           (as ‘lib’ is unspecified)
>>>           --- Please select a CRAN mirror for use in this session ---
>>>           Warning message:
>>>           package ‘RQuantLib’ is not available (for R version 3.2.4
>>>           Revised)
>>> 
>>>           The package did not install. Am I doing something wrong.
>>>           Is the package
>>>           going to be updated for the latest version of R?
>>> 
>>>       Windows binary packages are only built for the most current
>>>       (major)
>>>       version of R.  You need to upgrade to at least R-3.4.0, or you
>>>       will
>>>       have to install RQuantLib (and therefore QuantLib itself) from
>>>       source.
>>> 
>>>           Thanks,
>>>           Bob
>>> 
>>>           ______________________________________________
>>>           R-help at r-project.org <mailto:R-help at r-project.org> mailing
>>>           list -- To UNSUBSCRIBE and more, see
>>>           https://stat.ethz.ch/mailman/listinfo/r-help
>>>           <https://stat.ethz.ch/mailman/listinfo/r-help>
>>>           PLEASE do read the posting guide
>>>           http://www.R-project.org/posting-guide.html
>>>           <http://www.R-project.org/posting-guide.html>
>>>           and provide commented, minimal, self-contained,
>>>           reproducible code.
>>> 
>>> 
>>> 
>>> 
>>>   ______________________________________________
>>>   R-help at r-project.org <mailto:R-help at r-project.org> mailing list --
>>>   To UNSUBSCRIBE and more, see
>>>   https://stat.ethz.ch/mailman/listinfo/r-help
>>>   <https://stat.ethz.ch/mailman/listinfo/r-help>
>>>   PLEASE do read the posting guide
>>>   http://www.R-project.org/posting-guide.html
>>>   <http://www.R-project.org/posting-guide.html>
>>>   and provide commented, minimal, self-contained, reproducible code.
>>> 
>>> 
>> 
>> 
>> 	[[alternative HTML version deleted]]
>> 
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> 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.
> 
> David Winsemius
> Alameda, CA, USA
> 
> 'Any technology distinguishable from magic is insufficiently advanced.'   -Gehm's Corollary to Clarke's Third Law
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

David Winsemius
Alameda, CA, USA

'Any technology distinguishable from magic is insufficiently advanced.'   -Gehm's Corollary to Clarke's Third Law



More information about the R-help mailing list