registerClassID | R Documentation |
These function manage the publication of a COM class
in the Windows registry.
registerClassID
adds the relevant keys and values
to the Windows registry to make the COM class accessible
by either human-readable name or class UUID.
It associates the COM class with the R COM DLL or executable.
registerClassID(name, clsid, progId = name, appId = NULL, version = "1.0", dll = system.file("RDCOMEngine.dll", package = "RDCOMServer"), exe = system.file("RDCOM.exe", package = "RDCOMServer"), addClassID = FALSE, useEXE = FALSE, check = TRUE, rda = NULL, profile = NULL, ..., force = FALSE) unregisterClassID(name, clsid = NULL, progId = name, purge = TRUE)
name |
the name of the COM class by which people clients can create it. |
clsid |
the UUID that identifies the COM class. |
progId |
the human-readable program ID.
When unregistering, this is
the name of the program identifier which may have been registerd
in |
appId |
|
version |
a string giving the version of the COM class |
dll |
the name of the DLL or executable (.EXE) file to use
when instantiating the COM object. This will almost always be either
|
exe |
the name of the EXE file to use for an out-of-process server. |
addClassID |
currently ignored! |
useEXE |
a logical value indicating whether to register the in-process DLL or out-of-process EXE as the server code. |
check |
a logical value which controls whether we check to see if there is alread an entry with the specified name or class identifier in the Windows registry. |
rda |
the name of a file which is expected to contain a
serialized S object (created using |
profile |
the name of an S source file or URI that is
|
... |
a collection of key name-value pairs of the form
|
purge |
a logical value which if |
force |
a logical value that, if |
This uses the SWinRegistry
package
to create or delete the keys in the Windows
registry.
If successful, this returns the class identifier as a named string (character vector). The name is the name supplied. This is useful if one allows the function to generate the UUID.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://www.omegahat.org/RDCOMServer http://www.omegahat.org/SWinRegistry
registerCOMClass
unregisterCOMClass
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.