Displaying 20 results from an estimated 10000 matches similar to: "subscript out of bounds"
2010 Dec 26
1
T2 hoteling
Dear All
It is very kind of you to guide me.
When I want to run this line, I see this error
stat.obs <- apply(GS, 2, function(z) Hott2(t(DATA[which(z==1),]), cl))
Error in colSums(w * x) : 'x' must be an array of at least two dimensions
cl <- as.factor(y)
GS: a matrix with 0 or 1
GS: gene sets
-> a data matrix with rows=genes,
columns= gene sets,
GS[i,j]=1 if gene i in
2011 Apr 27
2
arch=i386
Dear ALL
I want to load "HTSanalyzeR", It 's necessary to load "igraph" package.
This time I see this error:
library(igraph)
library(HTSanalyzeR)
Loading required package: GSEABase
Loading required package: Biobase
Error: package 'Biobase' is not installed for 'arch=i386'
>
I 'll be glade if you help me
[[alternative HTML version deleted]]
2009 Dec 16
3
Help With Glade and C5 64-bit?
I have a user with C5.4 64-bit, fully updated, performed a yum install
glade, it claimed to have installed everything, but we cannot get it
to run. Neither whereis nor locate revleal an executable.
We obtained the latest glade source from the project's web site,
attempted to configure it, until it complained of needed dependencies,
namely gtk+ (newer than what was on the system). So I got
2000 Feb 08
1
gnome support failure (libglade error on debian)
Hi,
I'm running debian - upgraded fully to potato at the start of the
freeze and added latest libgnome-dev before configuring.
I tried compiling with gnome support with
/usr/local/R/R-0.99.0/configure --with-gnome
and got the following output:
checking for gnome-config... /usr/bin/gnome-config
checking if /usr/bin/gnome-config works... yes
checking for orbit-config...
2004 Jul 20
1
Error: subscript out of bounds
Hi
I am running a simulation that involves a loop calling three 2 functions that I have written. Everything works fine when the inside of the loop is performed up to 1000 times (for (i in 1:750)).
However, I sometimes get : ''Error: subscript out of bounds'' if I try to increase the loop 'size' to 1000. I am thinking it has to to with memory but I am not sure. I have
2012 Jan 25
1
Error in predict.randomForest ... subscript out of bounds with NULL name in X
RF trains fine with X, but fails on prediction
> library(randomForest)
> chirps <-
c(20,16.0,19.8,18.4,17.1,15.5,14.7,17.1,15.4,16.2,15,17.2,16,17,14.1)
> temp <-
c(88.6,71.6,93.3,84.3,80.6,75.2,69.7,82,69.4,83.3,78.6,82.6,80.6,83.5,76
.3)
> X <- cbind(1,chirps)
> rf <- randomForest(X, temp)
> yp <- predict(rf, X)
Error in predict.randomForest(rf, X) : subscript
2011 Mar 24
2
Questions for "domist... subscript out of bounds"
Hi all,
I am a new user for R.
I faced a questions about subscript out of bounds.
Although I checked some other helps before I sent this email, I still don't know
how to deal with this problems.
I want to use "domain" function to run species distribution model in R.
I used "sp.occ.do<-domain(env.pre, pred_train, factors=c('continent')) &
2010 Mar 14
1
Error in object$tables[[v]] : subscript out of bounds
Hi,
Could you please tell me how I correct the following error message?
“Error in object$tables[[v]] : subscript out of bounds”
This is the code:
library(e1071)
data(iris)
attach(iris)
class_label <- names(iris)[1]
myformula <- formula(paste(class_label,"~ ."))
mymodel<-naiveBayes(myformula, iris,cross=3)
predict(mymodel,iris) ##Error in object$tables[[v]] :
2012 Mar 13
1
Error " subscript out of bounds"
Hello, R-users,
I have a datafile with 37313 records and each record has 5 different measurements on the same variables. The format looks like this: treeID, VIG0, VIG1, VIG2, VIG3, VIG4
I was trying to convert the one row record to 5 rows record with format like this (treeID, MEASUREMENT, VIGOR). My code like this:
treeMeas<-matrix(data=0,nrow=(length(tree1$indivTree)*5), ncol=3)
2006 Oct 18
2
Error: subscript out of bounds (PR#9305)
Full_Name: Steven King
Version: 1.16
OS: OSX vesion 10.4.8
Submission from: (NULL) (71.126.161.149)
Setting a matrix is a function - the failure occurs only on 2 X 2 matrices.
x<-matrix(1:4,nrow=2)
> x
[,1] [,2]
[1,] 1 3
[2,] 2 4
> x[x]<-2
Error: subscript out of bounds
2008 Dec 01
1
Error: "subscript out of bounds"
Hi All,
I am trying to replace the "NA" values in a matrix by using the following
function:
it gets a "name" of the matrix or list or vector and turns it to a matrix
called "m".
then checks the elements of the matrix and if any of them is "NA" replace
them with "0".
rep=function(name){
m=as.matrix(name)
for(i in 1:length(m)){
for(j in
2008 Feb 11
2
RGTK2 and glade on Windows - GUI newbie
Hallo,
I'd like to write a GUI (first choice with GTK+).
I've surfed through the R- an Omegahat-Pages, because I'd like to use
RGTK2, GTK 2.10.11 in combination with glade on Windows XP (perhaps later
Unix, Mac).
I've found a lot of different information. Because of the information I'm
not sure, if this combination is running on Windows XP and I'm unsure how
it works.
Is
2002 Mar 13
3
Error: subscript out of bounds
How can locate in my program an error of that kind (Error: subscript
out of bounds)?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
2010 May 25
2
error : subscript out of bounds
Hi,
I'm trying to calculate euclidean distance for my matrix rx1. Its a big
matrix with 947 elements. However when i do the following,
for(k in 1:947) for(m in (k+1):947){
A =rbind(A,c(k,m,ED(rx1[,k], rx1[,m])))
}
I get the following error:
ED(rx1[,k], rx1[,m]) : subscript out of bounds
I checked for k in 1:100 and it runs fine; its a huge matrix and takes
atleast an hour to run before I
2003 Dec 09
2
problem with pls(x, y, ..., ncomp = 16): Error in inherit s( x, "data.frame") : subscript out of bounds
I don't know the details of pls (in the pls.pcr package, I assume), but if
you use validation="CV", that says you want to use CV to select the best
number of components. Then why would you specify ncomp as well?
Andy
> From: ryszard.czerminski at pharma.novartis.com
>
> When I try to use ncomp parameter in pls procedure I get
> following error:
>
> >
2018 Feb 21
1
TreeBUGS - subscript out of bounds
Dear all,
?
I've only (very) recently started to use R (so please be easy on me if I may omit to mention relevant information or have overlooked fairly basic steps to solving the problem, since I do not have a lot of experience) because I'm interested in multinomial processing tree modeling with the TreeBUGS package (Heck, Arnold & Arnold 2017 - TreeBUGS: An R package for hierarchical
2013 Jul 12
2
vegan capscale 'subscript out of bounds' error
Hi list,
I am using the capscale function in vegan_2.0-7 to do a constrained
principal coordinates analysis, and I kept getting the following error
message:
Error in Y.r[, oo, drop = FALSE] : subscript out of bounds
I googled but I couldn't find an answer. Could anyone tell me why this
error msg and what to do?
Here is the command I used:
2011 Sep 10
2
Error : subscript out of bounds
m<-matrix(byrow=FALSE)
t<-as.list(na.exclude(x))
j<-0
o<-0
for(i in 1:998)
{
d<- 5*(i-1)+3
if(t[[d]][[1]]>80)
{
j<-j+1
e[j]<-d
l<-length(t[[d]])
u<-t[[d]]
price_rand<-t[[d-1]]
n<-0
for(k in 1:l)
{
if((u[k]>49)&&(u[k]<51))
{
n<-n+1
m[n,j]<-price_rand[k]
}
}
}
}
I am getting error in assigning the values to a matrix.
*Error in m[n, j]
2007 Jul 25
2
Subscript out of bounds when using datadist() from Design library
I am running R version 2.4.1 on Windows XP. I have a question regarding the datadist() function from the Design library. I have a data.frame (call it my.data) with 4 columns. When I submit the code
datadist(data=my.data)
I get the following error message:
Error in X[[1]] : subscript out of bounds
I suspect there may be something wrong with my data.frame (I'm certain there is nothing
2007 Jun 15
1
subscript out of bounds error in lda
I work with Windows, R version 2.4.1
I'm trying to do a discriminant analysis and, in trying to figure out how to
do it following the example from R help, I'm getting an error that says
'subscript out of bounds'. I don't know what this means and how to solve it
(I'm very new with R)
I'm doing everything in this made-up test matrix:
group var1 var2 var3
1 1