You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Michael Chirico (JIRA)" <ji...@apache.org> on 2018/03/28 10:31:00 UTC
[jira] [Created] (ZEPPELIN-3370) display of data.table objects has
poor alignment
Michael Chirico created ZEPPELIN-3370:
-----------------------------------------
Summary: display of data.table objects has poor alignment
Key: ZEPPELIN-3370
URL: https://issues.apache.org/jira/browse/ZEPPELIN-3370
Project: Zeppelin
Issue Type: Bug
Components: Interpreters
Affects Versions: 0.7.3
Reporter: Michael Chirico
Library `data.table`'s default print method intentionally truncates table output for speed, basically concatenating `head(x)` and `tail(x)`.
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
```
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)