COMCreate {RDCOMClient}R Documentation

Create a COM object

Description

This is used to create a COM object in R.

Usage

COMCreate(name, ...)

Arguments

name the name identifying the type of COM object. This is usually the name of the class, such as Excel.Application. In the future, this may support finding class IDs separately and passing them as this argument
... currently ignored. In the future, we will have arguments controlling how the server is created, e.g. the location of the machine, etc.

Details

This resolves the class ID given the name and then creates the instance using CoCreateInstance. The class ID is found using CLSIDFromString and if that fails using CLSIDFromProgID.

Value

An object of class COMIDispatch.

Author(s)

Duncan Temple Lang (duncan@research.bell-labs.com)

References

http://www.omegahat.org/RDCOMClient http://www.omegahat.org/RDCOMServer http://www.omegahat.org/SWinTypeLibs http://www.omegahat.org/SWinRegistry

See Also

The $ and [[ operators for the COMIDispatch class - COMAccessors

Examples



[Package RDCOMClient version 0.8-1 Index]