[R] eclat problem
Michael Hahsler
mhahsler at lyle.smu.edu
Wed Jul 9 16:01:59 CEST 2014
Hi Alvaro,
this was a tricky problem. Under Windows R uses the trio library
(different from the package Trio which creates very similar error
messages) for printf support. arules currently contains a bug that
results in an invalid format string for printf when an error message is
created. For your problem below the error message should read "out of
memory," but since creating the error message produces an invalid printf
format string you see under Windows the internal error instead. This
problem will be fixed in the next release of arules (version 1.1-4).
Note however that your code still runs out of memory and you need to
increase support and/or restrict the number of items in the itemsets
(both with the list for parameter; see also class? ECparameter).
-Michael
On 07.07.2014 22:56, Alvaro Flores wrote:
>
>
> I'm working with arule packages and I'm constantly trying to mine
frequent itemsets in different datasets. But recently R kept returning
the same error message :
>
>
>
> Error in eclat(txn, parameter = list(supp = 0.001)) :
>
> internal error in trio library
>
>
>
> Is just this particular dataset that gives me problems.
>
>
>
> Anyone has ever passed and fixed this error?
>
>
>
> Here are an example of the transaction data set:
>
> items
>
> 1 {001200-3,
>
> 004100-3,
>
> 004200-5,
>
> 004500-9,
>
> 004600-5}
>
> 2 {001524-K,
>
> 002100-2}
>
> 3 {00179,
>
> 03807,
>
> 08019,
>
> 09314,
>
> 12432}
>
> 4 {002000}
>
> 5 {002600-4,
>
> 002700-0}
>
> 6 {004115-F,
>
> 02/100073A,
>
> 02/630935A,
>
> 044.1567.0,
>
> 044.1567.0/I,
>
> 1010301FA,
>
> 1012015-400-0000,
>
> 1117285,
>
> 1118100-201-4020,
>
> 1118105-051-0000M,
>
> 173171,
>
> 1903628,
>
> 1903628/I,
>
> 1903629,
>
> 1903629/I,
>
> 1907566,
>
> 1907567,
>
> 1907570,
>
> 1907571,
>
> 1931018,
>
> 2.4419.340.0,
>
> 215420/N,
>
> 2654408-N,
>
> 2992242,
>
> 2992544,
>
> 2996416,
>
> 2VC-115561,
>
> 320/04133A,
>
> 4102AZL.14.100N00,
>
> 4110Z.14.30,
>
> 4625547,
>
> 477556,
>
> 477556/O,
>
> 478736,
>
> 478736/O,
>
> 500054655,
>
> 581/18096,
>
> 61000070005,
>
> 957E-6731 A,
>
> BF8T-6731 BA,
>
> BG2X-6731 CA,
>
> DBPN-6731 A,
>
> F2NN-6714 AB,
>
> LF16015,
>
> LF3000,
>
> LF3345,
>
> LF3346,
>
> LF3349,
>
> LF3806,
>
> LF4054,
>
> LF9009,
>
> RE504836,
>
> RE59754,
>
> T19044/I,
>
> TAE-115561,
>
> W-950/7,
>
> ZP520}
>
> 7 {005226,
>
> 012.0348.0,
>
> 012.0349.0,
>
> 02/910150A,
>
> 1105010E834N00,
>
> 1105020D354,
>
> 1117011-630-0000W,
>
> 1117025-621-0000,
>
> 1372444,
>
> 1393640,
>
> 1457434310001,
>
> 1521219,
>
> 1873018,
>
> 1901605,
>
> 1902134,
>
> 1902138,
>
> 1902138/I,
>
> 1907640,
>
> 1907640/I,
>
> 1908547,
>
> 1908547/I,
>
> 1930010,
>
> 19BG920-30001,
>
> 20430751,
>
> 20514654,
>
> 20976003/O,
>
> 20998367,
>
> 215460,
>
> 26560143,
>
> 26560201,
>
> 26560201/I,
>
> 2710806,
>
> 2992241,
>
> 2992241/I,
>
> 2992300,
>
> 2992662,
>
> 2992662/I,
>
> 2995711,
>
> 2997376,
>
> 2R0-127177,
>
> 2R0-127177 A,
>
> 2RD-127491,
>
> 32/401102,
>
> 32/912001A,
>
> 32/925423,
>
> 32/925760,
>
> 32/925869,
>
> 32/925915,
>
> 320/07155,
>
> 343144,
>
> 4102H.15.110,
>
> 4102H.15.110N00,
>
> 4102H.15.20,
>
> 500315480,
>
> 500315480/I,
>
> 500316868,
>
> 550228,
>
> 550228/N,
>
> 582042,
>
> 612630080011N00,
>
> 612630080087,
>
> 7146717,
>
> 8159975/O,
>
> 81BASE9200001,
>
> 98439681,
>
> AR50041,
>
> BC11320000N01,
>
> BF0X-9155 AA,
>
> BF5T-9155 AB,
>
> BF8T-9155 DA,
>
> DDN-99162 B,
>
> DONN-9N074 BG,
>
> E5HT-9155 CA,
>
> E7HN-9155 AA,
>
> FF42000,
>
> FF5421,
>
> FF5458,
>
> FF5488,
>
> FS1000,
>
> FS1015,
>
> FS1241,
>
> FS1242,
>
> FS1280,
>
> PSD460/1,
>
> PSD970/1,
>
> R28-30M,
>
> RC45MB,
>
> RE62418,
>
> RK120MBQ2,
>
> T22VA,
>
> WK-723}
>
> 8 {005227,
>
> 2641311,
>
> 2641371,
>
> 2641406,
>
> 2641725,
>
> 2641729,
>
> 2641808,
>
> 376518,
>
> 4757883,
>
> 72013,
>
> 72061,
>
> 8190393,
>
> 9986316,
>
> D8NN-9350 AA,
>
> DDN-9350,
>
> RE42211}
>
> 9 {0055,
>
> 0087,
>
> 0482,
>
> 0484,
>
> 0531,
>
> 11329,
>
> 8311}
>
> 10 {007.0762.0/40,
>
> 014.0428.0,
>
> 1114036,
>
> 1118369,
>
> 1118375,
>
> 1118376,
>
> 1118377,
>
> 1118379,
>
> 1305546,
>
> 1312934,
>
> 1677591,
>
> 1677592,
>
> 1677593,
>
> 2.1539.130.0,
>
> 2.1539.259.0,
>
> 20515059/C,
>
> 275092/C,
>
> 275636/C,
>
> 2RD-107124,
>
> 31358393-G,
>
> 3135X031,
>
> 3135X063,
>
> 4622074,
>
> 4622074/G,
>
> 4742199,
>
> 4742202,
>
> 4770623,
>
> 4803030/G,
>
> 500337911,
>
> 61316752,
>
> 61316793,
>
> 7114756,
>
> 8815939,
>
> 99435938,
>
> 99448192,
>
> 99467115,
>
> BF0X-6055 AA,
>
> BF0X-6055 AA/C,
>
> BF0X-6055 AA/CM,
>
> BF0X-6055 AA/M,
>
> BF8T-6055 AA,
>
> TAE-107125,
>
> TAF-107127,
>
> TE3-107125}
>
> 11 {008.4748.4,
>
> 026566T3,
>
> 1370794,
>
> 1393185,
>
> 1868005,
>
> 2UH-141025,
>
> 353430,
>
> 5016033/034,
>
> 5196807,
>
> 9959900,
>
> 9962518,
>
> E6NN-7563 AA,
>
> EONN-7563 BA,
>
> XC45-7563 BA/C/P,
>
> XC45-7563 CA}
>
> 12 {009.4749.3,
>
> 1865836,
>
> 2RD-141031,
>
> 3191991,
>
> 3610274,
>
> 42102093,
>
> 4999812/R,
>
> 525587/D,
>
> 887889,
>
> 96HU-7550 AA,
>
> 96HU-7550 AA/C,
>
> 97HU-7550 AA/C,
>
> AL33315,
>
> C7NN-7550 V,
>
> D1NN-7550 A,
>
> D5NN-7550 A,
>
> E6NN-7550 ABL}
>
> 13 {0118,
>
> VLF-3200,
>
> VLF-3202,
>
> VLF-3205}
>
> 14 {014.5259.0/10,
>
> 014.5260.0/10,
>
> 014.5261.0/10,
>
> 065.1450.0/30,
>
> 069.1450.0/30,
>
> 087.0050.0,
>
> 087.0050.6/10,
>
> 1367028/CL,
>
> 136750,
>
> 143810,
>
> 149300,
>
> 149340,
>
> 1725112,
>
> 1905560/KP,
>
> 1905961/62,
>
> 1905968/G,
>
> 1908819,
>
> 1930248,
>
> 2500617/K,
>
> 270789,
>
> 2830919,
>
> 2852012,
>
> 2852743,
>
> 2992642,
>
> 2R0-109287,
>
> 2R0-198015 C,
>
> 2TA-109289/4,
>
> 3092642,
>
> 3228362R1,
>
> 36811122,
>
> 36812349,
>
> 3681E006,
>
> 3681E037,
>
> 3681E046,
>
> 4690375,
>
> 500308780,
>
> 551528,
>
> 99477119,
>
> BF0X-6008 AA,
>
> BF5X-6008 D,
>
> BF5X-6008 D/4,
>
> BF5X-6020 C,
>
> BF5X-6L621 A,
>
> BG5X-6008 AA,
>
> BG5X-6008 BA,
>
> C7NN-6584 B,
>
> C7NN-6584 C,
>
> CFPN-6008 FKI,
>
> D4NN-6008 BG,
>
> D4NN-6008 BGI,
>
> D4NN-6710 A,
>
> DDN-6008 AM,
>
> DDN-6051 CG,
>
> EONN-6051 AA,
>
> EONN-6051 FA,
>
> EONN-6051 FAGG,
>
> R80241,
>
> R92425,
>
> RE38857,
>
> RE50978,
>
> TE6H-6008 B,
>
> TJG-109289,
>
> TJG-115441,
>
> U5LB1164,
>
> U5LT0065/016,
>
> U5LT0178}
>
> 15 {014.7994.4,
>
> 1448659,
>
> 1887506,
>
> 20709848,
>
> 20824906,
>
> 2VC-115105,
>
> 4705827,
>
> 479317,
>
> 4802609,
>
> 8193737,
>
> BF5T-6600 A,
>
> BF5X-6600 B,
>
> BG1X-6600 AA,
>
> C7NN-6A605 A,
>
> D3NN-6A820 F,
>
> D5NN-6600 DI,
>
> F1NN-9278 AA,
>
> R78202,
>
> TJG-117021}
>
>
>
> Thanks in advance.
>
>
> Alvaro.
>
--
Michael Hahsler, Assistant Professor
Department of Engineering Management, Information, and Systems
Department of Computer Science and Engineering
Bobby B. Lyle School of Engineering
Southern Methodist University, Dallas, Texas
office: Caruth Hall, suite 337, room 311
email: mhahsler at lyle.smu.edu
web: http://lyle.smu.edu/~mhahsler
More information about the R-help
mailing list