title: R barplot with German encoding
body: <p>My R script uses the R visialization library barplot. The problem is, that I need German characters such as äöü in the labeling.</p>
  
  <p>I am working with the Eclipse plugiin StatET and on a 64-bit-Windows system. I tried to set up the correct encoding by Sys.setlocale(category="LC_ALL", locale="German_Germany"); 
  Tests with print("äöü") gives the correct result, but when integrating those "Umlauts" in the barplot, it the graph shows the labeling with characters such as Ã¤.</p>
  
  <pre><code>plot &lt;- barplot(as.matrix(comp), beside=TRUE, ylim = c(0,100), main="äöü", legend.text = TRUE);
  </code></pre>
  
  <p>Any idea how to solve the problem?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>The result for Sys.getlocale('LC_CTYPE') is:</p>
  
  <p>[1] "German_Germany.1252"</p>