[R] error of installing a R package on Win 7

David Winsemius dwinsemius at comcast.net
Wed Nov 28 03:33:14 CET 2012


On Nov 27, 2012, at 9:17 AM, Jack Bryan wrote:

>
> Hi,
> I am trying to run R 2.15.2 on Win 7.
> I am trying to run some example R code of the book :Portfolio  
> Optimization with R/Rmetrics
> I was told that :
> To install all packages required for the examples of this ebook we  
> recommendthat you install the bundle package ebookPortfolio.
> This can be done with the following commands in the R environment.  
> If there is no binary package for your operating system, you can  
> install the package from source with the argument type = "source".
>> install.packages("ebookPortfolio",repos = c("http:// 
>> pkg.rmetrics.org","http://cran.r-project.org"),type =  
>> getOption("pkgType"))
> I got :
> Warning: unable to access index for repository http://pkg.rmetrics.org/src/contribWarning 
> : package ‘ebookPortfolio’ is not available (for R version  
> 2.15.2)Warning: unable to access index for repository http://pkg.rmetrics.org/bin/windows/contrib/2.15
> Is this an error ?
> I am a new user of R.
> How to handle it ? How to install ebookPortfolio package ?
> Any help will be appreciated.

Shouldn't this go to the author of the text. You paid him your money.

-- 
David Winsemius, MD
Alameda, CA, USA




More information about the R-help mailing list