exec_inp | R Documentation |
gretl
inp
file(s) in RUse this function to execute existing gretl
inp
file(s) in R
exec_inp(path=".")
path |
Object or a character string representing the path(s) to the |
Set of gretl
(open-source software for Econometrics) outputs
Other important functions:
eng_gretl()
,
exec_gretl()
,
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"
)'
write_inp(code,path="SomeFolder/gretlCodes")
exec_inp("SomeFolder/gretlCodes")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.