RE: [R] Need Help - Urgent

From: Huntsinger, Reid <>
Date: Fri 03 Jun 2005 - 23:31:38 EST

You're asking for a matrix with
length(x)^2*length(y)^2*length(s)^2*length(t)^2 rows. What are these lengths? Is that what you're expecting? Perhaps you want the distinct factor levels in x,y,s,t rather than x,y,s,t themselves?

Reid Huntsinger

-----Original Message-----
[] On Behalf Of Nivesh Pawar Sent: Friday, June 03, 2005 8:00 AM
Subject: [R] Need Help - Urgent

I am a student and some really urgent help.I am using R software and while creating a grid with eight elements its showing the error and while if i do it with seven it says that the memory is not sufficient... here is the line ...with the error....

> Z<-as.matrix(expand.grid(x,y,x,y,t,s,t,s))

Error in = nx),, nx)), orep) :

        cannot allocate vector of length 1128960000

Is it possible to somehow increase the default size of the matrix? please help..

THanking you
nivesh pawar mailing list PLEASE do read the posting guide! mailing list PLEASE do read the posting guide! Received on Fri Jun 03 23:42:29 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:22 EST