Vladislav Ladenkov Vladislav Ladenkov - 1 year ago 63
R Question

Collapse a matrix of "chars" to string

I' ve got

chr [1:4, 1:4, 1:2, 1:3]
, filled with string like "bla1", "bla2", etc.
I want to make a single vector of all these 96 elements with NO quotation marks: bla1 bla2, so, if i type:
, i'd have an output:
P.S. I would preferebly like a non-regexp solution.

Answer Source

To produce strings without quotations do


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download