Displaying 20 results from an estimated 4000 matches similar to: "xlsx package"
2010 Nov 14
1
Problems loading xlsx
Hi all,
I am trying to run the package xlsx to read Excel 2007 files and I am
getting the error below.
> library(xlsx)
Loading required package: xlsxjars
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for 'xlsxjars', details:
call: .jinit()
error: cannot obtain Class.getSimpleName method ID
Error: package 'xlsxjars' could not be loaded
By
2010 Feb 12
2
Help on loading "xlsx" package
Dear R users,
Im trying to load *"xlsx"* package which depends on *"xlsxjars"* and *
"rJava"* packages.
All the 3 packages (zipped files) are installed successfully in windows.
I have added "C:\Program Files\Java\jre1.6.0_03\bin\client" to the PATH
variable to get rJava working.
However, the following error message results after inputting
2012 Oct 16
1
Problems with xlsx and rjava
Hi,
I keep getting the below error regarding rJava which is required by package xlsx (I have used it in the past to directly import data from Excel 2010).
I was on R version 2.15.0 when I was getting this error this morning. So I upgraded to 2.15.1 but still the same problem. I tried unstalling and reinstalling xlsx and even rJava directly from the source as indicated here:
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 =
2016 Apr 23
1
Java memory error when reading a small xlsx file
Hi,
I tried to read a (small) xlsx file by "readWorksheetFromFile" function
of "XLConnect" package and "read.xlsx" function in "xlsx" package, but I
got this error message:
Error: OutOfMemoryError (Java): Java heap space
I tried to follow the solution on the web
2017 Apr 24
2
Crash after (wrongly) applying product operator on object from LIMMA package
Hi Hilmar,
weird. The memory problem seems be due to recursion (my R, version 3.3.3,
says: Error: evaluation nested too deeply: infinite recursion /
options(expressions=)?, just write traceback() to see how it happens), but
why does it segfault with xlsx? Nb xlsx is the culprit: neither rJava nor
xlsxjars cause the problem.
On the other hand, quick googling for r+xlsx+segfault returns tons of
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
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
5
leer ficheros excel en R en Ubuntu
Hola,
@javier, me gustaría no tener que hacer nada de forma manual, ni por fuera
de r, rstudio. Es decir, el típico comando de linux que me convierta de xls
a csv prefiero no usarlo. Me gustaría hacerlo todo desde R.
@jorge ->
Con RODBC me salta ->
Error: could not find function "odbcConnectExcel"
Lo que creo que es inevitable en Ubuntu
2017 Apr 19
2
Crash after (wrongly) applying product operator on S4 object that derives from list
Dear Hilmar
Perhaps this gives an indication of why the infinite recursion happens:
## after calling `*` on ma and a matrix:
> showMethods(classes=class(ma), includeDefs=TRUE, inherited = TRUE)
Function: * (package base)
e1="FOOCLASS", e2="matrix"
(inherited from: e1="vector", e2="structure")
(definition from function "Ops")
2017 Apr 18
3
Crash after (wrongly) applying product operator on object from LIMMA package
Hi,
this is a problem that occurs in the presence of two libraries (limma,
xlsx) and leads to a crash of R. The problematic code is the wrong
application of sweep or the product ("*") function on an LIMMA MAList
object. To my knowledge, limma does not define a "*" method for MAList
objects.
If only LIMMA is loaded but not package xlsx, the code does not crash
but rather
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)
2017 Jun 26
3
rJava Broken on Linux + R 3.4
Dear All,
I think there is something wrong with rJava on any Debian based
distribution.
I may be wrong, but I experiencing exactly the problems mentioned at
https://github.com/amattioc/SDMX/issues/130
and at
https://github.com/s-u/rJava/issues/110
A couple of packages (RJSDMX and xlsx) are now impossible to install
on my debian stretch platform running R 3.4.
It seems I am not the only one
2010 Jun 15
1
how to make JAVA available for R use?
i've just installed the package"xlsx",which is used for read,write,format
Excel 2007 files, as i loaded the package ,i was told to intall the package
rJava, the problem was that i didn't have a JAVA platform on my computer, so
i have to install JAVA JDK first, my problem is ,after i 've installed
JDK,how can i make my JAVA available for R use,the manual said(quote) NOTE:
You
2012 Sep 13
3
Cannot install package xlsx
I get following error message:
trying URL
'http://cran.stat.ucla.edu/bin/windows/contrib/2.15/xlsx_0.4.2.zip'
Content type 'application/zip' length 365611 bytes (357 Kb)
opened URL
downloaded 357 Kb
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open the connection
In addition: Warning messages:
1: In
2017 Jun 25
1
rJava Broken on Linux + R 3.4
Dear All,
I think there is something wrong with rJava on any Debian based
distribution.
I may be wrong, but I experiencing exactly the problems mentioned at
https://github.com/amattioc/SDMX/issues/130
and at
https://github.com/s-u/rJava/issues/110
A couple of packages (RJSDMX and xlsx) are now impossible to install
on my debian stretch platform running R 3.4.
It seems I am not the only one
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
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
2017 Jun 26
2
rJava Broken on Linux + R 3.4
Hi Dirk,
It was unclear to me to which extent it is a
kernel/security patch vs (r)Java issue.
In any case, this is really problematic for me as it prevents me de
facto from running some key R packages for my daily work.
I'll post again if I see some solution (other than downgrading the
kernel) somewhere.
Meanwhile, any suggestions for a fix is welcome.
Cheers
Lorenzo
On Mon, Jun 26, 2017
2014 Aug 14
3
leer ficheros excel en R en Ubuntu
Hola,
Pensé que esto iba a ser trivial en R, pero me estoy encontrado muchos con
mi problema en internet, y que las soluciones ofrecidas no terminan de
funcionar.
Estoy intentando leer un fichero .xls en ubuntu con los siguientes paquetes
y nada:
require(RODBC)
conn = odbcConnectExcel("madrid.xls") # open a connection to the Excel file
sqlTables(conn)$TABLE_NAME # show all sheets
df =