Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-3370

display of data.table (and matrix) objects has poor alignment

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.7.3
    • Fix Version/s: None
    • Component/s: Interpreters
    • Labels:

      Description

      Library `data.table`'s default print method intentionally truncates table output for speed, basically concatenating `head` and `tail`.

      In Zeppelin, this leads to poor alignment:

       

      ```

      %r
      library(data.table)
      DT = data.table(a = seq_len(1e6))

      DT

      ```

       

      I suspect this is the same issue as plagues matrix printing since `data.table` converts the object to be printed to a `matrix` first:

       

      ```
      %r
      m = matrix(NA, 1e4, 10)
      m
      ```

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              michaelchirico Michael Chirico
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified