[R] fPortfolio dont work in R 3.3.1

David Winsemius dwinsemius at comcast.net
Thu Sep 8 00:45:44 CEST 2016


> On Sep 7, 2016, at 2:35 PM, Andre Barbosa Oliveira <andre.boliveira at hotmail.com> wrote:
> 
> David,
> 
> I think the problem isn't the operacional system. I use the package fPortfolio without problems in R 3.2.3. But when I try use fPortfolio, in the same computer, but on R3.3.1 it don't work. 

I don't think you are reading my message carefully. You need a) SYMPHONY in order to b) install Rsymphony in order to c) install fPortfolio. Please do not correspond to only me. Rhelp has an expectation that copies will be sent to the list.
> 

> My OS is Windows 7.

Perhaps someone on the list with that OS (not mine) can tell you how to determine if SYMPHONY is installed on your machine. Sometimes there are environment variables needed to be set at the system level. I earlier gave you a link to the source, but sometimes that is not enough.

-- 
David.
> 
> Andre
> 
> De: David Winsemius <dwinsemius at comcast.net>
> Enviado: quarta-feira, 7 de setembro de 2016 17:53:12
> Para: Bannert Matthias
> Cc: Andre Barbosa Oliveira; mailman, r-help
> Assunto: Re: [R] fPortfolio dont work in R 3.3.1
>  
> 
> > 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

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list