title: R Alternatives to View()? It's too slow on nested character vectors
body: <p><code>View()</code> is slow when there are nested character vectors; <code>View()</code> shows and crunches their appearance. A solution is to instead place these vectors inside data.frames or tibbles. But is there another fix or an alternative to View()?</p>
  <pre class="lang-r prettyprint-override"><code>library(tidyverse)
  ## A small taste
  st &lt;- tibble(x = letters[1:10])
  st &lt;- st %&gt;% mutate(
    nested_sentences = map(x, ~ sentences[1:3])
  )
  
  ## Glut
  glut &lt;- tibble(x = letters[1:10])
  glut &lt;- glut %&gt;% mutate(
    nested_sentences = map(x, ~ sentences)
  )
  
  ## Solution
  sol &lt;- tibble(x = letters[1:10])
  sol &lt;- sol %&gt;% mutate(
    nested_sentences = map(x, ~ tibble(sentences = sentences))
  )
  
  # View(st)
  # View(glut)
  # View(sol)
  
  ## It would be great if View(glut) showed similarly to tibble output
  glut
  #&gt; # A tibble: 10 × 2
  #&gt;    x     nested_sentences
  #&gt;    &lt;chr&gt; &lt;list&gt;          
  #&gt;  1 a     &lt;chr [720]&gt;     
  #&gt;  2 b     &lt;chr [720]&gt;     
  #&gt;  3 c     &lt;chr [720]&gt;     
  #&gt;  4 d     &lt;chr [720]&gt;     
  #&gt;  5 e     &lt;chr [720]&gt;     
  #&gt;  6 f     &lt;chr [720]&gt;     
  #&gt;  7 g     &lt;chr [720]&gt;     
  #&gt;  8 h     &lt;chr [720]&gt;     
  #&gt;  9 i     &lt;chr [720]&gt;     
  #&gt; 10 j     &lt;chr [720]&gt;
  </code></pre>
  <p><sup>Created on 2022-07-08 by the <a href="https://reprex.tidyverse.org" rel="nofollow noreferrer">reprex package</a> (v2.0.1)</sup></p>