Learn R Programming

Rgnuplot (version 1.0.3)

Gpsetloadpath: Set gnuplot's additional directories, for data and scripts

Description

Gpsetloadpath sets gnuplot's additional directories, for data and scripts, default path = extdata directory from Rgnuplot

Usage

Gpsetloadpath(handle, loadpath)

Arguments

handle
handle to the connection
loadpath
string with gnuplot's additional directories, for data and scripts

Value

See Also

Gpinit

Examples

Run this code
#Initialize the gnuplot handle
h1<-Gpinit()
## Not run: 
# #set gnuplot's additional search directories, to the extdata directory from Rgnuplot (default)
# Gpsetloadpath(h1)
# #get gnuplot's additional search directories
# Gpgetloadpath(h1)
# ## End(Not run)
#close gnuplot handle
h1<-Gpclose(h1)

Run the code above in your browser using DataLab