Displaying 20 results from an estimated 30000 matches similar to: "Conversion to xlsx file"
2009 Jul 08
1
Import xlsx file in Ubuntu 9.04
Hi list,
By the entire last 2 weeks I was looking for a way to directly import xlsx
files to R in a Linux OS (Ubuntu 9.04). I already read the R Import/Export
guide, and I know how to use gdata to import xls files and read.table to
import .csv. My problem is that all data that I receive is in the xlsx
format, and I have to convert all the files to xls.
Well, when I was using Windows Vista OS,
2011 Apr 17
2
as.Date function error
Hi,
I have some problems with as.Date function.
After I applied as.Date for my data, "2010" changed to "2020" as below
Where am I wrong?
Thanks
Wonjae
> x=c("11/16/2010","11/17/2010","11/18/2010","11/19/2010")
> x=as.Date(x,"%m/%d/%y")
> x
[1] "2020-11-16" "2020-11-17" "2020-11-18"
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 Jul 13
2
RODBC and Excel 2010 xlsx
Hi List, just to know if the issue is only a problem of mine or if it is a
general issue due to the new MS Office pack. I'm using R 2.11.1 32 bits in a
Windows 7 x64 with the MS office 2010 x64 installed. I can import .xls files
normally (the same way I did with my Excel 2007 32 bits). But the function
odbcConnectExcel2007 isn't able to import .xlsx files now that I have the
new version of
2011 Jun 23
3
trying to import xls or xlsx files
library(xlsReadWrite)
mydata<-read.xls("file path", header=TRUE)
however if I change xls to csv it works just fine. Any ideas what I'm doing
wrong? I have have also using the package gdata with the exact same error.
Below is the error that pops up.
Error in findPerl(verbose = verbose) :
perl executable not found. Use perl= argument to specify the correct path.
Error in
2011 Aug 02
1
xlsx error
Hey All,
I'm trying to use the xlsx package to read a series of excel spreadsheets
into R, but my code is failing at the first step.
I setwd into my the directory with the spreadsheets, and, as a test ask for
the first one:
read.xlsx(file = "Argentina Final.xls", sheetIndex = 1)
I promptly get an error message:
Error in .jcall(row[[ir]],
2010 Jan 28
1
Problem associated with importing xlsx data file (Excel 2007)
Hi all,
I have imported xlsx file (Excel 2007) into R using the following scripts.
*library(RODBC)
*
*setwd(".......") *
*query <- odbcConnectExcel2007(xls.file = "GI 2010.xlsx", readOnly = TRUE)
dat <- sqlQuery(query, "select * from [sheet1$]", as.is = TRUE, na.strings =
"exp")*
*dat* contain one column consisting of intergers and characters
2010 Apr 07
1
Exporting data to .xlsx file
I imported data from teradata to R data frames.Now i want to export this
data to .xlsx file ( not .xls since it doesn't support large data set).
I have tried dataframes2xls package but it needs python/perl which I don't
have on my computer.
Could any one help me resolve this issue.
Thanks
Sumit
[[alternative HTML version deleted]]
2013 Oct 04
8
is there any way to convert .xlsx to .xls
Hello Guys, does anybody know if there''s anyway to upload a .xlsx file and
then convert it to .xls file for later processing?
i''d like to use spreadsheet to write a new xls file but it doesn''t support
xlsx and the file is only importable with that format sadly.
I saw roo but I don''t know if there''s a direct way to do it.
--
You received this
2013 Apr 02
1
gdata selectively not working
I can use gdata to successfully read in the example Excel file, but not any
other excel files. Why might this be the case? It seems that the problem
has something to do with opening the database but no indication as to what
the problem is. So i'm at a loss of how to fix it.
> library(gdata)
gdata: read.xls support for 'XLS' (Excel 97-2004) files ENABLED.
gdata: read.xls support
2013 Jan 09
2
writing to .xlsx
Dear r helpers;
I'm interested in reading from and writing to large .xlsx files fairly
regularly. (Why, the naysayers may ask - and the answer is basically
colleagues and clients who prefer that format). I've tried out the
XLConnect and xlsx libraries, but the java implementation they use just
takes too much RAM for the files I'm working with.
gdata leverages perl and works really
2013 Jul 22
1
problem loading large xlsx file into r
Hi,
I am facing trouble when trying to read large xlsx file into R. please find the code and error below. The file I was trying to read has 36,500 rows X 188 col, ~ 37 MB size.
> options( java.parameters = "-Xmx4g" )
> library(xlsx)
Loading required package: xlsxjars
Loading required package: rJava
> cftc =
2010 Jan 19
4
how to open excel 2007 (.xlsx) file in R
i am unable to open a file which is saved as .xlsx format in R . The file
contains approximately 1,50,000
rows. So I m not able to save it as csv file.Please suggest ways to open
this file
--
View this message in context: http://n4.nabble.com/how-to-open-excel-2007-xlsx-file-in-R-tp1017273p1017273.html
Sent from the R help mailing list archive at Nabble.com.
2011 Mar 01
0
odbcConnectExcel2007 creates corrupted files
I tried creating a .xlsx file using odbcConnectExcel2007 and adding a
worksheet with sqlSave. This seems to work, I am even able to query the
worksheet, but when I try opening the file in Excel I get the following
message: "Excel cannot open the file 'test.xlx' because the file format or
file extension is not valid. Verify that the file has not been corrupted and
that the file
2014 Aug 15
2
leer ficheros excel en R en Ubuntu
Gracias Jorge por contestar tan rápido.
Con gdata hago eso del path, y directamente con el fichero, lo vi en una
web, y he intentado todas las opcioens que he visto.
En vez de install.packages('rJava', type = 'source')
he hecho install.packages('rJava')
Ahora probaré, y lo mismo con scan y readLines.
He visto en stackoverflow que mi problema puede ser actualizar java,
2014 Aug 15
2
leer ficheros excel en R en Ubuntu
offline? te lo envío a tu email, pq no creo que a toda la lista sea buena
idea.
El 15 de agosto de 2014, 9:47, Jorge I Velez <jorgeivanvelez en gmail.com>
escribió:
> De nada, Miguel. Es posible que me envies el archivo offline? --JIV
>
>
>
> 2014-08-15 17:45 GMT+10:00 Miguel Fiandor Gutiérrez <
> miguel.fiandor.gutierrez en gmail.com>:
>
> Gracias
2009 Nov 18
3
Re ading multiple Excel 2007 files with a loop
I have several hundred Excel 2007 data files in a folder. I would like to
read every file in a single given folder using a loop.
I have searched the FAQ, the forum archives here, other or older R boards
and the R Import / Export documentation, and have asked some very
knowledgeable R users without learning of a solution. I hope someone here
can help.
I understand that the most common
2011 Feb 09
3
Problem with xlsx package
I am trying to read an xlsx spreadsheet (1506 rows, 501columns) all
populated but getting the following error:
Please advise as to how to get around this issue.
> res <- read.xlsx("c:\\BSE_v2.xlsx",1)
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.OutOfMemoryError: Java heap space
Here is the session info:
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
2013 Feb 23
3
data.frame and import to xlsx
Hi,
i have a very huge number of data with the size 2375ko, i want to import
them for R to xlsx
but the size of excel is limited
How can i resolve this problem?
And please how can i define the frame
Note that i have a table
rows times c(1.....100) columns WLc(200...1000) and inside S c(15,.........)
the table it is full values
--
View this message in context: