RStudio is changing some symbols

I´m having some problems with R interpretation of symbols.

For example, when typing the backslash, it writes down the Yen symbol.

This is how the code is copied and pasted, you can see there are no yen symbols, just backslash.

"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output PEC1.tex --lua-filter "C:\Users\pablo\OneDrive\Documentos\R\win-library\4.1\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\Users\pablo\OneDrive\Documentos\R\win-library\4.1\rmarkdown\rmarkdown\lua\latex-div.lua" --self-contained --highlight-style tango --pdf-engine pdflatex --variable graphics --variable "geometry:margin=1in" 

And here you can see how it's printed by the R software:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.