On Mon, 1 Sep 2003, Duncan Murdoch wrote:
> On Mon, 1 Sep 2003 22:32:29 +0200 (MET DST), you wrote:
>
> >On Mon, 1 Sep 2003 14:26:43 -0700, "Jiming Yu"
> ><[EMAIL PROTECTED]> wrote:
> >
> >>Dear all,
> >>I am trying to read characters byte by byte(in their ASCII codes) from a
> >>file
> >
> >
On Mon, 1 Sep 2003 22:32:29 +0200 (MET DST), you wrote:
>On Mon, 1 Sep 2003 14:26:43 -0700, "Jiming Yu"
><[EMAIL PROTECTED]> wrote:
>
>>Dear all,
>>I am trying to read characters byte by byte(in their ASCII codes) from a
>>file
>
>I was going to suggest using readBin, but there seems to be a b
Duncan Murdoch <[EMAIL PROTECTED]> writes:
> On Mon, 1 Sep 2003 14:26:43 -0700, "Jiming Yu"
> <[EMAIL PROTECTED]> wrote:
>
> >Dear all,
> >I am trying to read characters byte by byte(in their ASCII codes) from a
> >file
>
> I was going to suggest using readBin, but there seems to be a bug:
>
On Mon, 1 Sep 2003 14:26:43 -0700, "Jiming Yu"
<[EMAIL PROTECTED]> wrote:
>Dear all,
>I am trying to read characters byte by byte(in their ASCII codes) from a
>file
I was going to suggest using readBin, but there seems to be a bug:
> con <- file('c:/test.txt','rb')
> readBin(con,'c',15,1)
st
On Mon, 1 Sep 2003, Andrew Robinson wrote:
> Certainly.
>
> postscript("test.ps")
> par(new=T)
> plot(1:10,1:10)
> dev.off()
>
> Produces a postscript image that can be opened. However
But it is not a valid postscript file, and says it has 0 pages.
> pdf("test.pdf")
> par(new=T)
> plot(1:10,
Certainly.
postscript("test.ps")
par(new=T)
plot(1:10,1:10)
dev.off()
Produces a postscript image that can be opened. However
pdf("test.pdf")
par(new=T)
plot(1:10,1:10)
dev.off()
produces a pdf that cannot be opened by Latex or xpdf.
Andrew
--
Andrew Robinson Ph: 208
Please give us an example of what you mean (as the FAQ asks). Exactly
what order are you doing things in?
You can't send scripts to graphics devices, and you should not be calling
par(new=TRUE) without a plot already done. So it would appear to be user
error, and it may well just be different er
If I place par(new=T) before I create a plot in a script that is sent to a pdf
device, the pdf is unopenable and reports itself as having no pages. The
postscript device seems to ignore the par instruction.
I guess one of these is a bug, but I don't know which one!
--please do not edit the inf