s-news
[Top] [All Lists]

Re: Strange hist() problem

To: Tim Hesterberg <timh@insightful.com>
Subject: Re: Strange hist() problem
From: Kim Elmore <Kim.Elmore@noaa.gov>
Date: Tue, 21 Nov 2006 15:38:38 -0600
Cc: S-News <s-news@wubios.wustl.edu>
In-reply-to: <SEWINEXCH00R8YGn7Oz00000983@sewinexch00.insightful.com>
References: <7.0.1.0.2.20061121130523.05135e60@noaa.gov> <SEWINEXCH00oG1VRIjn00000982@sewinexch00.insightful.com> <7.0.1.0.2.20061121142554.04e9eba0@noaa.gov> <SEWINEXCH00R8YGn7Oz00000983@sewinexch00.insightful.com>
That was the problem; all is now well. I thought that I had done this, but was obviously wrong. I found that the proper .ZIP file had been downloaded but never installed.

Thanks, Tim.

Happy Thanksgiving,

Kim Elmore

At 02:45 PM 11/21/2006, Tim Hesterberg wrote:
That version of S+Resample is for S-PLUS 6.2 and earlier.
The version for S-PLUS 7.0 and later is at:
        www.insightful.com/downloads/libraries

Tim Hesterberg

>Thanks, Tim.
>
>Apologies to the list: yes, resample is loaded.
>
>.resample.version yields: S+Resample library, Version 2.0, Beta
>Release 7, build date: Thu Jan 20 16:10:01 PST 2005
>
>version yields: Enterprise Developer Version 7.0.6  for Microsoft
>Windows : 2005
>
>masked() tells me: [1] ".Random.seed"     "samp.permute.old"
>
>The second masked function is one that I wrote and should discard.
>
>search() shows:
> > search()
>  [1] "H:\\EnKF\\data"
>"resample"       "bigdata"        "splus"          "stat"
>"data"
>  [7]
>"trellis"        "nlme3"          "menu"           "sgui"
>"winjava"        "SPXML"
>[13] "maps"           "main"
>
>So resample appears to be loaded as it should be.
>
>Is there a more recent version of resample?
>
>Kim Elmore
>
>At 01:36 PM 11/21/2006, you wrote:
>>This sounds like you might have some functions from the resample
>>library (that support weights) but not others.  Possibly the wrong
>>version of resample for S+7.0.
>>
>>When this happens:
>>* is resample loaded?
>>* what version of resample?  And S-PLUS?  Do:
>>         .resample.version
>>         version
>>* Do you have any functions masked?  Do:
>>         masked()
>>* Where in the search list is resample loaded?  Do:
>>         search()
>>
>>Tim Hesterberg
>>
>> >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

========================================================
| Tim Hesterberg       Research Scientist              |
| timh@insightful.com  Insightful Corp.                |
| (206)802-2319        1700 Westlake Ave. N, Suite 500 |
| (206)283-8691 (fax)  Seattle, WA 98109-3044, U.S.A.  |
|                      www.insightful.com/Hesterberg   |
========================================================
Download the S+Resample library from www.insightful.com/downloads/libraries

                          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>