fn format_cell(val: &RValue, idx: usize, quote: bool) -> String
Format a single cell from a vector for write.table output.