Learn R Programming

ProjectTemplate (version 0.11.0)

.attach.or.add.namespace: Attach a package or add a namespace

Description

Internal method to attach a package or only add the namespace.

Usage

.attach.or.add.namespace(package.name, attach)

Value

Boolean indicating whether the package was successfully loaded

Arguments

package.name

name of the package to load, as a character vector

attach

boolean indicating whether to attach the package in the global namespace