comThis {rcom} | R Documentation |
Returns the COM object for this R Instance.
Use this function to e.g. pass a handle to the running R COM server to another COM obejct.
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.
comThis()
comThis
returns an object of class "COMObject"
representing
the IStatConnector
/IDispatch
of the current R.
Thomas Baier
# get access to R ## Not run: x<-comThis(); # do something with R ## Not run: comInvoke(x,"SetSymbol","abc",1);