title: How to find the maximum element of list?
body: <p>I have a big list and I want to find the maximum element of it, but it seems that doesn't work. Would someone help me? </p>
  
  <p>A part of my list: </p>
  
  <pre><code>&gt;X
      [[722]]
      [1] 3489
  
      [[723]]
      [1] 3100
  
      [[724]]
      [1] 3520
  
      [[725]]
      [1] 3544
  
      [[726]]
      [1] 3476
  
      [[727]]
      [1] 3625
  
      [[728]]
      [1] 3305
  </code></pre>
  
  <p>and here is my effort: </p>
  
  <pre><code>lapply(X, FUN=max )
  </code></pre>
  
  <p>But it does not give me the single number, which is the largest entry of this list, for example. Here I would expect to get <strong>3625</strong> as output.</p>