In the meanwhile i received some suggestions to test and found the following code to work in R64 started from the sh:
ggtitle('Überschrift')
ggtitle('\xC3\x9Cberschrift')The code "
ggtitle('\x86berschrift')" does not print a title, but it also does not generate an error message.
So i tried the same within "R console" and found that if i input the text at the cursor it will print correctly as well, but it does not work within a script file.
And i just found a comment "[R-SIG-MAC] Text encoding and R" explaining that sourcing is only possible if R is told the encoding of the file like: source("file.R", enc="MacRoman")
However, this comment is from 2007, so there may be a chance this has changed.
Does anyone know if it is possible to tell the "R console" which default encoding should be used for sourcing?
If this still is not possible, how to encode these characters otherwise in scripts?
Any suggestions are very appreciated.
Herbert