[R] Build a data.table via two string lists
John RF Staples
john@@t@p|e@ @end|ng |rom |c|oud@com
Mon Jun 6 20:53:15 CEST 2022
Hi, thanks for the comprehensive reply; it is appreciated.
John Staples
Sent from my iPad
> On 6 Jun 2022, at 14:05, John RF Staples <john.staples using me.com> wrote:
>
> Hello everyone,
>
> I have the following two structures:
>
> # str(cl)
> # chr [1:5] "timestamp" "assess" "catheter" "service" "ref"
>
> # str(rw)
> # chr [1:5] "1654508112" "3" "gel" "2785" “16545081121a8d8f956cb871053a3f56b782b70a76"
>
> From which I would like to generate a 5 col x 1 row data.table; the question is ‘how’?
>
> ‘cl’ represents the column names; ‘rw’ the row values.
>
> With anticipatory thanks …
> John
More information about the R-help
mailing list