| Line 44... |
Line 44... |
| 44 |
post-processing the output file using \code{ghostscript}.
|
44 |
post-processing the output file using \code{ghostscript}.
|
| 45 |
\code{bitmap} works in the same way using a \code{postscript} device
|
45 |
\code{bitmap} works in the same way using a \code{postscript} device
|
| 46 |
and post-processing the output as \sQuote{printing}.
|
46 |
and post-processing the output as \sQuote{printing}.
|
| 47 |
|
47 |
|
| 48 |
You will need \code{ghostscript}: the full path to the executable can
|
48 |
You will need \code{ghostscript}: the full path to the executable can
|
| 49 |
be set by the environment variable \env{R_GSCMD}.
|
49 |
be set by the environment variable \env{R_GSCMD}. It this is unset, a
|
| 50 |
#ifdef unix
|
- |
|
| 51 |
(If this is unset the command \code{"gs"} is used, which will work if
|
50 |
GhostScript executable will be looked for by name on your path: on a
|
| 52 |
it is in your path.)
|
51 |
Unix alike \code{"gs"} is used, and on Windows the setting of the
|
| 53 |
#endif
|
- |
|
| 54 |
#ifdef windows
|
- |
|
| 55 |
(If this is unset the setting of \env{GSC} is used, otherwise commands
|
52 |
environment variable \env{GSC} is used, otherwise commands
|
| 56 |
\code{"gswi64c.exe"} then \code{"gswin32c.exe"} are tried.)
|
53 |
\code{"gswi64c.exe"} then \code{"gswin32c.exe"} are tried.
|
| 57 |
#endif
|
- |
|
| 58 |
|
54 |
|
| 59 |
The types available will depend on the version of \code{ghostscript},
|
55 |
The types available will depend on the version of \code{ghostscript},
|
| 60 |
but are likely to include
|
56 |
but are likely to include
|
| 61 |
\code{"pcxmono"}, \code{"pcxgray"}, \code{"pcx16"}, \code{"pcx256"},
|
57 |
\code{"pcxmono"}, \code{"pcxgray"}, \code{"pcx16"}, \code{"pcx256"},
|
| 62 |
\code{"pcx24b"}, \code{"pcxcmyk"}, \code{"pbm"}, \code{"pbmraw"},
|
58 |
\code{"pcx24b"}, \code{"pcxcmyk"}, \code{"pbm"}, \code{"pbmraw"},
|