作者CAPPON (JI3)
看板R_Language
标题Re: [问题] 产生excel 合并储存格
时间Thu Feb 2 16:41:07 2017
试了ㄧ下
dataframe 名称为 "NWratio"
用mergecells 出现这错误讯息
疑问是 现在呈现为dataframe , 但这边的sheet是可以不写的吗? 把他略过不写也是没办
法work
请教前辈这要怎麽解呢?
谢谢
> mergeCells(NWratio, sheet="Sheet1",reference = "A2:A5")
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘mergeCells’ for signature
‘"data.frame", "character"’
※ 引述《CAPPON (JI3)》之铭言:
: https://www.sendspace.com/file/46ggcv
: 例子如档案里头
: 想要A1相同栏位汇出时候是可以变成合并储存格
: 这是可以做到的吗?
: 谢谢前辈
: ※ 引述《CAPPON (JI3)》之铭言:
: : 在R 产生的data frame要汇出excel
: : 有办法将某个栏位产生合并储存格吗?
: : 还是需要透过什麽语法做转换呢?
: : 谢谢~
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 223.138.147.135
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/R_Language/M.1486024869.A.638.html