Learn R Programming

PkgsFromFiles (version 0.5)

pff_plot_summary_pkgs: Plots a summary of used packages fround in files from a given folder

Description

Plots a summary of used packages fround in files from a given folder

Usage

pff_plot_summary_pkgs(folder.in, n.most.used.pkgs = 10,
  do.recursive = TRUE)

Arguments

folder.in

Folder to search for R related files

n.most.used.pkgs

Number of most used packages to show in plot (default = 10)

do.recursive

Find files in all subdirectories? (default = TRUE)

Value

A ggplot2 object that can be printed with print()

Examples

Run this code
# NOT RUN {
 my.dir <- dirname(system.file('extdata', package = 'PkgsFromFiles'))
 p <- pff_plot_summary_pkgs(my.dir)
 print(p)
# }

Run the code above in your browser using DataLab