title: (R) Error in cspade > summary(s1) : comparison (6) is possible only for atomic and list types
body: <p>I try to execute the SPADE algorithm (arules and arulesSequences package) for sequential pattern mining.</p>
  <p>If I run the code</p>
  <pre><code>library(Matrix)
  library(arules)
  library(arulesSequences)
  
  x &lt;- read_baskets(con = system.file(&quot;misc&quot;, &quot;zaki.txt&quot;, package = &quot;arulesSequences&quot;), info = c(&quot;sequenceID&quot;,&quot;eventID&quot;,&quot;SIZE&quot;))
    as(x, &quot;data.frame&quot;)
  
  s1 &lt;- cspade(x, parameter = list(support = 0.4), control = list(verbose = TRUE))
  cspade&gt; summary(s1)
  </code></pre>
  <p>as it is specified in <a href="https://en.wikibooks.org/wiki/Data_Mining_Algorithms_In_R/Sequence_Mining/SPADE" rel="nofollow noreferrer">https://en.wikibooks.org/wiki/Data_Mining_Algorithms_In_R/Sequence_Mining/SPADE</a></p>
  <p>I receive the following error:</p>
  <pre><code>Error in cspade &gt; summary(s1) : 
     comparison (6) is possible only for atomic and list types
  </code></pre>
  <p>Small note: by downloading the packages the hole code will work for you because it uses example data.</p>
  <p>Does somebody has an idea how to solve the error?</p>
  <p>Best Regards,
  Philip</p>