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) 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]]
> 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.> > 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
> 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
Based upon comments I received on the R-Help list, I ran the following commands and got the following output: > drat::addRepo("ghrr") > install.packages("RQuantLib", type="binary") Installing package into ?C:/Users/rsher/Documents/R/win-library/3.4? (as ?lib? is unspecified) --- Please select a CRAN mirror for use in this session --- Warning: unable to access index for repository https://ghrr.github.io/drat/bin/windows/contrib/3.4: cannot open URL 'https://ghrr.github.io/drat/bin/windows/contrib/3.4/PACKAGES' also installing the dependency ?Rcpp? trying URL 'https://cran.uib.no/bin/windows/contrib/3.4/Rcpp_0.12.14.zip' Content type 'application/zip' length 4358936 bytes (4.2 MB) downloaded 4.2 MB trying URL 'https://cran.uib.no/bin/windows/contrib/3.4/RQuantLib_0.4.2.zip' Content type 'application/zip' length 7259503 bytes (6.9 MB) downloaded 6.9 MB package ?Rcpp? successfully unpacked and MD5 sums checked package ?RQuantLib? successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Users\rsher\AppData\Local\Temp\Rtmp0OoZCW\downloaded_packages This time, I used the mirror in Europe rather than a mirror in the United States and it worked. I am wondering if that matters. I want to thank everybody for their help. Bob Sherry On 12/30/2017 12:44 PM, David Winsemius 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. >> 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 > > > > > >