Importing .xlsx file with special characters
<p>I am using the function readWorksheet from the package XLConnect to import Excel sheets in R. These sheets contain special characters (e.g., ø, õ, ú) which R does not handle very well. As far as I know, there is no "encoding" argument for the function readWorksheet as there is for the read.csv one.</p>

<p>Here is what I am doing so far:</p>

<pre><code>data &lt;- readWorksheet(loadWorkbook("data.xlsx"), sheet = 5)
</code></pre>

<p>Is there any option I could use to let R know I have special characters?</p>

<p>I am using RStudio 0.99.903 on macOS Sierra 10.12.1.</p>