exec_gretl {gretlR} | R Documentation |
Execute gretl
codes in R
Description
Use this function to Execute gretl
codes in R.
Usage
exec_gretl(code,path=basename(tempfile("gretlR")))
Arguments
code |
Object or a character string representing the set of |
path |
Object or a character string representing the directory to execute the |
Value
Set of gretl
(open-source software for Econometrics) outputs
See Also
Other important functions:
eng_gretl()
,
exec_inp()
,
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"
)'
exec_gretl(code)
## End(Not run)
[Package gretlR version 0.1.4 Index]