title: Installing RQuantLib on RStudio AWS AMI
body: <p>there have been some similar questions (<a href="https://stackoverflow.com/questions/18644436/installing-rquantlib-on-linux">Installing RQuantLib on Linux</a>), but none related to the AWS RStudio environment. After trying the usual rute </p>
  
  <pre><code>install.packages('RQuantLib');
  library(devtools)
  install_github("eddelbuettel/rquantlib")
  </code></pre>
  
  <p>I get the following error (in both cases):</p>
  
  <pre><code>configure: error: Please install QuantLib before trying to build RQuantLib.
  ERROR: configuration failed for package ‘RQuantLib’.
  </code></pre>
  
  <p>Also, all of a sudden (after upgrading R on my local machine from 3.4.4 to 3.5.0) RQuantLib stopped working also on my local Windows machine:</p>
  
  <pre><code> Error in system(full, intern = TRUE, ignore.stderr = quiet, ...) : 
   running command '"C:/PROGRA~1/R/R-35~1.0/bin/x64/R" --no-site-file --no-  environ --no-save --no-restore --quiet CMD config CC' had status 1
  </code></pre>
  
  <p>After following the directions on the Github page I tried the following:</p>
  
  <pre><code>if (!require("drat")) install.packages("drat")
  drat::addRepo("ghrr")
  install.packages("RQuantLib", type="binary")
  </code></pre>
  
  <p>but got the follwoing error:</p>
  
  <pre><code>Warning in install.packages :
  unable to access index for repository https://ghrr.github.io/drat/bin/windows/contrib/3.5:
  cannot open URL 'https://ghrr.github.io/drat/bin/windows/contrib/3.5/PACKAGES'
  Warning in install.packages :
  package ‘RQuantLib’ is not available (as a binary package for R version 3.5.0)
  </code></pre>
  
  <p>What else could I try? The AWS problem has a higher priority, although I would really like to be able to use RQuantLib on my local machine again, so any help would be really appreciated.</p>
  
  <p>A small end note: The RQuantLib library compiles succesfully on the Debian 16.04 AWS AMI, but not on the RStudio AMI.</p>