exec_gretl | R Documentation |
gretl
codes in RUse this function to Execute gretl
codes in R.
exec_gretl(code,path=basename(tempfile("gretlR")))
code |
Object or a character string representing the set of |
path |
Object or a character string representing the directory to execute the |
Set of gretl
(open-source software for Econometrics) outputs
Other important functions:
eng_gretl()
,
exec_inp()
,
gretlR
,
import_kable()
,
include_graph()
,
include_tex()
,
write_inp()
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.