Skip to content

Printing of an expression type column does not work when the expression wraps to a new line #3011

@RichardRedding

Description

@RichardRedding

Printing of an expression type column does not work when the expression wraps to a new line

Works:

data.table(e = expression(1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12))

Doesn't:

data.table(e = expression(1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13))

At least on my computer, outside of a data.table, the first expression would print all on one line and the second would be split over two.

***I have just noticed when doing rbindlist that it says expression type columns are not supported
***Therefore, maybe the issue is that I was able to create a data.table with an expression type column at all

P.S. I was unable to download the development version of data.table as per the wiki:
data.table::update.dev.pkg(repo="https://gitlab.com/Rdatatable/data.table") Error: Line starting '<!DOCTYPE html> ...' is malformed!

Instead I did:
devtools::install_github("Rdatatable/data.table")

Metadata

Metadata

Assignees

No one assigned

    Labels

    non-atomic columne.g. list columns, S4 vector columns

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions