powered by
Produces subgraph of dependencies of R script
getDepSubgraph(rscript, project.id = getProject(), plotTF = FALSE)
R script name
Project graph
logical to plot or not
list with subgraph in igraph format, data frame format, and layout for plottingss
Only needs one or the other argument.
# NOT RUN { subGraph <- scriptSubgraph(project.id=getProject()) plot(subGraph[[1]],vertex.label=basename(igraph::V(subGraph[[1]])$name),layout=subGraph[[2]]) # } # NOT RUN { # }
Run the code above in your browser using DataLab