Hi,

I am testing out some things with the kernlab library.

The dataframe is 22,000 rows of 32 columns.

The command I execute is:

model <- ksvm(label ~ ., data = traindata, type="C-svc", kernel = 
"rbfdot", class.weights= c("0" =1, "1" =3),  kpar = "automatic", C = 10, 
cross = 3, prob.model = TRUE)


I have both a Macintosh and  linux machine running Fedora.

The Macintosh has 2GB of RAM.

On the Macintosh, this command runs and completes without any error.

The Linux machine has 4GB of RAM

On the Linux machine, I get a memory error:  "Error: cannot allocate 
vector of size 988.7 Mb
"

Can anybody help me figure out why??

Thanks..



        [[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.

Reply via email to