Skip to content

sellorm/rsay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsay

rsay makes R and your Mac speak!

It's a simple R wrapper around the MacOS command line utility, say.

Note: MacOS only, sorry!

Installation

devtools::install_github("sellorm/rsay")

Examples

It's really easy to get R to make your Mac speak

library(rsay)
speak("Good day to you")

Maybe your Mac should let you know when that long R task has finished?

#
# Really long running R job
# ...
# ...
# Finished
speak("Wow, that took a long time!")

say also has different built in voices that you can play with, for example:

speak("Wasn't Stranger Things good", voice = "Diego")

The complete list of voices is provided as a dataset called, available_voices.

Releases

No releases published

Packages

No packages published

Languages