Re: [R] Writing data onto xlsx file without cell formatting

2016-09-27 Thread Spencer Graves
I don't know if "openxlsx" will solve Christofer's problem, but it solved a problem I encountered recently reading a large data set: read.xls{gdata} read 20734 obs. of 141966 rows and stopped without warning. read.xls{fImport} and read_excel{readxl} both read 65536 rows. I couldn't

Re: [R] Writing data onto xlsx file without cell formatting

2016-09-27 Thread Nordlund, Dan (DSHS/RDA)
gt; Sent: Tuesday, September 27, 2016 9:46 AM > To: Daniel Nordlund > Cc: r-help > Subject: Re: [R] Writing data onto xlsx file without cell formatting > > Hi Daniel, > > Am attaching an example xlsx file which I need to modify. > > I have tried with below code : >

Re: [R] Writing data onto xlsx file without cell formatting

2016-09-27 Thread Christofer Bogaso
Hi Daniel, Am attaching an example xlsx file which I need to modify. I have tried with below code : library(xlsx) Data = data.frame(1:20) wb <- loadWorkbook("asd.xlsx") ### Assume I saved asd.xlsx in the working directory addDataFrame(Data, sheet = getSheets(wb)[['Sheet1']], startRow=5,

Re: [R] Writing data onto xlsx file without cell formatting

2016-09-27 Thread Daniel Nordlund
On 9/26/2016 2:56 PM, Christofer Bogaso wrote: Hi again, I have been following above suggestion to export data from R to xlsx file using XLconnect. However recently I am facing Java memory allocation problem with large dataset (looks like a known issue with this package) and therefore decided

Re: [R] Writing data onto xlsx file without cell formatting

2016-09-26 Thread Christofer Bogaso
openxlsx is not solving my problem either. It is corrupting my xlsx file. I have a large data.frame, which I want to export to an existing xlsx file, without formatting that existing file. With XLconnect there is an option "setStyleAction(wb,XLC$"STYLE_ACTION.NONE")" which does it so. I am

Re: [R] Writing data onto xlsx file without cell formatting

2016-09-26 Thread jim holtman
I use the "openxlsx" package to handle spreadsheets. Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. On Mon, Sep 26, 2016 at 5:56 PM, Christofer Bogaso < bogaso.christo...@gmail.com> wrote: > Hi again, > >

Re: [R] Writing data onto xlsx file without cell formatting

2016-09-26 Thread Christofer Bogaso
Hi again, I have been following above suggestion to export data from R to xlsx file using XLconnect. However recently I am facing Java memory allocation problem with large dataset (looks like a known issue with this package) and therefore decided to move to using "xlsx" package. Now I started

Re: [R] Writing data onto xlsx file without cell formatting

2016-07-10 Thread Ismail SEZEN
I think, this is what you are looking for: http://stackoverflow.com/questions/11228942/write-from-r-into-template-in-excel-while-preserving-formatting > On 11 Jul 2016, at 03:43,

[R] Writing data onto xlsx file without cell formatting

2016-07-10 Thread Christofer Bogaso
Hi again, I am trying to write a data frame to an existing Excel file (xlsx) from row 5 and column 6 of the 1st Sheet. I was going through a previous instruction which is available here :