GpCheckHandle: Check if the gnuplot session handle is valid

Description Usage Arguments Value Author(s) See Also Examples

Description

GpcheckHandle checks a gnuplot session handle and returns an error message if it is invalid

Usage

1
GpcheckHandle(handle)

Arguments

handle

handle to the connection

Value

none

Author(s)

Jose' Gama

See Also

Gpinit

Examples

1
2
3
4
5
6
7
8
#Initialize the gnuplot handle
h1<-Gpinit()
#returns TRUE for valid handle
## Not run: GpcheckHandle(h1)
#close gnuplot handle
h1<-Gpclose(h1)
#this generates an error
#GpcheckHandle(h1)

Rgnuplot documentation built on May 1, 2019, 9:17 p.m.