[[<-.COMObject {rcom}R Documentation

Write One of a COM Object's Properties

Description

Writes one of the COM object's properties.

Usage

## S3 method for class 'COMObject':
handle[[property,...]]<-value

Arguments

handle COM object (class "COMObject") as returned by e.g. comCreateObject
property name of property to get as a character string
... optional additional arguments for property specification (e.g. index for an array)
value the value the property should be set to

Value

The return value is the object handle.

Author(s)

Gabor Grothendieck

See Also

comSetProperty, $.COMObject

Examples

# start up excel
## Not run: x<-comCreateObject("Excel.Application")

# and make it visible
## Not run: x[["Visible"]] <- TRUE;

[Package rcom version 2.2-1 Index]