Hello thanks,
but I have found the error.
I have redefined the source -function with following code:
source <- function(f, encoding = 'UTF-8') {
l <- readLines(f, encoding=encoding)
eval(parse(text=l,),envir=.GlobalEnv)
}
And it seems that this has the result with the echo. Unfortunatly without echo.
I have some trouble with the encoding. With data from a german database I create a tex-file. But RStudio don't replace the german umlauts correctly and the latex processor produces oftenly errors. So I have found this code and it works in the most cases.
Any idea how I can source with the encoding option AND echo?
Thanks,
Christian