Error in .rk.call.nested("output", c("close", .checkId(), if (is.null(discard)) "ask" else if (isTRUE(discard)) "force" else "fail")) : 
  Output has been modified. Not closing it.
Error in .rk.call.nested("output", c("revert", .checkId(), if (is.null(discard)) "ask" else if (isTRUE(discard)) "force" else "fail")) : 
  User canceled.
Error in .rk.call.nested("output", c("clear", .checkId(), if (is.null(discard)) "ask" else if (isTRUE(discard)) "force" else "fail")) : 
  Output is not empty. Not clearing it.
Warning in .rk.call.nested("output", c("close", .checkId(), if (is.null(discard)) "ask" else if (isTRUE(discard)) "force" else "fail")) :
  Output has been activated, automatically
Warning in .rk.call.nested("output", c("close", .checkId(), if (is.null(discard)) "ask" else if (isTRUE(discard)) "force" else "fail")) :
  Output has been activated, automatically
