Learn R Programming

Rgnuplot (version 1.0.3)

Gpsetwd: Set gnuplot working directory

Description

Gpsetwd sets gnuplot working directory, default path = R's working directory

Usage

Gpsetwd(handle, wd)

Arguments

handle
handle to the connection
wd
gnuplot working directory, default = R's working directory

Value

See Also

Gpgetwd

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)
# #check it out
# Gpgetwd(h1)
# ## End(Not run)
#close gnuplot handle
h1<-Gpclose(h1)

Run the code above in your browser using DataLab