GGobiCall-n1: Calling native routines

Description Usage Arguments Details Value Author(s) See Also

Description

Wrappers for calling C routines in the R-ggobi library.

Usage

1
.GGobiCall(.name, ..., .gobi = ggobi_get(), .test=TRUE)

Arguments

.name

the simple name of the C routine to be resolved

...

the arguments that to be passed to the .C or .Call

.gobi

the ggobi instance identifier that is to be passed to the C routine as its last argument

.test

Details

.GGobiC and .GGobiCall convert the name and then call their C invocation counterparts.

These functions map the simple name of a C routine into the package-specific version of that name. These allow use to hide the use a name mangling scheme of our choosing for the C level routines in the shared library/DLL that provides the glue between R and ggobi. This is useful for avoiding name conflicts with other C code in R or other packages. These are only of relevance to the developers of this package and those working with its C code.

The mapping of the name to its corresponding C routine name is done in conjunction with the pre-processor macro RS_GGOBI. These must be synchronized.

Value

the same result as the corresponding .C and .Call

Author(s)

Hadley Wickham <h.wickham@gmail.com>

See Also

.C, .Call


rggobi documentation built on May 2, 2019, 6:41 a.m.