plot(type="l") disjoint between 100 and 101st datapoint

View: New views
6 Messages — Rating Filter:   Alert me  

Parent Message unknown plot(type="l") disjoint between 100 and 101st datapoint

by Richard Martin-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear All:

We have been experiencing networking issues so I don't know if this
got through; I can't see it in the archive.  My sincere apologies if
this appears twice.

I may have found an unusual bug and am posting here to see if anyone
can reproduce it on their system. First of all, sessionInfo():

> sessionInfo()
R version 2.7.1 (2008-06-23)
i386-apple-darwin8.10.1

locale:
en_GB.UTF-8/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

The bug is in the plot() command; it does not draw the line between
the 100th and 101st point in a dataset when plotting in line mode
(type="l").

plot(1:102, type="l") reproduces the problem consistently on my
machine, on both png and quartz devices. The result of saving this to
the png device by the code below can be seen at
http://imagebin.ca/view/txKBk2M.html

> png(filename="disjoint.png")
> plot(1:102, type="l")
> dev.off()
quartz
    2

I had a look through the archives but couldn't see any discussion of
this; apologies if I missed it. Is this purely a mac issue?
Unfortunately I don't have any other machines to test it on.

Kind regards,

Richard Martin




--
Contendere, Explorare, Invenire, et non Cedere



--
Contendere, Explorare, Invenire, et non Cedere

______________________________________________
R-devel@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Re: plot(type="l") disjoint between 100 and 101st datapoint

by Sklyar, Oleg (MI London) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I do not see any disjoint on 2.7.0 patched (r45879) or 2.8.0 devel
(r45830) on RHEL5 64bit.

Dr Oleg Sklyar
Technology Group
Man Investments Ltd
+44 (0)20 7144 3803
osklyar@...

> -----Original Message-----
> From: r-devel-bounces@...
> [mailto:r-devel-bounces@...] On Behalf Of Richard Martin
> Sent: 27 June 2008 12:38
> To: r-devel@...
> Subject: [Rd] plot(type="l") disjoint between 100 and 101st datapoint
>
> Dear All:
>
> We have been experiencing networking issues so I don't know
> if this got through; I can't see it in the archive.  My
> sincere apologies if this appears twice.
>
> I may have found an unusual bug and am posting here to see if
> anyone can reproduce it on their system. First of all, sessionInfo():
>
> > sessionInfo()
> R version 2.7.1 (2008-06-23)
> i386-apple-darwin8.10.1
>
> locale:
> en_GB.UTF-8/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> The bug is in the plot() command; it does not draw the line
> between the 100th and 101st point in a dataset when plotting
> in line mode (type="l").
>
> plot(1:102, type="l") reproduces the problem consistently on
> my machine, on both png and quartz devices. The result of
> saving this to the png device by the code below can be seen
> at http://imagebin.ca/view/txKBk2M.html
>
> > png(filename="disjoint.png")
> > plot(1:102, type="l")
> > dev.off()
> quartz
>     2
>
> I had a look through the archives but couldn't see any
> discussion of this; apologies if I missed it. Is this purely
> a mac issue?
> Unfortunately I don't have any other machines to test it on.
>
> Kind regards,
>
> Richard Martin
>
>
>
>
> --
> Contendere, Explorare, Invenire, et non Cedere
>
>
>
> --
> Contendere, Explorare, Invenire, et non Cedere
>
> ______________________________________________
> R-devel@... mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>


**********************************************************************
The contents of this email are for the named addressee(s...{{dropped:22}}

______________________________________________
R-devel@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Re: plot(type="l") disjoint between 100 and 101st datapoint

by Richard Martin-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dr Sklyar,

This is interesting to know - I have just noticed that it also happens
every 100 points, there is another disjoint between 200 and 201. I
have attached a file showing this.

The file was created using the following code:

> png("disjoint2.png")
> plot(1:210, type="l")
> dev.off()

Regards,

Richard



2008/6/27 Sklyar, Oleg (MI London) <osklyar@...>:

> I do not see any disjoint on 2.7.0 patched (r45879) or 2.8.0 devel
> (r45830) on RHEL5 64bit.
>
> Dr Oleg Sklyar
> Technology Group
> Man Investments Ltd
> +44 (0)20 7144 3803
> osklyar@...
>
>> -----Original Message-----
>> From: r-devel-bounces@...
>> [mailto:r-devel-bounces@...] On Behalf Of Richard Martin
>> Sent: 27 June 2008 12:38
>> To: r-devel@...
>> Subject: [Rd] plot(type="l") disjoint between 100 and 101st datapoint
>>
>> Dear All:
>>
>> We have been experiencing networking issues so I don't know
>> if this got through; I can't see it in the archive.  My
>> sincere apologies if this appears twice.
>>
>> I may have found an unusual bug and am posting here to see if
>> anyone can reproduce it on their system. First of all, sessionInfo():
>>
>> > sessionInfo()
>> R version 2.7.1 (2008-06-23)
>> i386-apple-darwin8.10.1
>>
>> locale:
>> en_GB.UTF-8/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8
>>
>> attached base packages:
>> [1] stats     graphics  grDevices utils     datasets  methods   base
>>
>> The bug is in the plot() command; it does not draw the line
>> between the 100th and 101st point in a dataset when plotting
>> in line mode (type="l").
>>
>> plot(1:102, type="l") reproduces the problem consistently on
>> my machine, on both png and quartz devices. The result of
>> saving this to the png device by the code below can be seen
>> at http://imagebin.ca/view/txKBk2M.html
>>
>> > png(filename="disjoint.png")
>> > plot(1:102, type="l")
>> > dev.off()
>> quartz
>>     2
>>
>> I had a look through the archives but couldn't see any
>> discussion of this; apologies if I missed it. Is this purely
>> a mac issue?
>> Unfortunately I don't have any other machines to test it on.
>>
>> Kind regards,
>>
>> Richard Martin
>>
>>
>>
>>
>> --
>> Contendere, Explorare, Invenire, et non Cedere
>>
>>
>>
>> --
>> Contendere, Explorare, Invenire, et non Cedere
>>
>> ______________________________________________
>> R-devel@... mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>
>
> **********************************************************************
> The contents of this email are for the named addressee(s) only.
> It contains information which may be confidential and privileged.
> If you are not the intended recipient, please notify the sender
> immediately, destroy this email and any attachments and do not
> otherwise disclose or use them. Email transmission is not a
> secure method of communication and Man Investments cannot accept
> responsibility for the completeness or accuracy of this email or
> any attachments. Whilst Man Investments makes every effort to keep
> its network free from viruses, it does not accept responsibility
> for any computer virus which might be transferred by way of this
> email or any attachments. This email does not constitute a request,
> offer, recommendation or solicitation of any kind to buy, subscribe,
> sell or redeem any investment instruments or to perform other such
> transactions of any kind. Man Investments reserves the right to
> monitor, record and retain all electronic communications through
> its network to ensure the integrity of its systems, for record
> keeping and regulatory purposes.
>
> Visit us at: www.maninvestments.com
>
> **********************************************************************
>
>


--
Contendere, Explorare, Invenire, et non Cedere


______________________________________________
R-devel@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

disjoint2.png (18K) Download Attachment

Re: plot(type="l") disjoint between 100 and 101st datapoint

by Sklyar, Oleg (MI London) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No, it does not happen here and I tested other ranges as well.

Dr Oleg Sklyar
Technology Group
Man Investments Ltd
+44 (0)20 7144 3803
osklyar@...

> -----Original Message-----
> From: Richard Martin [mailto:radiosity@...]
> Sent: 27 June 2008 15:32
> To: Sklyar, Oleg (MI London)
> Cc: r-devel@...
> Subject: Re: [Rd] plot(type="l") disjoint between 100 and
> 101st datapoint
>
> Hi Dr Sklyar,
>
> This is interesting to know - I have just noticed that it
> also happens every 100 points, there is another disjoint
> between 200 and 201. I have attached a file showing this.
>
> The file was created using the following code:
>
> > png("disjoint2.png")
> > plot(1:210, type="l")
> > dev.off()
>
> Regards,
>
> Richard
>
>
>
> 2008/6/27 Sklyar, Oleg (MI London) <osklyar@...>:
> > I do not see any disjoint on 2.7.0 patched (r45879) or 2.8.0 devel
> > (r45830) on RHEL5 64bit.
> >
> > Dr Oleg Sklyar
> > Technology Group
> > Man Investments Ltd
> > +44 (0)20 7144 3803
> > osklyar@...
> >
> >> -----Original Message-----
> >> From: r-devel-bounces@...
> >> [mailto:r-devel-bounces@...] On Behalf Of Richard Martin
> >> Sent: 27 June 2008 12:38
> >> To: r-devel@...
> >> Subject: [Rd] plot(type="l") disjoint between 100 and
> 101st datapoint
> >>
> >> Dear All:
> >>
> >> We have been experiencing networking issues so I don't
> know if this
> >> got through; I can't see it in the archive.  My sincere
> apologies if
> >> this appears twice.
> >>
> >> I may have found an unusual bug and am posting here to see
> if anyone
> >> can reproduce it on their system. First of all, sessionInfo():
> >>
> >> > sessionInfo()
> >> R version 2.7.1 (2008-06-23)
> >> i386-apple-darwin8.10.1
> >>
> >> locale:
> >> en_GB.UTF-8/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8
> >>
> >> attached base packages:
> >> [1] stats     graphics  grDevices utils     datasets  
> methods   base
> >>
> >> The bug is in the plot() command; it does not draw the
> line between
> >> the 100th and 101st point in a dataset when plotting in line mode
> >> (type="l").
> >>
> >> plot(1:102, type="l") reproduces the problem consistently on my
> >> machine, on both png and quartz devices. The result of
> saving this to
> >> the png device by the code below can be seen at
> >> http://imagebin.ca/view/txKBk2M.html
> >>
> >> > png(filename="disjoint.png")
> >> > plot(1:102, type="l")
> >> > dev.off()
> >> quartz
> >>     2
> >>
> >> I had a look through the archives but couldn't see any
> discussion of
> >> this; apologies if I missed it. Is this purely a mac issue?
> >> Unfortunately I don't have any other machines to test it on.
> >>
> >> Kind regards,
> >>
> >> Richard Martin
> >>
> >>
> >>
> >>
> >> --
> >> Contendere, Explorare, Invenire, et non Cedere
> >>
> >>
> >>
> >> --
> >> Contendere, Explorare, Invenire, et non Cedere
> >>
> >> ______________________________________________
> >> R-devel@... mailing list
> >> https://stat.ethz.ch/mailman/listinfo/r-devel
> >>
> >
> >
> >
> **********************************************************************
> > The contents of this email are for the named addressee(s) only.
> > It contains information which may be confidential and privileged.
> > If you are not the intended recipient, please notify the sender
> > immediately, destroy this email and any attachments and do not
> > otherwise disclose or use them. Email transmission is not a secure
> > method of communication and Man Investments cannot accept
> > responsibility for the completeness or accuracy of this
> email or any
> > attachments. Whilst Man Investments makes every effort to keep its
> > network free from viruses, it does not accept
> responsibility for any
> > computer virus which might be transferred by way of this
> email or any
> > attachments. This email does not constitute a request, offer,
> > recommendation or solicitation of any kind to buy,
> subscribe, sell or
> > redeem any investment instruments or to perform other such
> > transactions of any kind. Man Investments reserves the right to
> > monitor, record and retain all electronic communications
> through its
> > network to ensure the integrity of its systems, for record
> keeping and
> > regulatory purposes.
> >
> > Visit us at: www.maninvestments.com
> >
> >
> **********************************************************************
> >
> >
>
>
>
> --
> Contendere, Explorare, Invenire, et non Cedere
>

______________________________________________
R-devel@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Re: plot(type="l") disjoint between 100 and 101st datapoint

by Prof Brian Ripley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please, this is specific to your device (since png() on MacOS defaults to
quartz).  So discuss it on R-sig-mac.

Try a different device (you do have several of those on your system!)
including a different version of png().

I think it is related to the fix for excessively slow plotting in 2.7.0,
but I'm not near my Mac.

On Fri, 27 Jun 2008, Richard Martin wrote:

> Dear All:
>
> We have been experiencing networking issues so I don't know if this
> got through; I can't see it in the archive.  My sincere apologies if
> this appears twice.
>
> I may have found an unusual bug and am posting here to see if anyone
> can reproduce it on their system. First of all, sessionInfo():
>
>> sessionInfo()
> R version 2.7.1 (2008-06-23)
> i386-apple-darwin8.10.1
>
> locale:
> en_GB.UTF-8/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> The bug is in the plot() command; it does not draw the line between
> the 100th and 101st point in a dataset when plotting in line mode
> (type="l").
>
> plot(1:102, type="l") reproduces the problem consistently on my
> machine, on both png and quartz devices. The result of saving this to
> the png device by the code below can be seen at
> http://imagebin.ca/view/txKBk2M.html
>
>> png(filename="disjoint.png")
>> plot(1:102, type="l")
>> dev.off()
> quartz
>    2
>
> I had a look through the archives but couldn't see any discussion of
> this; apologies if I missed it. Is this purely a mac issue?
> Unfortunately I don't have any other machines to test it on.
>
> Kind regards,
>
> Richard Martin
>
>
>
>
> --
> Contendere, Explorare, Invenire, et non Cedere
>
>
>
> --
> Contendere, Explorare, Invenire, et non Cedere
>
> ______________________________________________
> R-devel@... mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

--
Brian D. Ripley,                  ripley@...
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Re: plot(type="l") disjoint between 100 and 101st datapoint

by Richard Martin-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Prof. Ripley,

Thanks for your advice; indeed, plotting with cairo is not disjointed
and therefore this is a quartz issue. I will inquire further on sig
mac.

Have a nice weekend,

Regards,

Richard Martin

2008/6/27 Prof Brian Ripley <ripley@...>:

> Please, this is specific to your device (since png() on MacOS defaults to
> quartz).  So discuss it on R-sig-mac.
>
> Try a different device (you do have several of those on your system!)
> including a different version of png().
>
> I think it is related to the fix for excessively slow plotting in 2.7.0, but
> I'm not near my Mac.
>
> On Fri, 27 Jun 2008, Richard Martin wrote:
>
>> Dear All:
>>
>> We have been experiencing networking issues so I don't know if this
>> got through; I can't see it in the archive.  My sincere apologies if
>> this appears twice.
>>
>> I may have found an unusual bug and am posting here to see if anyone
>> can reproduce it on their system. First of all, sessionInfo():
>>
>>> sessionInfo()
>>
>> R version 2.7.1 (2008-06-23)
>> i386-apple-darwin8.10.1
>>
>> locale:
>> en_GB.UTF-8/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8
>>
>> attached base packages:
>> [1] stats     graphics  grDevices utils     datasets  methods   base
>>
>> The bug is in the plot() command; it does not draw the line between
>> the 100th and 101st point in a dataset when plotting in line mode
>> (type="l").
>>
>> plot(1:102, type="l") reproduces the problem consistently on my
>> machine, on both png and quartz devices. The result of saving this to
>> the png device by the code below can be seen at
>> http://imagebin.ca/view/txKBk2M.html
>>
>>> png(filename="disjoint.png")
>>> plot(1:102, type="l")
>>> dev.off()
>>
>> quartz
>>   2
>>
>> I had a look through the archives but couldn't see any discussion of
>> this; apologies if I missed it. Is this purely a mac issue?
>> Unfortunately I don't have any other machines to test it on.
>>
>> Kind regards,
>>
>> Richard Martin
>>
>>
>>
>>
>> --
>> Contendere, Explorare, Invenire, et non Cedere
>>
>>
>>
>> --
>> Contendere, Explorare, Invenire, et non Cedere
>>
>> ______________________________________________
>> R-devel@... mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>
> --
> Brian D. Ripley,                  ripley@...
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>



--
Contendere, Explorare, Invenire, et non Cedere

______________________________________________
R-devel@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel