R/guiRemove.R

Defines functions GSremove

Documented in GSremove

### remove graph sheet pages, equivalent to right-click delete on the tab.
###  GSremove(c(3,4,5,6,8,9,12,13))

GSremove <- function(pages, sheet="GSD2$Page") {
  if.R(r={
    guiRemove <- NA ## placeholder to make R-2.6.0dev happy
    warning("No-op function in R.")
  }
       ,s=
       for (i in paste(sheet, pages, sep=""))
       guiRemove( "GraphSheetPage", Name = i, ShiftLeft = FALSE)
       )
}

Try the HH package in your browser

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

HH documentation built on Aug. 9, 2022, 5:08 p.m.