Use this function to create an `EViews` workfile from R
eviews_wfcreate(source_description="",wf="",page="",prompt=F,frequency="",
subperiod_opts="",start_date="",end_date="",num_cross_sections=NA,num_observations=NA,
save_path="")
An EViews workfile
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.
Object or a character string representing the name of a workfile to be created
Object or a character string representing the name of a workfile page to be created
Logical, whether to force the dialog to appear from within an `EViews` program
Object or a character string representing the frequency of a workfile page to be created. Only letters accepted by EViews are allowed. For example u
for undated, a
for annual, m
for monthly and so on.
Optional integer value. Include subperiod_opts
to define subperiod options for frequency
argument.
Object or a character string representing the start date
. It should be left blank for undated (when the frequency
is u
).
Object or a character string representing the end date
. It should be left blank for undated (when the frequency
is u
).
Optional integer value. Include num_cross_sections
in order to create an `EViews` balanced panel page using integer identifiers for each of the cross-sections.
Numeric value. Specify the number of observations if the frequency="u"
.
Specify where to save the `EViews` workfile.
Other important functions:
EviewsR
,
create_object()
,
eng_eviews()
,
eviews_graph()
,
eviews_import()
,
eviews_pagesave()
,
eviews_wfsave()
,
exec_commands()
,
export()
,
import_table()
,
import()
,
rwalk()
,
set_eviews_path()
library(EviewsR)
if (FALSE) {
eviews_wfcreate(wf="EviewsR_eviews_wfcreate",page="EviewsR_page",frequency = "m",
start_date = "1990",end_date = "2022")
}
Run the code above in your browser using DataLab