-- Originally posted by (AT sourceforge.net): eduardohorta -- -- This ticket was imported from http://sourceforge.net/p/rkward/bugs/81 on 2017-05-30 15:26:44 +0100 -- First of all, let me congratulate the RKWard team for the magnificent work you've been doing\! RKWard version: 0.5.4 KDE version: 4.4.1 > R.version \_ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 11.1 year 2010 month 05 day 31 svn rev 52157 language R version.string R version 2.11.1 \(2010-05-31\) Well, let me state the problem I've found with a simple examlpe: If I enter pdf\(file="test.pdf"\) plot\(1:10, sqrt\(1:10\), type="l"\) dev.off\(\) in a regular Rgui window, the file "test.pdf" is as expected. However, the same commands from inside a RKWard session will produce a blank file. Any ideas on why this is happening? Best regards
Thanks for reporting\! I had noted that pdf\(\) and postscript\(\) were broken in RKWard on my Windows system, but had written it off to a broken system setup, and had never investigated. Turns out that somehow a bad locale setting is applied \(probably from library code\), and for pdf\(\) and postscript\(\) the result is that "," will be written instead of "." as decimal separator. No surprise that this doesn't work... I have fixed this in the development version. However, you can also work around this fairly easily, by running Sys.setlocale \("LC\_NUMERIC", "C"\) in the R Console \(you will get a warning, but you can safely ignore that\). Regards Thomas
- **assigned_to**: nobody --> tfry - **summary**: pdf won't work --> WINDOWS ONLY, FIXED IN SVN, WORKAROUND: pdf won't work - **status**: open --> open-fixed
-- Originally posted by (AT sourceforge.net): eduardohorta -- Thanks, tfry. This works fine\! Best regards, Eduardo
- **status**: open-fixed --> closed-fixed