comCreateObject {rcom} | R Documentation |
Creates a new COM object specified by its program identifier.
The object will be released automatically when the last reference to the object is removed. To speed up this process, assign some NULL value as soon as you don't need the object any more.
comCreateObject(progid)
progid |
ProgId of COM object to create, e.g. "Excel.Application" |
comCreateObject
returns an object of class "COMObject"
.
Thomas Baier
# start up excel ## Not run: x<-comCreateObject("Excel.Application") # and make it visible ## Not run: comSetProperty(x,"Visible",TRUE) # do something now...