Skip to content
Prev 312756 / 398503 Next

error of installing/building an R package (PortfolioAnalytics) on Win 7

On Mon, Dec 3, 2012 at 12:42 AM, Jack Bryan <dtustudy68 at hotmail.com> wrote:
I'm not sure that's your problem -- I just downloaded Portfolio and
PerformanceAnalytics and built them both from source with no problem.
(So something's afoot with the r-forge build and I have a hunch it's a
dependency on a more recent xts than is available on CRAN, but I could
be wrong)

Can you install from the command line? svn checkout + R CMD install.
I'd start with building xts from source (admittedly harder because it
has c code unlike PA) but so goes dependency management.

Since you're on Windows, I'd also just (re-)remind you to make sure
your path has no spaces in it.

Michael