show_sample: printing _gretl_ sample scripts

Description Usage Arguments Value Author(s) Examples

Description

Prints gretl sample scripts. Outputs script contents (invisible). It is convenient when the function argument is a name, rather then a script itself.

Usage

1
2
3
show_sample(x)
# show_sample("gretl$nile")
# show_sample(gretl$nile)

Arguments

x

character vector; a gretl sample script, or its name.

Value

character vector

Author(s)

Oleh Komashko

Examples

1
2
3
4
5
6
mles <- find_sample("mle")
mle1 <- show_sample(mles[1])
## Not run: 
run_grcli(mle1)

## End(Not run)

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