[RkWard-devel] [rkward - Help] RE: Problems producing postscript files
SourceForge.net
noreply at sourceforge.net
Sun Feb 11 16:16:26 UTC 2007
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4151497
By: tfry
> If I save the code to a file and load it directly into R (2.3.1) I get a
perfect postscript file.
This is strange. RKWard does not do anything special to this at all. So you
*should* get the same result as in plain R.
We're currently running into some issue related to character encoding, here
and there, so my first guess is, it may have something to do with that. ?postscript
mentions some pretty complicated details on encodings. While I'd rather expect
just some ill-printed characters, maybe encoding problems can also cause an
invalid postscript file to be generated.
Could you check this:
Run
> Sys.getlocale ()
in both RKWard and plain R. Is there any difference? If so, can you reproduce
the problem by setting the same locale in plain R (using e.g.
# LC_ALL=your.locale R
)? Can you produce a valid .ps file when starting RKWard with
# KDE_LANG=C rkward
? Does setting the "encoding" parameter to postscript change anything?
If this is the reason, I still do not have a good idea on how to fix this, but
figuring out, how this happens would be a start...
Regards
Thomas
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=165574
More information about the Rkward-devel
mailing list