[R] fPortfolio dont work in R 3.3.1

David Winsemius dwinsemius at comcast.net
Wed Sep 7 22:53:12 CEST 2016


> On Sep 7, 2016, at 12:57 AM, Bannert Matthias <bannert at kof.ethz.ch> wrote:
> 
> Andre, 
> 
> you need to make sure you got a C/C++ compiler as well as a Fortran compiler to compile a package from source that makes use of these language. Many R packages use one of those languages under the hood to speed things up. 
> 
> gcc / gfortran are common and free choices for such compilers. Depending on your OS, these ship with your OS' installation. What OS do you have? 
> 
> Also, i'd try to install RSymphony first and then install fPortfolio.

Rsymphony is an interface to an external program named Symphony. Installation of SYMPHONY is required prior to installation of Rsymphony:

https://projects.coin-or.org/SYMPHONY


-- 
David

> 
> HTH, 
> 
> matt
> 
> Hi,
> 
> 
> I'm trying use the package fPortfolio in R version 3.3.1. But the package don't work. I recieve the messages below:
> 
> 
> Package which is only available in source form, and may need
>  compilation of C/C++/Fortran: 'Rsymphony'
>  These will not be installed
> 
> Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
>  there is no package called 'Rsymphony'
> Erro: package or namespace load failed for 'fPortfolio'
> 
> How I can use fPortfolio in R 3.3.1?
> 
> 
> Thanks in advance,
> 
> 
> Andr� Barbosa Oliveira.
> 
> 
> 
>        [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list