I would like to know which functions I can use with RDCOMClient objects.
For example, to create an email we can use
OutApp <- COMCreate("Outlook.Application")
# create an email
outMail = OutApp$CreateItem(0)
Along with outMail[["subject"]]
, outMail[["HTMLbody"]]
or outMail[["Attachments"]]$Add(filepath)
But how can I get a comprehensive list?
The RDCOMClient doc is out-of date and the functions listed such as getFuncs()
and getElements()
are not available in the package anymore. Using names()
to try and find out what was under the hood gave me no result, and
install.packages("remotes")
remotes::install_github("omegahat/SWinTypeLibs")
gives an error as well. Any idea on how to check Outlook for objects?
NAMESPACE
, though that's just a list of exported functions. You can go further and look at each of those function's definitions within the package's./R/
source directory. You can go up one level and into its./man/
directory to find its manual packages for the functions. (Given that most files have not been touched in over 10 years, though, in my mind renders assumptions on RDCOM-compatibility a bit risky.) – RajasthanNAMESPACE
and the package's./R/
source directory. Sorry about that!) – RajasthangetCOMElements(outMail)
givescould not find function "getExtends"
. Anyways thanks for your help – Leontineleontyne