progression.R, when I run msSurv package, get dependency ‘graph’ is not available message

252 views
Skip to first unread message

潘祖江

unread,
Aug 2, 2018, 4:34:46 AM8/2/18
to Alzheimer's Disease Neuroimaging Initiative (ADNI) Data
Hi:

To someone may concern this topic.

When I run progression.R, the R script needs msSurv package,

so I use install.packages("msSurv") command, then I got Warning in install.packages :
dependency ‘graph’ is not available message, after google, I know graph package has
 been removed from CRAN, so I try to manually install "graph" package, then I got a wrong 
message, which is: 

graph.c:4:10: fatal error: 'R_ext/RConverters.h' file not found
#include <R_ext/RConverters.h>
         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [graph.o] Error 1
ERROR: compilation failed for package ‘graph’
* removing ‘/usr/local/lib/R/3.4/site-library/graph’

Has anybody ever across this question?

TKS!

Zujiang Pan

潘祖江

unread,
Aug 2, 2018, 6:47:37 AM8/2/18
to Alzheimer's Disease Neuroimaging Initiative (ADNI) Data
Luckily, I have solved this problem according to http://www.bioconductor.org/packages/release/bioc/html/graph.html.


graph: A package to handle graph data structures

Bioconductor version: Release (3.7)

A package that implements some simple graph handling capabilities.

Author: R. Gentleman, Elizabeth Whalen, W. Huber, S. Falcon

Maintainer: Bioconductor Package Maintainer <maintainer at bioconductor.org>

Citation (from within R, enter citation("graph")):

Gentleman R, Whalen E, Huber W, Falcon S (2018). graph: graph: A package to handle graph data structures. R package version 1.58.0.

Installation

To install this package, start R and enter:

## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("graph")

Documentation

To view documentation for the version of this package installed in your system, start R and enter:

browseVignettes("graph")

在 2018年8月2日星期四 UTC+8下午4:34:46,潘祖江写道:
Reply all
Reply to author
Forward
0 new messages