exec_inp: Execute existing 'gretl' 'inp' file(s) in R

View source: R/exec_inp.R

exec_inpR Documentation

Execute existing gretl inp file(s) in R

Description

Use this function to execute existing gretl inp file(s) in R

Usage

exec_inp(path=".")

Arguments

path

Object or a character string representing the path(s) to the gretl file(s). (default: ".")

Value

Set of gretl (open-source software for Econometrics) outputs

See Also

Other important functions: eng_gretl(), exec_gretl(), gretlR, import_kable(), include_graph(), include_tex(), write_inp()

Examples

library(gretlR)
## Not run: 
code=r'(nulldata 500
set seed 13
gretl1 = normal()
gretl2 = normal()
setobs 12 1980:01 --time-series
gnuplot gretl1 --time-series --with-lines --output="line.png"
gnuplot gretl2 gretl1 --output="scatter.png"
)'
write_inp(code,path="SomeFolder/gretlCodes")
exec_inp("SomeFolder/gretlCodes")


## End(Not run)

gretlR documentation built on May 1, 2022, 5:06 p.m.