createTypeVarName: Create name for specific COM type

createTypeVarNameR Documentation

Create name for specific COM type

Description

It is possible to creating bindings to a particular COM interface, e.g., Excel.Application so that we can take advantage of knowledge of the set of methods and properties and their specific IDs, rather than dynamically looking them up in each operation. These functions relate to creating and querying these "compiled"/generated R interfaces.

The createTypeVarName function generates the name for the R class representing this COM interface. getCOMElements and COMNames query the elements.

Usage

createTypeVarName(className, var, quote = TRUE)

Arguments

className

the COM object or "concept" for which we want an R name

var

character string that is combined with className

quote

a logical value. If TRUE, enclose the returned class name within single quotes.

Value

a character string, i.e., vector of length 1.

Author(s)

Duncan Temple Lang


omegahat/RDCOMClient documentation built on July 24, 2022, 5:45 a.m.