search for: invokemethod

Displaying 16 results from an estimated 16 matches for "invokemethod".

2013 Sep 26
2
Read shortcuts of MS Excel files through R
...( 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;", "invokeMethod", cl, : java.lang.IllegalArgumentException: Your InputStream was neither an OLE2 stream, nor an OOXML stream > read.xlsx2(exf,1) Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.IllegalArgumentException: Your InputStream...
2013 Jul 22
1
problem loading large xlsx file into r
...options( java.parameters = "-Xmx4g" ) > library(xlsx) Loading required package: xlsxjars Loading required package: rJava > cftc = read.xlsx("d:\\Krishna\\Research\\CFTC_COT\\cftcdata.xlsx", 1) Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.OutOfMemoryError: Java heap space > sessionInfo() R version 3.0.1 (2013-05-16) Platform: x86_64-w64-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C [5]...
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: > sessionInfo() R version 2.12.1 (2010-12-16) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United Sta...
2011 Mar 28
2
xlsx problem
...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 a numeric value from a text cell There are 6 sheets in that file. 5 of them are read into a dataframe without problem. For the 6th one(the one I actually need) I get this error message. There is obviously something in the format of the sh...
2011 Jun 14
3
Read in from multiple Excel wksheets
...;test_file.xlsx",sheetName="johnny",rowIndex=1:2,header=FALSE) info However, when I try to apply this to my real, large workbook, things go wrong, with the following error message. Any ideas/workarounds? Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.OutOfMemoryError: Java heap space
2006 Nov 01
1
strange issue with backgroundrb behind apache/lighttpd
..._h andler.rb:53:in `process!'' (druby://localhost:42531) /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_h andler.rb:23:in `process!'' (druby://localhost:42531) /home/chall/radrails/workspace/chip2/public/dispat ch.fcgi:24 (druby://localhost:22222) /usr/lib/ruby/1.8/drb/invokemethod.rb:10:in `block _yield'' (druby://localhost:22222) /usr/lib/ruby/1.8/drb/invokemethod.rb:17:in `perfo rm_with_block'' (druby://localhost:22222) /usr/lib/ruby/1.8/drb/invokemethod.rb:14:in `each'' /app/controllers/search_controller.rb:123:in `__bind_1162385227_815...
2013 Nov 29
4
¿Cómo superar el error de Java?
...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 .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.OutOfMemoryError: Java heap space* De manera que no puedo abrir/importar el archivo en excel y seguir trabajando. Entiendo que se trata de un problema en la memoria de Java, pero no se como solucionarlo. ¿Alguien ha tenido el mismo problema y ha conseguido solventarlo? Muc...
2010 May 08
1
Error in RImageJ
...r/intl/en_en/images/logo.gif' Content type 'image/gif' length 8558 bytes opened URL ================================================== downloaded 8558 bytes > image = IJ$openImage( "google.gif" ) Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.InternalError: Can't start the AWT because Java was started on the first thread. Make sure StartOnFirstThread is not specified in your application's Info.plist or on the command line starting httpd help server ... done > Can someone help me figuring out what...
2013 Sep 12
1
problem with rJython and modules
...n) 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", "Ljava/lang/Object;", "invokeMethod", cl, : Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named sympy > This is on Windows 32 bit, with Version 3.0.1 of R and python 2.7.5. Also, sypmy is available with regular python. Any help would be much app...
2012 Apr 14
2
some questions about sympy (that is, rSymPy)
..."4 + 4") [1] "8" > sympyq(3*x+4*y+89*z-6*x) sympy("3 * x + 4 * y + 89 * z - 6 * x") [1] "-3*x + 4*y + 89*z" > But then: > sympyq( (x+y)**2 ) sympy("(x + y)^2") Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : Traceback (most recent call last): File "<string>", line 1, in <module> TypeError: unsupported operand type(s) for ^: 'Add' and 'int' Note that R has changed the syntax **2 to ^2, which sympy does not seem to like! Any ideas for avoiding th...
2024 Mar 15
1
write.xlsx error message
...ror 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 default limit of 512 megabytes for the Java heap size: library(rJava) getOption('java.parameters') # [1] "-Xmx512m" Does if help if you set options(java.parameters = '-Xmx2048m'...
2013 Nov 29
1
¿Cómo superar el error de Java?
...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 .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, > : java.lang.OutOfMemoryError: Java heap space* > > De manera que no puedo abrir/importar el archivo en excel y seguir trabajando. Entiendo que se trata de un problema en la memoria de Java, pero no se como solucionarlo. > > ¿Alguien ha tenido el mismo problema y ha conse...
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 appreciated. Mit freundlichen Gruessen / Cordialement / Best regards Thomas Subia Lean Six Si...
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 default limit of 512 megabytes for the Java heap size: library(rJava) getOption('java.parameters') # [1] "-Xmx512m" Does if help if you set options(java.parameters = '-Xmx2048m'...
2013 Nov 29
0
¿Cómo superar el error de Java?
...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 .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.OutOfMemoryError: Java heap space* De manera que no puedo abrir/importar el archivo en excel y seguir trabajando. Entiendo que se trata de un problema en la memoria de Java, pero no se como solucionarlo. ¿Alguien ha tenido el mismo problema y ha conseguido solventarlo? Muc...
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