Steve, That makes sense, except that x is a data.frame with about 70 columns. So I don't see how it would convert to a list.
-N On 8/19/09 12:09 PM, Steve Lianoglou wrote: > Howdy, > > On Aug 19, 2009, at 2:54 PM, Noah Silverman wrote: > >> Hi Steve, >> >> No custom kernel. (This is the exact same data that I call svm with. >> svm works without a complaint.) >> >> traindata is just a dataframe of numerical attributes >> trainlabels is just a vector of labels. ("good", "bad") >> >> Then I call >> >> model <- rvm(x,y) > > is x really a data.frame? Can you try to turn it into a matrix to see > if it will get you over this speed bump? > > model <- rvm(as.matrix(x), y) > > I reckon if x is a data.frame, R is invoking the rvm function that's > meant to work on list(s), rather than the matrix which you think > you're passing in. > > Does that do the trick? > > -steve > > -- > Steve Lianoglou > Graduate Student: Computational Systems Biology > | Memorial Sloan-Kettering Cancer Center > | Weill Medical College of Cornell University > Contact Info: http://cbio.mskcc.org/~lianos/contact > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.