Learn R Programming

EviewsR (version 0.1.2)

eviews_wfcreate: Create an `EViews` workfile from R

Description

Use this function to create an `EViews` workfile from R

Usage

eviews_wfcreate(source_description="",wf="",page="",prompt=F,frequency="",
subperiod_opts="",start_date="",end_date="",num_cross_sections=NA,num_observations=NA,
save_path="")

Value

An EViews workfile

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 `EViews` program

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 u for undated, a for annual, m for monthly and so on.

subperiod_opts

Optional integer value. Include subperiod_opts to define subperiod options for frequency argument.

start_date

Object or a character string representing the start date. It should be left blank for undated (when the frequency is u).

end_date

Object or a character string representing the end date. It should be left blank for undated (when the frequency is u).

num_cross_sections

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.

num_observations

Numeric value. Specify the number of observations if the frequency="u".

save_path

Specify where to save the `EViews` workfile.

See Also

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()

Examples

Run this code
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