I'm trying to run this simple random sample procedure and keep getting the
error message shown. I don't understand this; I've designated x as a
numeric vector, so what is going on here? Thanks.
x = as.vector(c(1:12));x
[1] 1 2 3 4 5 6 7 8 9 10 11 12
mode(x)
[1] numeric
sample(x, 3)
Jim Bouldin wrote:
I'm trying to run this simple random sample procedure and keep getting the
error message shown. I don't understand this; I've designated x as a
numeric vector, so what is going on here? Thanks.
x = as.vector(c(1:12));x
[1] 1 2 3 4 5 6 7 8 9 10 11 12
mode(x)
Thank you. However, when I tried that, I got this message:
Warning message:
In rm(.Random.seed) : variable .Random.seed was not found
Jim Bouldin wrote:
I'm trying to run this simple random sample procedure and keep getting
the
error message shown. I don't understand this; I've
Jim Bouldin wrote:
Thank you. However, when I tried that, I got this message:
Warning message:
In rm(.Random.seed) : variable .Random.seed was not found
In that case, have you attached some package that has its own .Random.seed?
Try to find where the current .random.seed comes from R
Jim Bouldin wrote:
Thank you. However, when I tried that, I got this message:
Warning message:
In rm(.Random.seed) : variable .Random.seed was not found
In that case, have you attached some package that has its own
.Random.seed?
Try to find where the current .random.seed
On 23-Jul-09 15:30:05, Jim Bouldin wrote:
I'm trying to run this simple random sample procedure and keep
getting the error message shown. I don't understand this; I've
Thanks.
x = as.vector(c(1:12));x
[1] 1 2 3 4 5 6 7 8 9 10 11 12
mode(x)
[1] numeric
sample(x, 3)
Error in
On 23-Jul-09 16:08:17, Jim Bouldin wrote:
Jim Bouldin wrote:
Thank you. However, when I tried that, I got this message:
Warning message:
In rm(.Random.seed) : variable .Random.seed was not found
In that case, have you attached some package that has its own
.Random.seed?
Try to find
Thanks much Ted. I actually had just tried what you suggest here before
you posted, and resolved the problem. Thanks also for the other tips. I
wrote x = as.vector(c(1:12)) because I thought that the mode of x might be
the problem, the error message pointing to .Random.seed notwithstanding.
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Jim Bouldin
Sent: Thursday, July 23, 2009 9:49 AM
To: ted.hard...@manchester.ac.uk; ted.hard...@manchester.ac.uk; r-h...@r-
project.org
Subject: Re: [R] error message
9 matches
Mail list logo