DataFrame Character Truncation
1
0
Entering edit mode
Dario Strbenac ★ 1.5k
@dario-strbenac-5916
Last seen 16 hours ago
Australia

Can it be turned off or changed to a different value?

> DataFrame(test = paste(LETTERS, collapse = ''))
DataFrame with 1 row and 1 column
                    test
             <character>
1 ABCDEFGHIJKLMNOPQRST..

?`show,DataFrame-method` seems not.

S4Vectors • 338 views
ADD COMMENT
1
Entering edit mode
@james-w-macdonald-5106
Last seen 6 hours ago
United States

As a DataFrame? No. But if you want conventional data.frame behavior, you can just convert.

> as(DataFrame(test = paste(letters, collapse = "")), "data.frame")
                        test
1 abcdefghijklmnopqrstuvwxyz

Login before adding your answer.

Traffic: 473 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6