Learn R Programming

adapr (version 1.0.2)

add_package: Add R package to a project

Description

Add R package to a project

Usage

add_package(project.id = get.project(), library.name, library.install = NA,
  library.specific = FALSE)

Arguments

project.id

project.id to add R package to

library.name

R package name to add

library.install

Command to install library: NA for CRAN, bioC for bioconductor

library.specific

logical indicate whether package is for specific R script

Value

Library information data

Details

Installs and loads all packages

Examples

Run this code
# NOT RUN {
add_package("adaprHome","ggplot2")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab