Я пытаюсь получить имя вложения в письме с помощью клиента RDCOM в r.
Я могу получить название темы, а также текст в теле
Но я не могу понять, как получить имя вложения
OutApp <- COMCreate("Outlook.Application")
outlookNameSpace = OutApp$GetNameSpace("MAPI")
folder <- outlookNameSpace$Folders(1)$Folders(1)
emails <- folder$Items
emails(1)[['Subject']] #Gives me name of subject
emails(1)[['body']] # give me text in body of the mail
emails(1)[['attachments']] # Doesn't give me text. It gives me a pointer like
below
An object of class "COMIDispatch"
Slot "ref":
<pointer: 0x0000000008479448>
Может кто-нибудь помочь мне с этой проблемой?