README.mvbutils {mvbutils}R Documentation

How to use mvbutils

Description

For how to use mvbutils, see the DETAILS section below.

Usage

README.mvbutils()

Details

mvbutils is a collection of utilities offering the following main features:

There are also numerous lower-level utility functions and operators: see ?"mvbutils-utils" and ?"mvbutils-operators".

To get the full features of mvbutils (in particular, the project organization), you need to start R in the same directory every time (your "ROOT task"), and then switch to whichever project from inside R; see cd. Various options always need to be set to make fixr and the debug package work the way you want, so one advantage of the start-in-the-same directory-approach is that you can keep all your project-independent options(), library loads, etc., in a single .First function, called automatically when you start R. However, most features (including support for the debug package) will probably work even if you don't follow this suggestion.

On loading, mvbutils creates a new environment in the search path, called mvb.session.info, which stores some housekeeping information. mvb.session.info is never written to disk, and disappears when the R session finishes. [For Splus users: mvb.session.info is similar to frame 0.] You should never change anything in mvb.session.info by hand, but it is sometimes useful to look at some of the variables there:

Note

On loading, the present version of mvbutils overwrites two system functions: library and help. The modifications should have no side-effects, and/but I hope to be able to avoid them altogether in future versions of R. Briefly:

If you are certain that you don't want these replacements, set options(mvbutils.replacements=FALSE) before loading mvbutils. However, this will prevent cd and the flat-documentation help from working properly.

For ESS users: I'm not an Emacs user and so haven't tried ESS with the mvbutils package myself, but a read-through of the ESS documentation suggests that a couple of ESS variables may need changing to get the two working optimally. Please check the ESS documentation for further details on these points. I will update this helpfile when/if I receive more feedback on what works.

Display bugs: if you have a buggy Unix display where readline() always returns the cursor to the start of the line, overwriting any prompt, then try options( cd.extra.CR=TRUE).

Author(s)

Mark Bravington

See Also

cd, fixr, mlazy, flatdoc, dochelp, formalize.package, source.mvb, mlocal, do.in.envir, foodweb, clip, mvbutils-operators, mvbutils-utils, package debug


[Package mvbutils version 1.1.0 Index]