[R] SparseLogReg make r crash problem

=?big5?B?qLlAeXp1?= s938613 at mail.yzu.edu.tw
Fri Jan 28 15:32:01 CET 2005


We are currently using runSparseLogreg in Package SparseLogReg,

here is our code :

library(SparseLogReg)
randomdata <- matrix(runif(1500,min=0,max=30000),ncol=10)
class.zero.one<-c(rep(0,7),rep(1,3)) # give the ramdom gene expression 
samples with class label
significant.gene<-runSparseLogreg(numTrains=10, numGenes=150, 
numExperiments=3,intKfold=5, tol=1e-6, 
maxFeatures=20,inData=randomdata,inClass=class.zero.one)

#above code cause rugi.exe memory error , and we must to close the r 
program.

why does this happen ?

Any help is greatly appreciated.

Sincerely.

Cheng-Bang Chu
Email: s938613 at mail.yzu.edu.tw
Yuan Ze University
Address: 1609a Bioinformatics ,
135 Yuan-Tung Rd. Chung-Li,  Taiwan, 320 R.O.C.




More information about the R-help mailing list