s-news
[Top] [All Lists]

Re: Problem with importData function

To: "Doug Bolgiano" <DougB@psbc.org>, <s-news@lists.biostat.wustl.edu>
Subject: Re: Problem with importData function
From: "Michael Camilleri" <MichaelCamilleri@branz.co.nz>
Date: Fri, 17 Aug 2007 09:26:46 +1200
In-reply-to: <D177B3E9AC59494BB99CB3DB025402C601B8D742@Central-EX1.PSBC.ORG>
References: <D177B3E9AC59494BB99CB3DB025402C601B8D742@Central-EX1.PSBC.ORG>
Thread-index: AcfejZk5MSA/Ek+IQAWP6FR1pjmuowBu1zUg
Thread-topic: Problem with importData function

Your problem has nothing to do with importData. The message

 

Problem: Invalid random number seed: numbers must be between 0 and 63 .  Use traceback() to see the call stack .

 

indicates that the random number seed value has got corrupted. Type .Random.seed at the command line to see the variable. It should be something like:

 

.Random.seed

 [1] 33 41 27 36 43  3 57  5  5 27 56  0

 

But with different integer values. Chances are your .Random.seed variable is character data.

 

To fix it either

Call set.seed() to set the seed to a valid state or

 

rm(.Random.seed) and hope S+ automatically regenerates it

 

importData needs .Random.seed as it has the capability to sample data as you import it. Even if you don’t sample data on import, it checks the value of .Random.seed.

 

This error just happens from time to time.

 

Michael

*****************************************************************
This e-mail and any attachments may contain confidential and
privileged information. It has been scanned for viruses. If you
are not the intended recipient, please notify the sender
immediately by return e-mail, delete this e-mail and destroy any
copies. Any dissemination, use, review, disclosure, or
distribution of this information by a person other than the
intended recipient is unauthorized and may be illegal.
*****************************************************************

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