speakInEN: Speak Selected Text in English

View source: R/speakInEN.R

speakInENR Documentation

Speak Selected Text in English

Description

This function reads aloud the selected text in English using the MacOS system's 'say' command. It uses the voice specified by the parameter 'systemVoice'. The default voice is "Alex". It only works on MacOS systems.

Usage

speakInEN(systemVoice = "Alex")

Arguments

systemVoice

The voice to be used for speech. Default is "Alex".

Details

Speak Selected Text in English on MacOS System

Value

A message indicating the completion of the speech is returned.

Author(s)

Satoshi Kume

Examples

## Not run: 
  # Select some text in RStudio and then run the rstudio addin

## End(Not run)

chatAI4R documentation built on Jan. 10, 2026, 5:07 p.m.

Related to speakInEN in chatAI4R...