Wednesday, July 6, 2022
  • Login
  • Register
IT Skills You Need
  • Home
  • Monitoring
  • DevOps
  • AI
  • Big-data
  • Automation
  • Agile
  • ITIL
  • AIOps
No Result
View All Result
  • Home
  • Monitoring
  • DevOps
  • AI
  • Big-data
  • Automation
  • Agile
  • ITIL
  • AIOps
No Result
View All Result
IT Skills You Need
No Result
View All Result
Home Datascience

Microsoft365R 2.1.0 with Outlook support now on CRAN

admin by admin
15 April 2021
in Datascience
0 0
0
Microsoft365R 2.1.0 with Outlook support now on CRAN
0
SHARES
1
VIEWS
Share on FacebookShare on Twitter

by Hong Ooi
I’m happy to announce that Microsoft365R 2.1.0 is now on CRAN with Outlook email support! Here’s a quick summary of the new features:
Send, reply to and forward emails, optionally composed with blastula or emayili
Copy and move emails between folders
Create, delete, copy and move folders
Add, remove and download attachments
Here’s a sample of how to write an email using blastula:
library(Microsoft365R)

# 1st one is for your personal Microsoft account
# 2nd is for your work & school account
outl <- get_personal_outlook()
outlb <- get_business_outlook()

# compose an email with blastula
library(blastula)
bl_body <- “## Hello!

This is an email message that was generated by the blastula package.

We can use **Markdown** formatting with the `md()` function.

Cheers,

The blastula team”

bl_em <- compose_email(
body=md(bl_body),
footer=md(“sent via Microsoft365R”)
)
em <- outl$create_email(bl_em, subject=”Hello from R”,
to=”bob@example.com”)

# add an attachment and send it
em$add_attachment(“mydocument.docx”)
em$send()
And on the other side, here’s a sample of how to work with the emails in your inbox:
# list the most recent emails in your inbox
emlst <- outl$list_emails()

# get the most recent email
em <- emlst[[1]]

# list and download attachments
em$list_attachments()
em$download_attachment(“mydatafile.csv”)

# reply to it
em$create_reply(“Replying from R”)$send()

# list the folders in your account
outl$list_folders()

# move the move recent email to a given folder
folder <- outl$get_folder(“My project folder”)
em$move(folder)
In addition, this release fixes a bug in the list_files() method for OneDrive/Sharepoint drives and drive items, and adds the ability to create nested drive folders in one call.
Please note that if you’re using one of the workarounds mentioned in the authentication vignette, they won’t work with Outlook. You’ll need to get the Microsoft365R app approved for your tenant, or alternatively, if you have admin rights you can create your own tenant with the required permissions. (This applies if you’re using Microsoft365R at work; if you’re using it at home on your personal account, you shouldn’t have any problems.)
If you have any feedback or comments, you can email me or open an issue at the repo.

Tags: Data science

Get real time update about this post categories directly on your device, subscribe now.

Unsubscribe
3 Reasons to Use RPA for Data Analytics and Reporting

3 Reasons to Use RPA for Data Analytics and Reporting

27 August 2021
Automation 360 v.21—More Innovative Ways Get Work Done.

Automation 360 v.21—More Innovative Ways Get Work Done.

15 July 2021
Inserts, Updates, Deletes in SQLAlchemy 1.4/2.0 Core

Inserts, Updates, Deletes in SQLAlchemy 1.4/2.0 Core

17 June 2022
Azure DevOps Server and Team Foundation Server patches

Azure DevOps Server and Team Foundation Server patches

26 January 2022
Basics of Graph Convolutional Network (GCN)

Basics of Graph Convolutional Network (GCN)

22 March 2022
Automating Index State Management for Amazon OpenSearch Service (successor to Amazon Elasticsearch Service)

Automating Index State Management for Amazon OpenSearch Service (successor to Amazon Elasticsearch Service)

21 December 2021
Polish Up your ML model!

Polish Up your ML model!

20 November 2021

Introduction to Linear Model for Optimization

23 December 2021

Introducing Protocol buffers (protobuf) schema support in AWS Glue Schema Registry

5 April 2022

Make data available for analysis in seconds with Upsolver low-code data pipelines, Amazon Redshift Streaming Ingestion, and Amazon Redshift Serverless

10 March 2022

Upcoming Webinar: Analyst Discussion on Dickerson’s Hierarchy of Service Reliability

15 March 2022

The Agile Metrics Survey 2021

8 November 2021

Working with Legacy Applications in Agile Transformation

25 November 2021

How Do We Translate Agile Transformation Into Financial Benefits?

9 February 2022

Linear Algebra for Data Science With Python

27 June 2022

Azure Functions with R and plumber

17 December 2020
IT Skills You Need

© 2022 IT SKILLS YOU NEED

Navigate Site

  • Activity
  • Classifieds
  • Groups
  • Home
  • Members

Follow Us

No Result
View All Result
  • Home

© 2022 IT SKILLS YOU NEED

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms bellow to register

*By registering into our website, you agree to the Terms & Conditions and Privacy Policy.
All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.