Displaying 20 results from an estimated 1000 matches similar to: "Read & name multiple excel sheets using RODBC"
2012 Mar 15
2
Importing multiple worksheets from one Excle/ csv file into R
Dear R experts,
I am trying to import some data from some Excle files into R. My Excle file
contains about 50 sheets.
One solution I can think about is to convert my Excle file into csv file
first and then load data into R using 'read.csv'.
But it seems to me that 'read.csv' only supports reading one sheet (or 'one
file') each time, so that seems I have to create 50 csv
2009 Apr 07
4
Re ading Excel 5.0 files with RODBC?
Hi,
i'm trying to read some data from excel files but it seems that neither
xlsReadWrite nor sqlFetch (RODBC) doesn't like the format (Excel 5.0).
When i open the file in Excel and save it in a new format Excel 97 -2003
everything works fine.
Is it possible to use ODBC connection to open old format files, or i guess i
will have to open and save every file in Excel in new format, which
2013 Jul 16
2
Importing data by odbcConnectExcel in 64 bit
I have probably an old question.
I have R.3.0.1 installed in 64 bit windows 7. The odbcConnectExcel in RODBC
library does not work. Tried odbcConnectExcel2007 still does not work.
Any ideas.
Thanks
Melissa<-sqlFetch(odbcConnectExcel2007("F:\\Cotton2012\\validation.xlsx"),sqtable
= "Sheet3",
+ na.strings = "NA", as.is = TRUE)
Error in
2011 Jul 20
1
Problem with RODBC
I have been trying to read some data from an Excel workbook without
success. The workbook is in .xls format and has multiple sheets, one
with the sheet name Data, which is the sheet I wish to read from. One
complication is that the header row of this sheet is comprised of
dropdown boxes.
I tried what I normally would do plus some variations. Here is the output.
> require(RODBC)
>
2010 Feb 11
3
Failed install of package xlsReadWrite
Does anyone have a work-around for a failed installation of this package?
> library(xlsReadWrite)
xlsReadWrite version (cran shlib)
Copyright (C) 2010 Hans-Peter Suter, Treetron, Switzerland.
!! Your installation contains the cran placeholder shlib (dll/so).
Please get the regular shlib (420 KB) by executing the following command:
xls.getshlib()
However, the xls.getshlib() command fails
2003 Jul 21
1
RODBC: problem saving a new table in an "Excel database"
Hi
I am using package RODBC version 1.0-1 under R version 1.7.1 on Windows
XP Pro. I am having problems writing a new table to an (Excel) database
using sqlSave.
I connect to an empty Excel spreadsheet using odbcConnectExcel (which, I
believe, uses the Microsoft Excel Driver DSN). Then I try and save a new
table to the database(spreadsheet) using SqlSave, but obtain an error
message.
Below is
2010 Jul 07
1
xls.getshlib() error in xlsReadWrite package under W7
Dear all,
I installed xlsReadWrite package under Windows 7, and got error when trying
to run xls.getshlib().
Please, see the errors below:
> require(xlsReadWrite)
Loading required package: xlsReadWrite
xlsReadWrite version (cran shlib)
Copyright (C) 2010 Hans-Peter Suter, Treetron, Switzerland.
!! Your installation contains the cran placeholder shlib (dll/so).
Please get the regular shlib
2009 Sep 24
2
RODBC problem
Hi,
I'm attempting to use the RODBC package on Windows Vista to import an
excel spreadsheet. The spreadsheet has three worksheets the last of
which is blank. Following an example in Phil Spector's book (p. 34),
after creating a connection named con I did the following:
> con
RODBC Connection 3
Details:
case=nochange
DBQ=c:\temp\test.xls
DefaultDir=c:\temp
2012 Dec 13
2
How to create multiple country's data into multiple sheets of one excel
HI,
I have large dataset of many countries. I have written the program to run through each country to generate one output for each country. I want to put the output like this:
one sheet has output for one country. How do I achieve it by r.
I have tried this:
library(xlsx)
write.xlsx(nnn, "vn.xlsx", sheetName="Sheet1") [1]
but when I change sheetName="Sheet2"
2012 May 29
1
RODBC, Excel, and data truncation when writing
Hi,
I am hoping to use the RODBC package to write a dataframe to an Excel .xlsx
file. The dataframe contains at least one field with character elements
that exceed 255 bytes, which appears to be the cell width limit in Excel.
Below is example code and the warning message received:
library(RODBC)
d <-
2005 Aug 31
0
Reading numeric data in Excel as character data in R using RODBC
The Excel 'database' I am pulling from mixes multiple character
indicators for different kinds of non-numeric results in the same column
as the numeric values. A simple sqlFetch turns all of the character
indicators into NAs. I would like to pull in all of the Excel data as
character so that I can split the column into multiple types of vectors
and control the type conversion within R. Can
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,
2007 Nov 29
6
MS Excel Data
I am using MS Excel (Windos Operating system), how I
import/export data between MS_Excel and R.
Regds
Faisal Afzal SIddiqui
+92-300-9297089
fasidfas at yahoo.com
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
2010 Sep 06
1
Help on write.xlsx library(xlsx)
Hi Adrian,
dat=data.frame(matrix(0,3,3))
write.xlsx(dat,"z:/dat.xlsx",sheetName="sheet1",append=F)
write.xlsx(dat,"z:/dat.xlsx",sheetName="sheet2",append=F)
The above code works and creates new worksheets. But if I want to append
to an existing worksheet I seem to get an error.
2009 Nov 23
6
Excel-Export
Dear all,
i use the following package/syntax to export data to excel:
library(xlsReadWrite)
write.xls( exportdata,pfad,colNames = TRUE,sheet = 1,from = 1,rowNames =
FALSE )
Everything is fine, but the format of the export is not the best. For
example, I every time have to adjust the column width. Furthermore there is
no possibility to highlight some cell or make them colourful.
I create a lot
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
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!
2009 Jun 25
3
what happened to the xlsReadWrite package
A naive question: what happened to the xlsReadWrite package?
http://cran.r-project.org/web/packages/xlsReadWrite/
It says that it was removed from the CRAN repository. Are there any plans
for it be available again?
Thanks,
Andrew
[[alternative HTML version deleted]]
2009 Aug 11
3
How to Import Excel file into R 2.9.0 version
Hi Every one,
I have a problem with Reading Excel file into R 2.9.0 version. In older
versions it is working with "xlsReadWrite" package. But in 2.9.0 version
there is no package like that. so help me out in this aspect.
Thanks in Advance.
--
View this message in context: http://www.nabble.com/How-to-Import-Excel-file-into-R-2.9.0-version-tp24914638p24914638.html
Sent from the R help
2010 Feb 23
5
export tables to Excel files
Dear R users,
I've just posted a similar question about Illustrator.
This time I would like to export the results of my statistic tables and
my dataframes into Excel files.
Up to now I've used write.csv(), but I have to resave every file in .xls
in Excel.
I would like to know if there is a function or package to export
directly into *.xls.
I have found xlsReadWrite which would be