[R] plot.baysian error = only 0's may mix with negative subscripts

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Oct 29 08:36:37 CEST 2004

Konstantinos Liolios wrote:

> I did make a typo and I meant plot.bayesian() from sma.  Hopefully most
> people can easily guess what I meant.  

Forgive me, my brain is too small! I do not know which of the millions 
of function is in which of the > 400 CRAN packages.
It's is your homework to say which package it is in and to specify an 
example, since other people already invest quite a lot of time in order 
  to provide help. Please read the posting guide!

 > It looks like NAs are illegal
> from 1.9 and later.  I am surprised that stat.bayesian() still allows it
> but plot has a problem with it.

Maybe. The error message does not suggest it directly and you haven't 
told us anything about the data (in particular nothing about NAs). You 
have still not given an easily reproducible example.

Uwe Ligges

> Thanx
> Dinos
>  peopleOn Thu, 2004-10-28 at 12:43, Uwe Ligges wrote:
>>dinos at northwestern.edu wrote:
>>>Dear R users and developers
>>>After upgrading to Windows XP and R 1.9.1 and 2.0, I retried to execute
>>>plot.baysian() to a data set that I had used previously to plot with no
>>>problem in win2000 R1.8.  The error I get is:
>>>Error in points(Mbar[-index], lods[-index], pch = ".") : 
>>>        only 0's may mix with negative subscripts
>>What is plot.baysian()?
>>Do you mean  plot.bayesian()  from package "sma"?
>>Probably an error has been fixed that caused your data to be plotted 
>>inaccurately in R < 1.9.x ... or there is a bug in sma.
>>But without the data it's hard to say.
>>So the suggestion is to ask the package maintainer of sma by providing a 
>>simple and easily reproducible example...
>>Uwe Ligges
>>>Thanx in advance
>>>P.S.  I allready sent this message once but without a subject.  I
>>>apologize for the inconvenience
>>P.S. And with this message we do know thrice that you are:
>>>Konstantinos G. Liolios
>>>IT Software Engineer II
>>>Charles E. and Emma H. Morrison
>>>Depts.  Pathology and Microbiology-Immunology
>>>Northwestern University
>>>Ward 3-240
>>>303 E. Chicago Avenue
>>>Chicago IL 60611
>>>Tel: 312-503-0224
>>[I removed the next two information blocks who you are, since I think 
>>it's sufficient for most of us to have one of these blocks...]
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

More information about the R-help mailing list