I think we need some data and code. Would you please provide some sample data (see ?dput for a handy way to provide data) and some working code that demonstrates the problem?
John Kane Kingston ON Canada > -----Original Message----- > From: leray.guilla...@gmail.com > Sent: Thu, 7 Jun 2012 11:48:53 +0200 > To: r-help@r-project.org > Subject: [R] graphic problems with special characters > > Hi, > > I am actually working on some auto-routine to import XML file, run some > analysis on them and create graph as jpeg. The files are in different > language french/english/danish even chinese. At the moment I'm focusing > on > the European language. I import them using the XML package and specify > encoding="UTF-8" which seems to work pretty well when I write the text > in > the console, the danish characters f e x are printed correctly. > > The problem raises when I write these characters in graphics generated > with > jpeg(), then the name of the files and the text/title of the graphics are > not written correctly. I am completely ignorant in encoding text in R > and > I tried my best to find some information on internet I can understand and > re-use to fix my problem but it has been unsuccessful until now. > > My configuration is the following : > > R version 2.13.1 > Microsoft windows XP professional version 2002 with service pack 3 > > best regards, > > Guillaume Le Ray > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop! ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.