similar to: rJava question

Displaying 20 results from an estimated 500 matches similar to: "rJava question"

2006 Apr 28
5
Maildir + NFS + multiple machines = spectacular failure
I'm running beta7 on two machines, with maildir on NFS. I have lockd running on all machines. I've found that Dovecot is highly unstable with NFS when accessing a mailbox on more than one machine at the same time. Both dovecot machines have: mmap_disable = yes lock_method = fcntl NFS is version 3, exported from a third linux machine. All machines are running 2.6.9 kernel. Any ideas
2004 May 02
6
Simple SIP X-Lite Configuration Failing
I keep getting the following Auto-congesting message whenever I try to dial from an X-Lite SIP phone to another one within my LAN. It's a real basic configuration but I am unable to figure out what is happening: localhost*CLI> -- Executing Dial("SIP/jay-de1b", "SIP/jtest|20|tr") in new stack -- Called jtest May 2 11:47:58 NOTICE[1133742896]: chan_sip.c:1019
2012 Mar 22
3
calling java from R and using java time series double precision array
I haven't had time to try using R for over a year, but have a colleage who wants to. We work with time series and our current version of our calendar-time subroutines in java converts both directions between linear time and calendar. We have used calendar time since year 1965 starting out then with Fortran. Calendar time can be CnYrMoDa | CnYrMoDaHr | CnYrMoDaHrMn | CnYrMoDaHrMnSc |
2012 Jul 19
1
Change log(J) to log(J+1) to stop log(0) from occurring in harModel
I think the code is part of the RTAQ package but is not included in it, as I obtained it from https://r-forge.r-project.org/scm/viewvc.php/pkg/RTAQ/R/HAR_model.R?view=markup&root=blotter&sortby=author&pathrev=1028. It is not my code and I make no claim to other's good work, and apologize if I should even be posting it I am not sure, but in the transform function it allows to
2011 Apr 30
3
Copying to R a rectangular array from a Java class
Bare test code: My simple Java test class source and R test code follow: public class RJavTest { public static void main(String[]args) { RJavTest rJavTest=new RJavTest(); } public final static String conStg="testString"; public final static double con0dbl=10000001; public final static double[]con1Arr=new double[] { 10001,10002,10003,10004,10005,10006 }; public final static
2010 Mar 10
1
R CMD check issue with soft-linked directory
I've been having some strange problems with R CMD check in the last couple of days, but now believe I have localized the issue. I had been running Ubuntu Hardy on one drive and then upgraded to Jaunty, but put Jaunty on a different drive. I continue to be able to boot Hardy when I wish. I soft-linked my R working area i.e., /home/john/Rstuff ----> /media/lnx804/home/john/Rstuff
2008 Feb 19
1
rJava and matrices
Hi list, I'm wanting to use a matrix as input to some java code, but I seem to be unable to do this (See code below). When searching online for a solution I found that rJava 0.5-2 (the version under development not yet in CRAN) is adding "direct support for raw vectors as method parameters". Is this related? I also tried to use .jarray / .jcast in various combinations to no avail.
2012 Jul 19
1
Switching log(J) to log(J+1) to avoid log(0) in HAR-RVJ model
I am working with xts dependent data, and my code is as follows (the problem is explained throughout): dat <- getdat("prices") dat <- read.zoo(dat, sep = "",format="%d/%m/%Y %H:%M", tz="", FUN=NULL, regular=TRUE, header=TRUE, index.column=1, colClasses=c("character", "numeric")) dat <- as.xts(dat)
2013 Jan 16
1
How to call Java main method using rJava package?
Hi, I am trying to integrate my Java program with R using rJava package. I want to execute the whole Java program from R. The main() method in my Java code calls all the other defined methods. So, I guess I have to call the main() method in .jcall. An example Java code: *class A { public static int mySum(int x, int y) { return x+y; } public static void
2006 May 02
1
Bug in yesterday's CVS..
Hi Timo. I'm doing some testing with yesterday's CVS code and believe I've found a bug. In SquirrelMail, I get 5 messages in INBOX (doesn't matter how). I click "Toggle All" then "Delete". All 5 messages move to Trash. The Trash folder gets a link "expunge". I click that and get the following error: ERROR : Bad or malformed request. Query:STORE
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
2015 Dec 15
2
How to efficiently share data (a dataframe) between R and Java
Dear all, thank you for your hints. I would prefer to do not use Rserve as Dirk mentioned. @Simon I have full control over the Java implementation - I can adapt the code that I use for the communication R <-> Java. > You can natively access structures on each side. The fastest way is to > use R representation (column-oriented) in Java - that is much faster > than any kind of
2012 Oct 15
2
Chopping a two column data frame by rows into a three dimensional array.
If I have a two column data frame like: > dat <- cbind("x"=c(1:100),"y"=c(100:1)) How can I create an array that splits every ten rows of that data frame into a third dimension of an array so that: > newarray[,,1] ,,1 x y 1 100 2 99 3 98 ... ... 10 91 ,,2 x y 11 90 12 89 ... ... ... Thanks. [[alternative HTML version deleted]]
2014 Dec 01
2
[LLVMdev] Optimization hints for "constant" loads
On 12/01/2014 11:14 AM, Andrew Trick wrote: > >> On Oct 21, 2014, at 4:03 PM, Philip Reames <listmail at philipreames.com >> <mailto:listmail at philipreames.com>> wrote: >> >> Sanjoy made a good point. We don't actually need a new variant of >> "invariant.start". Simply using an invariant.start with no uses >> gives us a notion
2006 Apr 06
1
lib02_imap_quota_plugin.so: undefined symbol: quota
Hi folks. We're trying to set up Dovecot with Maildir++ quotas. Operating system is CentOS 4.3 (final) X86 using Dovecot 1.0b5. After logging in, I get the following logged through syslog and the connection closes: Apr 6 10:39:36 dev3 dovecot: imap(jtest): Loading modules from directory: /usr/local/lib/dovecot/imap Apr 6 10:39:36 dev3 dovecot: imap(jtest):
2014 Dec 01
2
[LLVMdev] Optimization hints for "constant" loads
On 12/01/2014 02:42 PM, Andrew Trick wrote: > >> On Dec 1, 2014, at 2:21 PM, Philip Reames <listmail at philipreames.com >> <mailto:listmail at philipreames.com>> wrote: >> >> >> On 12/01/2014 11:14 AM, Andrew Trick wrote: >>> >>>> On Oct 21, 2014, at 4:03 PM, Philip Reames >>>> <listmail at philipreames.com
2010 Feb 23
2
Importing a file to r
Hello I am trying to import the attached file Curva LIBOR to R. I am trying to use the following commands and obtaining the following errors > res <- read.xlsx("C:\\Users\\FELIPE PARRA\\Documents\\Quantil\\Federacion\\Curva LIBOR.xlsx", 4) Error en .jcall(rowCells[[ic]], "I", "getColumnIndex") : RcallMethod: invalid object parameter > res <-
2012 Oct 04
1
Intermittent connectivity issues for JDBC / Oracle
I have been experiencing issues with an R script hanging when connecting to an Oracle database. To help debug, I found a function here in the nabble forum and made a small test script: #!/usr/bin/Rscript --no-restore --no-save --no-init-file library("RJDBC") drv<-JDBC("oracle.jdbc.OracleDriver","/home/oracle/lib/ojdbc6.jar", "'") dbCheck =
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 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;",