Learn R Programming

⚠️There's a newer version (2.8.232) of this package.Take me there.

mvbutils (version 2.5.3)

Workspace organization, code and documentation editing, package prep and editing, etc.

Description

Hierarchical workspace tree, code editing and backup, easy package prep, editing of packages while loaded, per-object lazy-loading, easy documentation, macro functions, and miscellaneous utilities. Needed by debug package.

Copy Link

Version

Install

install.packages('mvbutils')

Monthly Downloads

415

Version

2.5.3

License

GPL (>= 2)

Maintainer

Mark Bravington

Last Published

October 18th, 2010

Functions in mvbutils (2.5.3)

Save

Save R objects
dochelp

Documentation
localfuncs

"Declare" child functions, allowing much tidier code
get.backup

Text backups of function source code
cdprompt

Support routine for cd-organized workspace hierarchy.
extract.named

Create variables from corresponding named list elements
local.return

Macro-like functions
hack

Modify standard R functions, including tweaking their default arguments
flatdoc

Flat-format documentation
load.refdb

Cacheing objects for lazy-load access
full.path

Expand relative file path
Hours

Sorting out times and time difference
mvbutils-package

How to use the mvbutils package
make.usage.section

Construct sections of documentation
foodweb

Shows which functions call what
add.flatdoc.to

Skeletal flat-format documentation
mvbutils.operators

Utility operators
write.sourceable.function

Sourceable code for functions (and more) with flat-format documentation
lsize

Report objects and their memory sizes
rm.pkg

Remove object(s) from maintained package
setup.mcache

Cacheing objects for lazy-load access
warn.and.subset

Extract subset and warn about omitted cases
as.data.frame.I

Coerce to data.frame, preserving mode of columns
fixr

Editing functions, text objects, and scriptlets
multirep

Replacement and insertion functions with more/less than 1 replacement per spot
search.for.regexpr

Find functions whose source contains a regexp. Can also search flatdoc-style function doco and character doc objects.
make.NAMESPACE

Auto-create a NAMESPACE file
mvb.sys.parent

Functions to Access the Function Call Stack
do.in.envir

Modify a function's scope
mvbutils.packaging.tools

How to create & maintain packages with mvbutils
search.task.trees

Locate loaded tasks on search path.
mvbutils.utils

Miscellaneous utilities
cdfind

Hierarchy-crawling functions for cd-organized workspaces
task.home

Organizing R workspaces
maintain.packages

Set up task package for live editing
dont.lockBindings

Helper for live-editing of packages
dont.lock.me

Prevent sealing of a namespace, to facilitate package maintenance.
help2flatdoc

Convert help files to flatdoc format.
find.documented

Support for flat-format documentation
cd

Organizing R workspaces
local.on.exit

Macro-like functions
unpackage

Convert existing source package into task package
mlocal

Macro-like functions
mlazy

Cacheing objects for lazy-load access
set.presave.hook.mvb

Do something-or-other
readLines.mvb

Read text lines from a connection
fast.read.fwf

Read in fixed-width files quickly
my.index

Arbitrary-level retrieval from and modification of recursive objects
move

Organizing R workspaces
pre.install

Update a source and/or installed package from a task package
source.mvb

Read R code and data from a file or connection
doc2Rd

Converts plain-text documentation to Rd format
fix.order

Shows functions sorted by date of edit
mcut

Put reals and integers into specified bins, returning factors.
strip.missing

Exclude "missing" objects