execute {RGMQL} | R Documentation

## GMQL Function: EXECUTE

### Description

It executes GMQL query. The function works only after invoking at least one collect

### Usage

    execute()

### Value

None

### Examples

    ## This statement initializes and runs the GMQL server for local execution
    ## and creation of results on disk. Then, with system.file() it defines
    ## the path to the folder "DATASET" in the subdirectory "example"
    ## of the package "RGMQL" and opens such folder as a GMQL dataset
    ## named "data"

    init_gmql()
    test_path <- system.file("example", "DATASET", package = "RGMQL")
    data = read_gmql(test_path)

    ## The following statement materializes the dataset "data", previoulsy read,
    ## at the specific destination test_path into local folder "ds1" opportunely
    ## created

    collect(data, dir_out = test_path)

    ## This statement executes GMQL query.
    ## Not run:

    execute()

    ## End(Not run)

[Package RGMQL version 1.8.0 Index]