mvbutils-internal          package:mvbutils          R Documentation

_I_n_t_e_r_n_a_l _f_u_n_c_t_i_o_n_s _f_o_r _m_v_b_u_t_i_l_s

_D_e_s_c_r_i_p_t_i_o_n:

     Internal functions for 'mvbutils', not meant to be called
     directly.

_U_s_a_g_e:

     x %**% y
     as.docattr(x)
     assign.to.base( x, what=lapply( named( x),
      function( x, where) get( "replacement." %&% x, pos=where),
      where=where), where=-1)
     called.by( fname, can.match, where)
     cdfind.guts(found, task.dir, task.name, pattern, env)
     cd.change.all.paths.guts(found, task.dir, task.name = "??",
      env, old.path, new.path, case)
     cdtree.guts(found, task.dir, task.name, env)
     cd.write.mvb.tasks.guts(found, task.dir, task.name, env)
     cd..(pos, nlocal = sys.parent())
     cd.load( taskname, pos, attach.new, nlocal = sys.parent())
     char.unlist(x)
     close.selfdeleting.file( con, ...)
     create.bkind.if.needed(dir)
     deal.with.backups(name, where)
     discard.mouldering.backups(nlocal = sys.parent())
     dos.or.windows()
     exists.mvb(x, pos = -1, envir = pos.to.env(pos), frame, mode = "any",
      inherits = FALSE)
     expand.match(short, long, any.case = FALSE)
     find.path(rel.path, char.rel.path, return.all = FALSE)
     find.prefix(j, nodes, parents)
     find.web(nlocal = sys.parent())
     get.bkfile(name, bkdir, create = FALSE)
     get.cd.from.menu()
     get.path.list()
     group(m, ...)
     hack.library()
     index( lvector)
     install.proged()
     is.nonzero( x)
     least.mutual.dependency(funmat, funs, level)
     lib.pos()
     load.mvb(filename, name, pos, attach.new, ...)
     make.new.cd.task(task.name, nlocal = sys.parent(), answer, dir.name)
     maybe.save.after.move(to.from)
     move.backup.file(name, old.dir, new.dir, copy = FALSE)
     move.fix.list(nlocal = sys.parent())
     my.all.equal(x, y)
     organize.web.display(resequence = TRUE, merge01 = FALSE,
      plotmath = FALSE, nlocal = sys.parent())
     prepare.for.move(path)
     plot.cdtree( x, ...)
     print.cdtree( x, ...)
     print.docattr( x, ...)
     promote.2.to.1()
     put.in.session(...)
     read.bkind(dir)
     reattach.placeholder(sn, nlocal = sys.parent())
     save.pos( pos, path, ascii=FALSE)
     set.path.attr(env, the.path, task.name = character(0))
     set.pos.and.path( nlocal=sys.parent())
     set.test(a, b)
     unpaste(string, sep)
     upper.case( s)
     what.is.open()
     write.mvb.tasks(tasks = get("tasks", env = env),
      env = .GlobalEnv, dir = attr(env, "path"))

_N_o_t_e:

     The following may be obsolete: 'expand.match', 'char.unlist',
     '%**%', 'what.is.open'

     or duplicative

        *  'index' (nearly synonymous with 'which')

        *  'my.all.equal' ('identical'? 'all.equal'?)

        *  'unpaste' (for compatibility with S+)

        *  'upper.case' ('casefold')

        *  'save.pos' (use 'Save.pos' instead for more safety)

     The 'print' and 'plot' methods do the obvious thing; this seems to
     be the least intrusive place to "document" them.

     'hack.library' and 'hack.help' produce modified versions of the
     appropriate system functions, hopefully in a version-independent
     fashion. See 'README.mvbutils'.

_A_u_t_h_o_r(_s):

     Mark Bravington

