Katherine Gobin
2013-May-02 12:09 UTC
[R] Clean Price of Bond : Can't install "RQuantLib" in R version 3.0.0
Dear Forum, I have R version 3.0.0 installed and need to install RQuantLib pacakge. I tried to install it from CRAN Mirror and I couldn't load it. I had saved the package i zip format and tried to install it locally but I am getting following error.> utils:::menuInstallLocal()Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : cannot open the connection In addition: Warning message: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : cannot open compressed file 'RQuantLib_0.3.10(1)/DESCRIPTION', probable reason 'No such file or directory' I need to install this package as I need to find out how the clean price of bond is arrived at? Kindly guide Regards Katherine [[alternative HTML version deleted]]
Prof Brian Ripley
2013-May-02 12:23 UTC
[R] Clean Price of Bond : Can't install "RQuantLib" in R version 3.0.0
On 02/05/2013 13:09, Katherine Gobin wrote:> Dear Forum, > > I have R version 3.0.0 installed and need to install RQuantLib pacakge. I tried to install it from CRAN Mirror and I couldn't load it. I had saved the package i zip format and tried to install it locally but I am getting following error.What is the name of the file you downloaded? I am guessing it did not arrive with the name on the archive. You seem to be using Windows without saying so. The file for Windows is http://cran.r-project.org/bin/windows/contrib/r-release/RQuantLib_0.3.10.zip without (1) in the name.> >> utils:::menuInstallLocal() > Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : > cannot open the connection > In addition: Warning message: > In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : > cannot open compressed file 'RQuantLib_0.3.10(1)/DESCRIPTION', probable reason 'No such file or directory' > > I need to install this package as I need to find out how the clean price of bond is arrived at? > > Kindly > guide > > Regards > > Katherine > > [[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. >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595