Learn R Programming

wdman (version 0.2.4)

iedriver: Start IE driver server

Description

Start IE driver server

Usage

iedriver(port = 4567L, version = "latest", check = TRUE,
  loglevel = c("FATAL", "TRACE", "DEBUG", "INFO", "WARN", "ERROR"),
  verbose = TRUE, retcommand = FALSE, ...)

Arguments

port

Port to run on

version

what version of IE driver server to run. Default = "latest" which runs the most recent version. To see other version currently sourced run binman::list_versions("iedriverserver")

check

If TRUE check the versions of IE driver available. If new versions are available they will be downloaded.

loglevel

Specifies the log level used by the server. Valid values are: TRACE, DEBUG, INFO, WARN, ERROR, and FATAL. Defaults to FATAL if not specified.

verbose

If TRUE, include status messages (if any)

retcommand

If TRUE return only the command that would be passed to spawn_process

...

pass additional options to the driver

Value

Returns a list with named elements process, output, error, stop and log. process is the output from calling spawn_process output, error and stop are functions calling process_read, process_read with "stderr" pipe and process_kill respectively on process. log is a function which returns the contents of the log file.

Examples

Run this code
# NOT RUN {
ieDrv <- iedriver()
ieDrv$output()
ieDrv$stop()
# }

Run the code above in your browser using DataLab