Displaying 20 results from an estimated 3000 matches similar to: "FW: Re: Writing xls - multiple sheets"
2009 Mar 12
2
Writing xls - multiple sheets
Hi,
Is there a package I can use to write to multiple sheets on xls file,
other than using the paid version of xlsReadWrite package
(xlsReadWritePro)?
Thank you,
Ferry
2009 Jul 02
2
read.xls: number of sheets
Hi,
I'm trying to read several Excel sheets from an Excel file into a
list. I'm using
read.xls from package 'gdata'. I would like to know how I can
check the number of sheets before the loop (in the example below) so
that I could adjust the loop counter? Any suggestions?
DF.list <- list()
for (i in 1:4) {
DF.list[[i]] <- read.xls("sample_file.xls", sheet=i,
2008 Sep 25
0
Problem reading excel sheets
> Hi,
>
> I am new to ruby on rails.I am having problem reading excel files. I
> tried using gem ''parseexcel'' but still the error is coming.
> Could you please help me with the code and how to use this gem? Is
> there any better way to read excel sheets.
>
> Snippet of Code:
>
> require ''rubygems''
> require_gem
2009 Jul 02
2
Export data to Multiple Sheets in Excel via xlsReadWritePro
Is there a way to export multiple datasets into multiple excel spreadsheets using xlsReadWritePro or with xlsReadWrite?
Chris Anderson
707.315.8486
www.sassydeals4u.com
____________________________________________________________
Turn any room into a work of art. Click now for beautiful oriental rugs!
2007 Jul 08
1
Writing Excel (.xls) files on non-Windows OSs using Perl
Hi all,
There have been quite a few threads in the recent months pertaining to
the ability to directly write native Excel (.xls) files from R. For
example, exporting R matrices and/or data frames to an Excel file, with
perhaps the ability to create multiple tabs (worksheets) within a single
file, with one tab/sheet per R object.
There exists the xlsReadWrite package on CRAN by Hans-Peter Suter,
2009 Mar 31
1
error when going through Alan Lenarcic's package Tutorial
Hi Everyone: I've been going through Alan Lenarcic's package tutorial but
when I did
R CMD SHLIB Xdemo.cc Xdemo_main.cc -o Xdemo.dll
I got the following error:
XDemo_res.rc:15:38: warning: missing terminating " character
XDemo_res.rc:23:34: warning: missing terminating ' character
c:\mark\research\Rtools\MinGW\bin\windres.exe: XDemo_res.rc:16: syntax error
2001 Mar 10
1
wine-20010305 MS Excel97 *.xls -> .xls.xls
Hi,
If I open up a worksheet in MS Excel 97, the file name is modified
by appending an extra .xls to the name. Multiple .xls's are possible,
and it is not necessary to save the worksheet.
I'm running Wine-20010305 compiled on a SuSE 7.0 running a stock
2.4.2 Linux kernel. MS Excel is being run from an existing Win98
system partition.
Thought someone might want to know,
Dick
--
2007 Feb 09
1
append within worksheet in write.xls
I can currently append an entire worksheet with write.xls, but would
also like to be able to append within the same worksheet. Is this
possible? It doesn't seem to work if I use append = T
Thanks,
Mark
--
Mark W. Kimpel MD
Neuroinformatics
Department of Psychiatry
Indiana University School of Medicine
2009 Mar 12
1
read.xls and name of worksheet
Hi,
I would like to some excel files with some worksheets. I tried this with
the following R script:
library(gdata)
i<-1
rc<-0
while(rc != "try-error") {
wksh<-try(read.xls("cluster-microarray-FW.xls",sheet=i,verbose=TRUE,perl="perl"))
rc<-class(wksh)
print(sprintf("------- i=%2d rc=%s ---------------",i,rc))
if (rc !=
2008 Aug 26
1
problem in reading the columns from an xls file
I am having a problem in reading the columns from an xls file.
Following is the code:
workbook = Spreadsheet::ParseExcel.parse(params[:dump][:file])
worksheet = workbook.worksheet(0)
skip=0
worksheet.each(skip) { |row|
puts row.at(0)
}
I am storing "Customer" in the first row first column. When I print, it
is received as
2010 Jul 13
3
export tables to excel files on multiple sheets with titles for each table
Hello R-users,
Checking the archives, I recently came across this topic:
"export tables to Excel files"
(http://r.789695.n4.nabble.com/export-tables-to-Excel-files-td1565679.html#a1565679),
and the following interesting references have been proposed:
http://rwiki.sciviews.org/doku.php?id=tips:data-io:ms_windows
2007 Feb 09
1
newline with cell of Excel worksheet created with write.xls
As part of my project to put different types of results into worksheets,
I would like to be able to put an auto-generated methods section. If I
compose in RWinEdt, read into R, and use write.table with a .txt file
extension, what I get out has line-breaks that correspond to those I put
in in the first place.
If I do the same thing but write.xls with .xls extention, I get an Excel
worksheet
2004 Nov 09
1
RODBC bug or doc error in sqlFetch on xls files (PR#7354)
R 2.0.0 patched under win2000. MS Office Excel 2003. ODBC Drivers?
This may not come as a surprise -- sqlFetch() (and perhaps other ?) appear
not to handle table/worksheet names with spaces in them in Excel tables. I
was not able to find documentation that specifically mentioned this,
although the Help pages vaguely hinted that there might be difficulty with
Excel's "peculiar
2000 Dec 07
0
Re: Importing Excel .xls into R
One can import data from Excel ODBC source, but of course it is user's
responsibility to ensure that the data are consistent. Each worksheet in the
Excel workbook can be accessed as a table (for example, for Sheet1, you should
type "select * from [Sheet1$]". The worksheet should have first row containing
the column names, and the data rows should follow (the
2006 Jul 06
2
[Fwd: as.data.frame question]
>From: markleeds at verizon.net
>Date: Thu Jul 06 13:16:42 CDT 2006
>To: markleeds at verizon.net
>Subject: as.data.frame question
>hi all : as a result of an lapply command,
>i get the following output.
>
>
>$AAA
> 000106 000107 000108
> 5.5 6.5 3.0
>
>$BBB
> 000106 000107 000108
> 4 5 6
>
>$CCC
2009 Apr 01
1
problems with package tutorial
Hi: Here's my revised attempt at explaining my problem. Hopefully it won't
get sent out weirdly like it did earlier. ? The link to what I'm trying to
follow is
http://www.stat.columbia.edu/~gelman/stuff_for_blog/AlanRPackageTutorial.pdf
? I've been going through the tutorial but when I got to page 9 and did
R CMD SHLIB Xdemo.cc Xdemo_main.cc -o Xdemo.dll
I got
2010 Jan 03
2
Problem with downloading a generated Excel sheet
Hello,
I''m using the spreadsheet/excel gem to generate an excel sheet that I
want user to be able to download it once it''s generated. Please take a
look on the below code:
@contacts=Contact.find(:all)
if @contacts.size>0
file="#{Date.today}_Report.xls"
workbook=Spreadsheet::Excel.new("#{RAILS_ROOT}/public/reports/#{file}")
2005 Jun 30
1
Trouble with Excel table connection
Hello,
I've been using odbcConnectExcel to connect to a spreadsheet database
containing a single worksheet. Unfortunately when I try to access the
data R cannot see the table. When I run sqlTables it shows the worksheet
as a SYSTEM TABLE instead of as a TABLE that I can access. I am fairly
certain that I am do all of the same things I've done in the past when
it worked just fine.
2011 Nov 07
1
close but no cigar
Hi Everyone: It turns out that there's still a small ( I hope ) problem.
I'm close but that only counts in horse shoes and hand grenades.
Here's my problem: When trying to load a package that I am writing, the
load is looking for the packageDescription function in the utils package
but not finding the utils package. I looked on cran and utils is not there
which makes me think that it
2009 Apr 27
1
RODBC - XLSX files - dropping/clearing sheets
Hi!
I'm manipulating XLSX data using RODBC, however a limitation which appears
to be driver based is that you can't clear or drop sheets from the XLSX
files, as per the following example:
> library(RODBC)
> xlsx<-odbcDriverConnect("DRIVER=Microsoft Excel Driver (*.xls, *.xlsx,
*.xlsm, *.xlsb);DBQ=c:\\documents and settings\\desktop\\testxlsx.xlsx;
ReadOnly=False")
>