R run time question
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 07/13/2011 03:24 PM, Wayne Gray wrote:
All, We are doing ANOVAs that take a long time (> 3 hrs) to run in 64-bit mode on an Intel MacPro with 8 gbytes and 2.66 GHZ Intel Core i7 machine. We have just tried running these on our server where we don't care as much how long it takes. The server is a Mac "2 x 3 GHz Dual-Core Intel Xeon" with 13 GB 667 MHz DDR2 FB-DIMM. We have installed R "R 2.10.1 GUI 1.31-np Tiger build 32-bit (5538)" on the server.
?? Pretty old ?? is this because of an old OS on the server??
The data.frame is composed of the following observations, factors, and numerals:
str(e1jit41blkAll)
'data.frame': 21648 obs. of 6 variables: $ subjectid: Factor w/ 22 levels "1379","1744",..: 1 1 1 1 1 1 1 1 1 1 ... $ cond : Factor w/ 2 levels "Visual","Auditory": 1 1 1 1 1 1 1 1 1 1 ... $ block : Factor w/ 8 levels "2","3","4","5",..: 1 1 1 1 1 1 1 1 1 1 ... $ cbtime : Factor w/ 41 levels "1","2","3","4",..: 1 10 11 12 13 14 15 16 17 18 ... $ dirtime : Ord.factor w/ 3 levels "Early"<"Middle"<..: 1 1 1 1 1 1 1 1 1 1 ... $ jitter : num 7.78 7.33 5.56 5 6.11 ... When we run the following ANOVA on this dataframe:
anova.ALL.e1jit41.blkAll <- with(e1jit41blkAll, aov(jitter ~ cond*block*dirtime*cbtime + error(subjectid/(block*dirtime*cbtime)), data = e1jit41blkAll))
We get the following feedback: Error: cannot allocate vector of size 3.5 Gb
I don't know about faster, but the biglm package should be useful ... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4d8kMACgkQc5UpGjwzenM6tACfd3NIsjTUOcfeoKPJ4GCeR9I0 FG4AmwX0+qiuTW3/fxZopSjz2PPltxUq =uLDR -----END PGP SIGNATURE-----