datasets_info: extracting information on _gretl_ sample files

Description Usage Arguments Value Author(s) Examples

Description

Extracts information on gretl sample data files which are include into gretl installation. This information is ready available via gretl GUI menu but not via gretlcli. This function makes the use of Rgretl tmore independent. All possible output list the set of files which can be opened by open_gdt without indicating neither path no extension.

Usage

1
2
3
datasets_info(directory = NULL, prn = NULL)
# dirs = datasets_info()
# gretl = datasets_info(dirs[1])

Arguments

directory

void or character vector, see Examples.

prn

integer vector: determines what subset of files to print a short description. By default prints all available information; if it is set to zero printing is suppressed, see Examples.

Value

character vector

Author(s)

Oleh Komashko

Examples

1
2
3
dirs = datasets_info()
gretl = datasets_info(dirs[1],1:2)
head(gretl)

Rgretl documentation built on May 2, 2019, 3:46 p.m.