I am using the DT::Datatable package to create an output table. My table looks like this:
device position temperature A 1 45 A 2