import_graph {EviewsR} | R Documentation |
Import EViews
graph objects(s) into R, R Markdown or Quarto.
Description
Use this function to import EViews
graph objects(s) into R, R Markdown or Quarto.
Usage
import_graph(
wf = "",
page = "*",
graph = "*",
graph_procs = "",
save_options = "",
save_copy = T,
save_path = dirname(wf)
)
Arguments
wf |
Object or a character string representing the name of an |
page |
Object or a character string representing the name of an |
graph |
Name(s) or wildcard expressions of EViews graph object(S) |
graph_procs |
A vector containing |
save_options |
A vector of options to be passed to |
save_copy |
Logical. Whether to save the copy of the graph objects |
save_path |
Object or a character string representing the path to the folder to save the |
Value
An EViews workfile
See Also
Other important functions:
EviewsR
,
create_object()
,
eng_eviews()
,
eviews_graph()
,
eviews_import()
,
eviews_pagesave()
,
eviews_wfcreate()
,
eviews_wfsave()
,
exec_commands()
,
export_dataframe()
,
export()
,
import_equation()
,
import_kable()
,
import_series()
,
import_table()
,
import_workfile()
,
import()
,
rwalk()
,
set_eviews_path()
Examples
library(EviewsR)
## Not run:
demo(exec_commands)
# To import all graph objects
import_graph(wf="exec_commands")
# To import only graphs that begin with x:
import_graph(wf="exec_commands",graph="x*")
# To access the graph objects in base R:
# eviewspage-x_graph # graph saved in "figure/" folder
# To get the graph objects in R Markdown or Quarto
# chunkLabel-eviewspage-x_graph # graph saved in "fig.path" folder
## End(Not run)