Skip to content
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.

When plot = FALSE, don't call plot.new #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 6, 2015

  1. When plot = FALSE, don't call plot.new

    plot.new() is generally unfriendly to call unless it will actually be
    used for drawing, and certainly not if we ask for no plots to be
    created.
    
    plot.new triggers the completion of the previous plotting action, and as
    such can't be used in combination with any multithreading or forked R
    processes.
    
    plot.new also does not return a "plot" object, it always returns `NULL`,
    so although it appears to be used here as a way of returning a "null
    plot", all that really happens is that AnomalyDetection* returns
    `list(..., plot = NULL)`.
    
    This commit resolves twitter#60
    jcpetkovich committed Oct 6, 2015
    Configuration menu
    Copy the full SHA
    fd74906 View commit details
    Browse the repository at this point in the history