eviews_wfcreate {EviewsR} | R Documentation |
Create an EViews
workfile.
Description
Use this function in R, R Markdown and Quarto to create an EViews
workfile.
Usage
eviews_wfcreate(
source_description = "",
wf = "",
page = "",
prompt = FALSE,
frequency = "",
subperiod_opts = "",
start_date = "",
end_date = "",
num_cross_sections = NA,
num_observations = NA,
save_path = ""
)
Arguments
source_description |
Description of the file from which the data is to be imported. The specification of the description is usually just the path and file name of the file. |
wf |
Object or a character string representing the name of a workfile to be created |
page |
Object or a character string representing the name of a workfile page to be created |
prompt |
Logical, whether to force the dialog to appear from within an |
frequency |
Object or a character string representing the frequency of a workfile page to be created. Only letters accepted by EViews are allowed. For example |
subperiod_opts |
Optional integer value. Include |
start_date |
Object or a character string representing the |
end_date |
Object or a character string representing the |
num_cross_sections |
Optional integer value. Include |
num_observations |
Numeric value. Specify the number of observations if the |
save_path |
Specify where to save the |
Value
An EViews workfile
See Also
Other important functions:
EviewsR
,
create_object()
,
eng_eviews()
,
eviews_graph()
,
eviews_import()
,
eviews_pagesave()
,
eviews_wfsave()
,
exec_commands()
,
export_dataframe()
,
export()
,
import_equation()
,
import_graph()
,
import_kable()
,
import_series()
,
import_table()
,
import_workfile()
,
import()
,
rwalk()
,
set_eviews_path()
Examples
library(EviewsR)
## Not run:
eviews_wfcreate(wf="eviews_wfcreate",page="EviewsR_page",frequency = "m",
start_date = "1990",end_date = "2022")
# Create a workfile from a dataframe
Data=data.frame(x=cumsum(rnorm(100)),y=cumsum(rnorm(100)))
eviews_wfcreate(source_description=Data,wf="eviews_wfcreate1",page="EviewsR_page",frequency="m",
start_date="1990")
## End(Not run)