Learn R Programming

Rgretl (version 0.2.2)

show_sample: printing gretl sample scripts

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

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

Examples

Run this code
# NOT RUN {
mles <- find_sample("mle")
mle1 <- show_sample(mles[1])
# }
# NOT RUN {
run_grcli(mle1)
# }

Run the code above in your browser using DataLab