[RkWard-devel] [rkward - Help] Problems producing postscript files

SourceForge.net noreply at sourceforge.net
Sun Feb 11 15:10:33 UTC 2007


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4151430
By: pfaelzerchen

Hi,

I have some problems producing postscript plots using rkward (versions 0.3.6
and 0.4.5). Relatively simple plots like


postscript()
plot(1:10,1:10,type="l")
dev.off()


which gives just a diagonal line fail. A file "Rplot.ps" is saved, but invoking
a ghostscript interpreter gives an error like


ERROR: /undefined in 595,00
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--
2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false
1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3
%oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1121/1686(ro)(G)--   --dict:0/20(G)--   --dict:99/200(L)--
Current allocation mode is local
Current file position is 2313
ESP Ghostscript 815.02: Unrecoverable error, exit code 1


I get the same for other plots. If I save the code to a file and load it directly
into R (2.3.1) I get a perfect postscript file.
This behaviour seems to be basically the same for every output-device using
ghostscript (e.g. pdf or bitmap) while functions like png() are working
perfectly.
Since I need to print the plots, pixel-oriented formats like png and jpeg are
not really usefull.

Do I make something wrong? Or is this functionality just not implemented yet?

I use rkward with KDE 3.5.6 under Kubuntu Edgy.

Regards,
Matthias

______________________________________________________________________
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