Learn R Programming

Rgnuplot (version 1.0.3)

Gpgetwd: Get gnuplot's working directory

Description

Gpgetwd returns gnuplot's working directory

Usage

Gpgetwd(handle)

Arguments

handle
handle to the connection

Value

See Also

Gpsetwd

Examples

Run this code
#Initialize the gnuplot handle
h1<-Gpinit()
## Not run: 
# #change gnuplot's working directory to be the same as R's working directory (default)
# Gpsetwd(h1)
# Gpgetwd(h1)
# ## End(Not run)
#close gnuplot handle
h1<-Gpclose(h1)

Run the code above in your browser using DataLab