s-news
[Top] [All Lists]

Strange hist() problem

To: S-News <s-news@wubios.wustl.edu>
Subject: Strange hist() problem
From: Kim Elmore <Kim.Elmore@noaa.gov>
Date: Tue, 21 Nov 2006 13:10:12 -0600
I'm running S-Plus 7.0 under XP SP 2. I'me experiencing problems with hist(). I've used hist plenty of times, but I've never seen this.

Specifically, when I use the example given in the help file:

> hist(state.region)

I get the following error:

Problem in tabulate: argument weights= not matched: tabulate(as.integer(unclass(x)), length(levels(x)), weights = weights)

There is no "weights" argument for hist() that appears in the help file. I've never had this problem in the past.

I recently had to replace the motherboard in this workstation and so had to re-host the S-Plus license, but I can't imagine how that would have affected internal functions like hist().

How do I resolve this?

Kim Elmore
                          Kim Elmore, Ph.D.
                       University of Oklahoma
        Cooperative Institute for Mesoscale Meteorological Studies
"All of weather is divided into three parts: Yes, No, and Maybe. The
greatest of these is Maybe" The original Latin appears to be garbled.


<Prev in Thread] Current Thread [Next in Thread>