Error while using Package RDCOMClient to retrieve data from Microsoft outlook

Hi,
I am trying to extract data from Outlook emails using package RDCOMClient, I downloaded the package as .zip file from http://www.omegahat.net/R/bin/windows/contrib/4.0/ I am using R version 4.0.2.

I wrote below code

library(RDCOMClient)
library(dplyr)
library(stringr)

working_dir<- getwd()

outlook_app <- COMCreate("Outlook.Application")

But I got an error as following

Error: Invalid class string In addition: Warning message: In getCOMInstance(name, force = TRUE, silent = TRUE) : Couldn't get clsid from the string

I am not able to figure out what is the issue.

Thank you in advance for your support.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.