rt-text-to-speech"></a>
</h2>
<p>Synthesize speech with <code>tts(text = "TEXT", service = "ENGINE")</code></p>
<div class="sourceCode" id="cb4"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="co"># Amazon Polly</span></span>
<span><span class="fu"><a href="reference/tts.html">tts</a></span><span class="op">(</span><span class="st">"Hello world!"</span>, service <span class="op">=</span> <span class="st">"amazon"</span><span class="op">)</span></span>
<span></span>
<span><sp