R/geoelectricsGui.r

Defines functions geoelectricsGui

Documented in geoelectricsGui

#' Graphical User Interface of the Geoelectrics R Package
#' 
#' This method starts a simple TclTk graphical user interface (GUI) provided by this package.
#' @export
#' @examples
#' # geoelectricsGui()
geoelectricsGui <- function() {
  if(!is.element('tkrplot', installed.packages()[,1])) {
    stop('Please install the `tkrplot` package first.')
  }
  source(system.file('gui/gui.r', package = 'geoelectrics'))
}

Try the geoelectrics package in your browser

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

geoelectrics documentation built on Feb. 16, 2023, 8:06 p.m.