title: Suppress plots in R (mac)
body: <p>I am currently using R to generate some statistics for a couple hundred time-series from a simulation. I am employing something called the 'earlywarnings' package. The particular function I am using returns various statistics along with their respective plots. However, since I need to check hundreds of these things (in a loop), I'd like to know if there is a way to suppress this function from plotting every time. </p>
  
  <p>I am new to R and I don't know how to see the contents of the package in order to change the code to achieve my goals. </p>
  
  <p>Thank you for your help.</p>
  
  <p>**** Edit *****</p>
  
  <p>I have checked the package's documentation and there's is not mention of an option to stop the function from plotting. </p>
  
  <p>Below is the code needed to run an example. Use any time-series:</p>
  
  <pre><code>generic_ews(mytimeseries, winsize = 25, detrending = c("no", "gaussian",
                                              "loess", "linear", "first-diff"), bandwidth = NULL, span = NULL,
          degree = NULL, logtransform = FALSE, interpolate = FALSE,
          AR_n = FALSE, powerspectrum = FALSE)
  </code></pre>