开发者

How to write to an Excel File in 64 bit R

开发者 https://www.devze.com 2023-04-13 04:41 出处:网络
I\'m creating a TermDocumentMatrix from a corpus in 64 bit R (the 32 bit R crashes because of the size of the corpus). I need to save that TermDocumentMatrix in an excel file in a matrix format. When

I'm creating a TermDocumentMatrix from a corpus in 64 bit R (the 32 bit R crashes because of the size of the corpus). I need to save that TermDocumentMatrix in an excel file in a matrix format. When I'm working in 32 bit R with small corpus and the TermDocumentMatrix is generated, I can convert it to a matrix and save it using write.xls . But, it seems we can't use write.xls in 64 bit R. So, is there an alternative to saving a matrix in an excel file in 64 bit R ???

Thnx in advance. Hope my very first question @Stackoverflow gets 开发者_运维知识库answered .


Try using the write.csv function.


Currently the best solutions is mirai solution's package XLConnect. It works under all Windows version I tested, has the largest set of functions I know of, and is very fast.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号