R/PrintFlush.R

Defines functions printFlush indentSpaces

Documented in indentSpaces printFlush

printFlush = function(...)
{
#  x = print(...)
  cat(...); cat("\n");
  if (exists("flush.console")) flush.console();
}

indentSpaces = function(indent = 0)
{
  if (indent>0) 
    {
      spaces = paste(rep("  ", times=indent), collapse="");
    } else
    {
      spaces = "";
    }
  spaces;
}

Try the dynamicTreeCut package in your browser

Any scripts or data that you put into this service are public.

dynamicTreeCut documentation built on May 2, 2019, 6:12 a.m.