Jean-Marc Lasgouttes <lasgouttes <at> lyx.org> writes:
>
> Le 04/06/2011 22:44, Yihui Xie a écrit :
> > I've been thinking about the message "Setting LC_CTYPE=en_US failed"
> > for a while and have not figured out the reason yet. Why does R have
> > to set the locale to en_US when it is not actually en_US...
> >
> > For non-English documents, I guess you have to specify a correct
> > encoding in the document settings, but I don't know which encoding is
> > "correct" for German. What was the error message (View-->View
> > Messages) in R? (not warnings) Did it say something like iconv()
> > failed?
>
> Do you set explicitly the language of the LyX interface?
>
> JMarc
>
>
My Lyx interface is german
language settings is german
14:58:11.917: tud.tex UTF-8'
14:58:11.933:
14:58:11.933: Beim Start - Warnmeldung:
14:58:11.933: Setting LC_CTYPE=en_US failed
14:58:11.995: NULL
14:58:11.995: Writing to file
C:/../lyxtemp/lyx_tmpdir.Uhg640/lyx_tmpbuf3/test2_lyx2.0_tud.tex
14:58:11.995: Processing code chunks with options ...
14:58:12.041: 1 : term verbatim
14:58:12.073: 2 : echo term verbatim
14:58:12.150:
....
----------------------------------------
Bei der Ausführung von
Rscript --verbose --no-save --no-restore "C:/Program Files
(x86)/LyX20/bin/../Resources/scripts/lyxsweave.R"
"C:/Users/stowasser/Documents/lyxtemp/lyx_tmpdir.Uhg640/lyx_tmpbuf3/""test2_...
ist ein Fehler aufgetreten
encoding doesnt matter
whether I use utf8 or ISO 8859-2
no difference
TEX source
...
\usepackage{babel}
\begin{document}
test
....
some code chunks
....
\begin{figure}
....
\selectlanguage{ngerman}%
\caption{.... }
\end{figure}
\end{document}
BUT
if I use English and no special characters (like Umlaute in german)
it all work wonderful
I havend figured out if this is R complaining or if this is lyx
but using sweave in R with the same commands and the same text works fine ...
still puzzeld
Rainer