On 16/03/2015 10:38, Srikanth Gumma wrote:
Hi,

I'm trying to install diveRsity package in our R installation. however it
always fails with the error message "Unsupported Fortran 90 compiler or
Fortran 90". Below is the full output. Appreciate any help.

Ask the maintainer of the package concerned (glasso). Its way of detecting the complier is flaky (and does not meet current CRAN requirements on cross-platform portability).


R

R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-unknown-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

   Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

install.packages("diversity")
--- Please select a CRAN mirror for use in this session ---
Warning messages:
1: package ‘diversity’ is not available (for R version 3.1.2)
2: Perhaps you meant ‘diveRsity’ ?
install.packages("diveRsity")
also installing the dependencies ‘glasso’, ‘qgraph’

trying URL 'http://cran.rstudio.com/src/contrib/glasso_1.8.tar.gz'
Content type 'application/x-gzip' length 41768 bytes (40 Kb)
opened URL
==================================================
downloaded 40 Kb

trying URL 'http://cran.rstudio.com/src/contrib/qgraph_1.3.1.tar.gz'
Content type 'application/x-gzip' length 211062 bytes (206 Kb)
opened URL
==================================================
downloaded 206 Kb

trying URL 'http://cran.rstudio.com/src/contrib/diveRsity_1.9.73.tar.gz'
Content type 'application/x-gzip' length 1330144 bytes (1.3 Mb)
opened URL
==================================================
downloaded 1.3 Mb

* installing *source* package ‘glasso’ ...
** package ‘glasso’ successfully unpacked and MD5 sums checked
  This package requires a fortran 90 compiler. We assume
  that your fortran 90 environment is set up appropriately.
  Reference: Section on 'Using F95 code' in R-exts manual.
  R_HOME is /app1/centos6.3/gnu/apps/R-3.1.2/lib64/R
     Unsupported Fortran 90 compiler or Fortran 90
     compilers unavailable! Stop!
ERROR: configuration failed for package ‘glasso’
* removing ‘/nfs/app1/centos6.3/gnu/apps/R-3.1.2/lib64/R/library/glasso’
ERROR: dependency ‘glasso’ is not available for package ‘qgraph’
* removing ‘/nfs/app1/centos6.3/gnu/apps/R-3.1.2/lib64/R/library/qgraph’
ERROR: dependency ‘qgraph’ is not available for package ‘diveRsity’
* removing ‘/nfs/app1/centos6.3/gnu/apps/R-3.1.2/lib64/R/library/diveRsity’

The downloaded source packages are in
         ‘/tmp/Rtmp2IAilr/downloaded_packages’
Warning messages:
1: In install.packages("diveRsity") :
   installation of package ‘glasso’ had non-zero exit status
2: In install.packages("diveRsity") :
   installation of package ‘qgraph’ had non-zero exit status
3: In install.packages("diveRsity") :
   installation of package ‘diveRsity’ had non-zero exit status

Regards
Srikanth.

        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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.



--
Brian D. Ripley,                  [email protected]
Emeritus Professor of Applied Statistics, University of Oxford
1 South Parks Road, Oxford OX1 3TG, UK

______________________________________________
[email protected] 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.

Reply via email to