Quantcast

Where to obtain version of PortfolioAnalytics package installable on R 2.15

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Where to obtain version of PortfolioAnalytics package installable on R 2.15

David-Michael Lincke
Could somebody please point me to where I can obtain a version of package PortfolioAnalytics that can be installed on R 2.15 (x86 32 bit) on Windows?

The obvious approach fails:

> install.packages("PortfolioAnalytics",repos="http://r-forge.r-project.org")
Warning message: package ‘PortfolioAnalytics’ is not available (for R version 2.15.0)

A closer look on R-Forge shows that the package has not been building successfully for some time due to issues with compiling the documentation into pdf.

Thanks,
David

        [[alternative HTML version deleted]]


_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should go.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Where to obtain version of PortfolioAnalytics package installable on R 2.15

gsee
I wish there were an R-Forge FAQ I could point to.

You need to use svn to checkout the code. (tortoise svn is popular for Windows)
    svn checkout svn://svn.r-forge.r-project.org/svnroot/returnanalytics/

Navigate to the pkg directory of what you just checked out
    cd returnanalytics/pkg

Then build and install it.  Since you're on Windows, you'll need
http://cran.r-project.org/bin/windows/Rtools/
   R CMD INSTALL --build PortfolioAnalytics

As you noticed, that package has some problems that prevent it from
passing R CMD check, so don't hold your breath waiting for R-Forge to
build it.  (Also, don't expect the documentation to match the code)

If you're going to use code that is under development, you need to
learn to use svn and how to build packages from source.  If you have
trouble building from source, follow up on R-help.

HTH,
Garrett

On Mon, Jun 18, 2012 at 12:02 PM, David-Michael Lincke
<[hidden email]> wrote:

> Could somebody please point me to where I can obtain a version of package PortfolioAnalytics that can be installed on R 2.15 (x86 32 bit) on Windows?
>
> The obvious approach fails:
>
>> install.packages("PortfolioAnalytics",repos="http://r-forge.r-project.org")
> Warning message: package ‘PortfolioAnalytics’ is not available (for R version 2.15.0)
>
> A closer look on R-Forge shows that the package has not been building successfully for some time due to issues with compiling the documentation into pdf.
>
> Thanks,
> David
>
>        [[alternative HTML version deleted]]
>
>
> _______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.

_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should go.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Where to obtain version of PortfolioAnalytics package installable on R 2.15

gsee
On Mon, Jun 18, 2012 at 2:34 PM, G See <[hidden email]> wrote:
> I wish there were an R-Forge FAQ I could point to.
>
Now we can direct these types of question to this post:
http://stackoverflow.com/questions/11105131/cannot-install-r-forge-package-using-install-packages

Garrett

_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should go.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Where to obtain version of PortfolioAnalytics package installable on R 2.15

Matt Considine
As an aside, I have not had any real issues checking out, exporting and
then building the returnanalytics packages on Windows.  So the process
described should work fine ...
Matt

        [[alternative HTML version deleted]]

_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should go.
Loading...