getTypeDocumentation | R Documentation |
This retrieves the documentation for the specified
entry in the type library (ITypeLib
) or
ITypeInfo
object.
getTypeDocumentation(lib, which)
lib |
the |
which |
the index of the entry (1-based) in the type library
whose documentation is to be retrieved.
If |
A character vector of length 3 giving the
DocString |
the documentation string for this element. |
Help Context |
documentation for the context of this element. |
Help File |
the name of the help file. |
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://msdn.microsoft.com/library http://www.omegahat.org/RWinTypeLibs
LoadTypeLib
getTypeInfo
getTypeLibTypes
if(file.exists("c:\\WINNT\\system32\\wmpui.dll")) {
l = LoadTypeLib("c:\\WINNT\\system32\\wmpui.dll")
getTypeDocumentation(l, 0)
getTypeDocumentation(l, 14)
m <- matrix("", length(l), 3)
for(i in 1:length(l)) {
m[i, ] <- getTypeDocumentation(l, i)
}
print(m)
w = COMCreate("Word.Application", existing = TRUE)
lib = LoadTypeLib(w)
getTypeDocumentation(lib[["Documents"]], 0)
getTypeDocumentation(lib[["Documents"]], 1)
lib = NULL
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.