我有以下
output$view <- renderTable({
tmp <- as.data.frame(matrix(data=NA,nrow=1,ncol=2))
tmp[1,1] <- "1"
tmp[1,2] <- "2"
head(tmp,n=nrow(tmp))
})
数据框的内容不居中。我怎么能把它集中起来?
答案 0 :(得分:3)
使用CSS,执行此操作。
SELECT t1.terminalId, t1.CustomerId
FROM External_Blk_Itm_Contracts t1
LEFT JOIN CustomerId t2 ON t1.terminalId = t2.terminalId
AND t1.CustomerId = t2.CustomerId
WHERE t2.terminalId IS NULL AND t2.CustomerId IS NULL