Cinzia Viroli
2007-Jun-12 13:46 UTC
[R] Building packages with subroutine in fortran 90 under windows xp
Hello, I work under windows xp and I am trying to build a R package with a subroutine written in fortran 90. I have installed all the updated tools and I am working with R-2.4.0 or R-2.5.0. When I check a package with a subroutine in fortran 77 (and extension f) everything is ok. When I try to build the same package with a subroutine in fortran 90 (with extension f90) the following warning appears: Subdirectory 'src' contains no source files and the package can not be built. The funny thing is that I have successfully built the same package with fortran 90 last March and everything was good. I can not imagine what is the problem, can anyone help me? Thank you in advance, best, Cinzia ------------------------------------------------------------------------------------------------------------------------------------------------ Cinzia Viroli Dipartimento di Scienze Statistiche "Paolo Fortunati" Via delle Belle Arti 41 40126 Bologna Italy Ph. +39 051 2094628 Fax +39 051 232153 home: www2.stat.unibo.it/viroli
Prof Brian Ripley
2007-Jun-12 14:02 UTC
[R] Building packages with subroutine in fortran 90 under windows xp
The tools do not include an F9x compiler: you need to edit MkRules to specify the path to one (after installing it) (and you did last March). If I do that, I can install and check packages such as oc and wnominate from CRAN that make use of F9x. On Tue, 12 Jun 2007, Cinzia Viroli wrote:> Hello, > > I work under windows xp and I am trying to build a R package with a > subroutine written in fortran 90. I have installed all the updated tools > and I am working with R-2.4.0 or R-2.5.0.'all the updated tools' is just too vague to be useful.> When I check a package with a subroutine in fortran 77 (and extension f) > everything is ok. When I try to build the same package with a subroutine > in fortran 90 (with extension f90) the following warning appears: > > Subdirectory 'src' contains no source files > > and the package can not be built. > > The funny thing is that I have successfully built the same package with > fortran 90 last March and everything was good. > > I can not imagine what is the problem, can anyone help me? > Thank you in advance, > best, > Cinzia > > > > > > ------------------------------------------------------------------------------------------------------------------------------------------------ > Cinzia Viroli > Dipartimento di Scienze Statistiche "Paolo Fortunati" > Via delle Belle Arti 41 > 40126 Bologna > Italy > Ph. +39 051 2094628 > Fax +39 051 232153 > > home: www2.stat.unibo.it/viroli > > ______________________________________________ > R-help at stat.math.ethz.ch 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. >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595