Hi: I am Chinese, I am developing a java application, and deploy it to tomcat 7.0.42, I use rJava to use the R, when I use the command line to start tomcat, the R drawing well done, see attachment histview.png,but when i use windows service to start tomcat, the R drawing bad, see attachment histview2.png, I don't why, can you give me a suggestion? My window OS is window 7 home, thanks your help! -------------- next part -------------- A non-text attachment was scrubbed... Name: histview.png Type: image/png Size: 4083 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20131002/12efc51e/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: histview2.png Type: image/png Size: 2567 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20131002/12efc51e/attachment-0001.png>
Off topic here, this list is about R and your question is about system configuration. FWIW a common problem with execution of programs as services is permissions issues, but I have no desire to debug such OS-specific issues for you. BTW, both images look the same to me. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. yy <celsnrt at 163.com> wrote:>Hi: >I am Chinese, I am developing a java application, and deploy it to >tomcat 7.0.42, I use rJava to use the R, when I use the command line to >start tomcat, the R drawing well done, see attachment histview.png,but >when i use windows service to start tomcat, the R drawing bad, see >attachment histview2.png, I don't why, can you give me a suggestion? My >window OS is window 7 home, thanks your help! > >------------------------------------------------------------------------ > >______________________________________________ >R-help at 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.
On 10/03/2013 01:51 AM, yy wrote:> Hi: > I am Chinese, I am developing a java application, and deploy it to tomcat 7.0.42, I use rJava to use the R, when I use the command line to start tomcat, the R drawing well done, see attachment histview.png,but when i use windows service to start tomcat, the R drawing bad, see attachment histview2.png, I don't why, can you give me a suggestion? My window OS is window 7 home, thanks your help! > >Hi yy, I think that the problem is that your Windows system does not have the fonts to display the Chinese characters. I am not familiar with tomcat, but if there is a way to save the plot as a bitmapped image, that could be imported into Windows with the characters already rendered. Jim
Do you have the correct fonts installed on Windows? John Kane Kingston ON Canada> -----Original Message----- > From: celsnrt at 163.com > Sent: Wed, 2 Oct 2013 23:51:58 +0800 (CST) > To: r-help at r-project.org > Subject: [R] Drawing garbled > > Hi: > I am Chinese, I am developing a java application, and deploy it > to tomcat 7.0.42, I use rJava to use the R, when I use the command line > to start tomcat, the R drawing well done, see attachment histview.png,but > when i use windows service to start tomcat, the R drawing bad, see > attachment histview2.png, I don't why, can you give me a suggestion? My > window OS is window 7 home, thanks your help! > ______________________________________________ > R-help at 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 EARTH SCREENSAVER - Watch the Earth right on your desktop!