Displaying 20 results from an estimated 2000 matches similar to: "xlsx problem"
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 =
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;",
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:
2024 Mar 15
1
write.xlsx error message
I think remember this error from trying to write an Excel file that already existed. If this file already exists, try to delete it and see, if this solves the issue.
Besides that you're writing that you are "Using write.xlsx to extract data from an Excel file", write.xlsx() is to write an Excel file, not to read from it. Should be read.xlsx() then iirc.
?
?
Gesendet:?Freitag, 15.
2011 Jun 14
3
Read in from multiple Excel wksheets
I?ve got an Excel workbook with about 30 worksheets. Each worksheet
has 10000 rows of data over 30 columns.
I?d like to read the data from each worksheet into a dataframe or
matrix in R for processing. Normally, I use read.csv when interacting
with Excel but I?d rather manipulate a multisheet workbook directly
than set about splitting the original workbook and saving down each
part as a csv.
2013 Nov 29
4
¿Cómo superar el error de Java?
Buenos días,
Me gustaría compartir una duda con la que me acabo de encontrar y no se
como solucionar, por si podrías echarme una mano:
Trabajo con bases de datos en R que importo de excel. Cargando las
librerías de: rJava , xlsxjars y xlsx. Al principio no parecía haber ningún
inconveniente, pero después de un tiempo de trabajo me aparece el siguiente
error en la consola de datos:
*Error in
2010 Nov 23
2
scan function
Hi,
I'm using R2.8.1 in windows vista and the scan function to load in my
data. That works all fine except that I get a message after the scan
function finishes. It tells me how many items the function has read.
For example "Read 202035 items". That would not be a problem but this
is printed in the stderr stream which causes a problem in a different
software I run the r scipt in. I
2013 Nov 29
1
¿Cómo superar el error de Java?
Estimada Lorena
Creo que lo comentado por Miguel y su interpretación de memoria son
correctos, pero me permito una prueba, desde Rcmdr hay una opción para
importar datos de Excel, esa alternativa ¿también falla?. Me refiero a
intentar abrir un archivo con los datos que necesita, por las dudas en
que aparezca algún mensaje distinto, que no creo, pero son solo 10
segundos de prueba.
¿Puede
2013 Sep 12
1
problem with rJython and modules
Dear R People:
I have been experimenting with rPython, rSymPy, and rJython. Here is my
latest snag:
> library(rJython)
Loading required package: rJava
Loading required package: rjson
> library(rSymPy)
> rJython <- rJython()
> x <- "x"
> y <- "y"
> rJython$exec("from sympy import *")
Error in .jcall("RJavaTools",
2010 May 08
1
Error in RImageJ
Hello everybody,
I'm running R under Mac OS 10.6.3 on a MacBook 2.16 GHz Intel Core 2 Duo. I've recently installed R 2.11.0 and the RImageJ library v. 0.1-142. When trying to follow the example given in the package manual and I get the following error:
download.file( "http://www.google.fr/intl/en_en/images/logo.gif", dest = "google.gif" )
trying URL
2010 Feb 03
3
pickle in R
Hello all!
I was wondering if there is a way to pickle an R object into a file
like it is possible in python? Such as you have an complicated R
object(not a dataframe) , you use a function to write it to a file and
than you have a function where you can retrieve the object from that
file later on.
Thanks
Christoph
2012 Apr 14
2
some questions about sympy (that is, rSymPy)
I am experimenting with rSymPy, and it seems to work nice.
However, I dislike the need to wrap all sympy expressions within
quotes, it leads to ugly calls like
library(rSymPy)
Var("x,y,z")
sympy("(x+y)**2")
and so on.
Inspired by the function cq from mvbutiles package:
library(mvbutils)
> cq
function (...)
{
as.character(sapply(as.list(match.call(expand.dots =
2024 Mar 14
0
write.xlsx error message
Colleagues,
Using write.xlsx to extract data from an Excel file, I get this error message.
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.OutOfMemoryError: GC overhead limit exceeded
I was thinking that this might be a RAM issue but with 16 GB RAM, I wasn't expecting this error message.
Any guidance would be
2024 Mar 15
0
write.xlsx error message
? Thu, 14 Mar 2024 14:12:12 +0000
Subia Thomas OI-US-LIV5 <Thomas.Subia at draexlmaier.com> ?????:
> Using write.xlsx to extract data from an Excel file, I get this error
> message.
>
>
> Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod",
> cl, : java.lang.OutOfMemoryError: GC overhead limit exceeded
There seems to be a
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
2016 Jul 26
3
Exportar datos en formato de Excel
Hola.
En mi caso, no he podido resolver los problemas con el Java para usar
XLConnect, que en los papeles me parece el mejor. Supongo que algo de la
arquitectura del sistema o bien de la relación entre el Java, el R y el
RStudio.
Así que utilizo
library(openxlsx)
write.xlsx(datos, file = "EDA1.xlsx") #donde datos es el objeto que quiero
guardar.
Requiere instalar el RTools, según tipo y
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)
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.
2011 Aug 15
3
how can I read a xlsx file
Hello,
How can I read a xlsx file using xlsx package?
Thanks
Albert
[[alternative HTML version deleted]]
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")
>