Hi, 

I am trying to install a package (PortfolioAnalytics) of R 2.15.2 on Win 7. 

I have tried the following instructions on :

http://stackoverflow.com/questions/11105131/cannot-install-r-forge-package-using-install-packages

I used svn checkout svn://svn.r-forge.r-project.org/svnroot/returnanalytics/  
to 
get the package and then copy it to my Win 7. 


Then, on Win 7 I run: 

> install.packages('PortfolioAnalytics', type='source',  repos='<The location 
> of the package on Win 7>')

I got 

Warning: unable to access index for repository 
C:/myPath/library/returnanalytics/pkg/PerformanceAnalytics/src/contrib
Warning: package ‘PortfolioAnalytics’ is not available (for R version 2.15.2)


I also tried 

http://stackoverflow.com/questions/4739837/how-do-i-install-an-r-package-from-the-source-tarball-on-windows

http://cran.r-project.org/doc/manuals/R-admin.html#Windows-packages    (6.3.1 
Windows)

http://cran.r-project.org/doc/manuals/R-admin.html#The-Windows-toolset  
(Appendix D The Windows toolset)

I have installed RTools216 on Win 7. But, it does not say how to use it to 
build a R package on Win 7. 
http://cran.r-project.org/bin/windows/Rtools/Rtools216.exe

Any help will be appreciated. 

Thanks



                                          
        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to