Displaying 20 results from an estimated 20000 matches similar to: "Reading Excel Formulas as values"
2009 Jan 16
6
reading data from Excel Spread sheet
Hi all,
I tried to read data from Excel spread sheet with using
read.csv(file.choose())
and
read.delim(file.choose())
but its showing " *ÐÏ.à.*."
and also i tried with
read.table(file.choose())
then its showing " * V1
1 ÐÏ\021ࡱ* "
can any one suggest how to read data from Excel Spread sheet
2011 Mar 28
2
xlsx problem
Dear list,
I'm running windows xp with R 2.12.0. I'm trying to load a excel
spreadsheet into R using the xlsx package. I posted my code below with
the error I get.
> res <- read.xlsx("Copy of test_excel_input_data.xlsx", 6)
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.IllegalStateException: Cannot get
2011 Jul 08
2
Excel export date format
Hi folks,
I have been tormented for some time by Excel's habit of exporting dates
to CSV files as mm/dd/yyyy format even if the dates are formatted
dd/mm/yyyy in the display. What's worse, if there are dates that are of
ambiguous (6/6/2011) and unambiguous (16/6/2011) format in the same
column, Excel reformats the unambiguous dates and leaves the ambiguous
ones as they were! Yesterday
2012 Jun 26
1
compare one field of dataframe with excel sheet using R
I have a data frame consisting of three columns(name of compund,ppm and
frequency).Name contains string values .ppm and frequency contains numeric
values with decimal points upto four digits.
I have an excel sheet which is like a library.The first column contains the
name of compounds and remaining column contains the ppm values of the
compound which satisfy certain rules.The number of ppm values
2010 Oct 18
7
excel parser (preferably perl)?
I'm getting tired of converting spreadsheets that someone else updates
to csv so my perl scripts can push the data into a mysql database. Is
there a better way? I haven't had much luck with
perl-Spreadsheet-ParseExcel (and find it odd that yum prefers the .32
version from epel over .57 from rpmforge anyway). Is the current CPAN
version better? Or the equivalent java tools? Or
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")
>
2010 Sep 07
5
how to you output a vector to a column in excel?
What is the syntax for this?
If you have: vector = c(1,2,3,4), how would you output this to column A of
an excel spreadsheet?
--
View this message in context: http://r.789695.n4.nabble.com/how-to-you-output-a-vector-to-a-column-in-excel-tp2530470p2530470.html
Sent from the R help mailing list archive at Nabble.com.
2011 Sep 15
2
Reading Parts of Excel Files (within a sheet)
Dear R Users,
I have to read data from many excel spreadsheets, all which have some
frustrating formatting (lots of titles, headers, etc.). I am trying
to work directly from source data and the number of the spreadsheets I
would have to go through make reformatting one by one a pain. I have
found lots of ways to read excel files, but my question is whether
there is a way to only read
2009 May 28
4
Read & name multiple excel sheets using RODBC
I'd like to be able to read multiple sheets from an excel workbook and use
the sheet name to name the resulting dataframe using RODBC. at the moment
i've figured out how to do it the long way (see below) but feel sure that
there is a speedier & possibly automatic way to do it in R. i've tried to
run a loop using sqlTables but it seemed to break the connection. unless
i've
2012 Feb 08
2
Problems reading tab-delim files using read.table and read.delim
Hello,
I used read.xlsx to read in Excel files but for large files it turned out to
be not very efficient.
For that reason I use a programme which writes each sheet in an Excel file
into tab-delim txt files.
After that I tried using read.table and read.delim to read in those txt
files. Unfortunately, the results
are not as expected. To show you what I mean I created a tiny Excel sheet
with some
2007 Dec 14
1
RJDBC to OpenOffice Calc as RODBC to MS Excel
Under Windows, I have used RODBC to connect to Excel spreadsheets as per
the example below:
library(RODBC);
connect = odbcConnectExcel("testdata.xls");
query = "SELECT [data$.ethn], [data$.sex], [data$.age],
[data$.height], [data$.weight],
[label$.label]
FROM [data$], [label$]
WHERE [data$.ethn] = [label$.ethn];"
data =
2007 Apr 18
10
importing excel-file
Dear R-experts,
It is a quite stupid question but please help me. I am very confuced. I
am able to import normal txt ant mat-files to R but unable to import
.xls-file
I do not understand the online help. Can please anyone send me the
corresponding command lines? The .xls-file is attached. In my file we
use commas for the decimal format (example: 0,712), changes might be
needed.
Thanks, Corinna
2011 Jul 13
7
Error when writing to Excel files using the packages xlsx and xlsx2
Dear group,
I am working on a rather big project where the output data frames have
dimensions of 3000 x 15 or greater. We are using xlsx and xlsx2 to write the
data.frames to Excel sheets.
Since recently we get the following error, when trying to write the data
frames to the excel sheets:
Error in ls(envir = envir, all.names = private) :
invalid 'envir' argument
We figured out that
2013 Oct 10
12
What's the best way to approach reading and parse large XLSX files?
Hello, I''m developing an app that basically, receives a 10MB or less XLSX
files with +30000 rows or so, and another XLSX file with about 200rows, I
have to read one row of the smallest file, look it up on the largest file
and write data from both files to a new one.
I just did a test reading a few rows from the largest file using ROO
(Spreadsheet doesn''t support XSLX and
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"
2013 Sep 26
2
Read shortcuts of MS Excel files through R
Dear Rxperts,
Through Windows OS, I created shortcuts (paste as shortcut) to excel
spreadsheets ( with "xlsx" as the file extension). I wasn't able to read
the shortcuts through R and using "read" functions of "xlsx" package.
exf <- "a1.xlsx.lnk"
> read.xlsx(exf,1)
Error in .jcall("RJavaTools", "Ljava/lang/Object;",
2012 Aug 08
4
Saving Splitted Series to Excel via XLConnect
Dear R Discussion List,
I would like to save my data as a xlsx file. But at first
I need to split it and then save each series into a Excel
column. Please take a look at the following code:
dados <- data.frame(matrix(c("2012-01-01","2012-02-01",
"2012-03-01","2012-04-01","2012-05-01","2012-06-01",
2016 Jul 26
7
Exportar datos en formato de Excel
Buenos días a todos!
Estoy trabajando con una base de datos que directamente he descargado de
internet y después de prepararla un poco necesito exportarla a Excel he
intentando con las dos opciones que mencionaré al final pero ninguna
funciona, de qué otra manera puedo exportar esos datos a Excel... muchas
gracias por su ayuda y pronta respuesta!
1)
library(xlsx)
library(rJava)
2013 Nov 04
3
Reading data from Excel file in r
Hi experts,
I want to read data from an excel data like this:
for the fifth column, from first row until 140 but only 1,3,5,7,.....139
(only 70 values),
How can I do it in R?
thanks
[[alternative HTML version deleted]]
2012 Aug 17
4
Appending many different and separate Excel files using R
Dear all,
Good day!
I have a problem in reading Excel files in R and appending them to each other. Suppose we have several Excel files in a directory with headers and want to use R to append them in a single file with an additional variable in the final file indicating from which files the data come from.
As I have many Excel files and their sizes are very big I should write a loop in R to do