[R] System Invocation Error - Cspade

sdoberman sdoberman at microstrategy.com
Wed Jul 18 17:56:04 CEST 2012

I am trying to run the cspade function in the arulesSequences package in R.
After I successfully read in my transactions using read_baskets, I try to
execute the cspade function against the transactions object I read in. 

However, when I execute the command, I obtain an error: system invocation
failed. Specifically, here is the output. 

    preprocessing ... 1 partition(s), 1.2 MB [0.23s] 
    mining transactions ...Error in cspade(table, parameter = list(support =
0.1), control =         list  (verbose = TRUE)) :  
    system invocation failed 

 The presence of "mining transactions" indicates that the following function
call in the cspade code is failing. 

    if (system2(file.path(exe, "spade"), args = c("-i", file,  
   "-s", parameter at support, opt, "-e", nop, "-o"), stdout = out))  
    stop("system invocation failed").  

 For reference, I can successfully generate sequences using the example zaki

Does anyone have any idea why that command might be failing?



View this message in context: http://r.789695.n4.nabble.com/System-Invocation-Error-Cspade-tp4636899.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list