Displaying 20 results from an estimated 500 matches similar to: "Java and R help"
2009 Mar 25
1
Pipe creation problem: From Java app using rsync + ssh on windows with cygwin
Hello,
I'm having trouble calling rsync from java on windows vista with cygwin
installed.
Its strange as pasting the exact same command into a command shell works
fine.
My test java call looks like this.
*
String[] envVars = {"PATH=c:/cygwin/bin;%PATH%"};
File workingDir = new File("c:/cygwin/bin/");
Process p = Runtime.getRuntime().exec("c:/cygwin/bin/rsync.exe
2006 Sep 05
1
Reserve and biobase
Hi
I am using Rserve for R2.3.1.
every time after I load Biobase library, a new Graphics window frame pops up. Could any onw know how can avoid it.
Best
Saeede
class testReserve {
public static void main(String[] args) {
RServeConnection rsCon = null;
Rconnection c = null;
Process proc = null;
try {
Runtime rt = Runtime.getRuntime();
proc
2011 Apr 16
3
calling dovecot exported auth from Java
As far as I have been able to figure out, dovecot auth always works over
a Unix domain socket. I believe it is not currently possible to operate
dovecot auth over an Internet domain (TCP) socket. Am I correct?
I want to call dovecot's exported authentication from a Java
application. Java doesn't natively know how to talk to a Unix domain
socket, so there are inconveniences. There
2008 Oct 31
2
Problem of running R console from Java on linux box
Hi the list:
I can not create R process from Java application with my linux box,
the process never was created, or just terminated immediately after I
called Runtime.getRuntime().exec(...)
The command lines I have tried are(the paths are all correct):
"/bin/sh /usr/bin/R"
"/bin/sh -c /usr/bin/R"
"/usr/lib/R/bin/exec/R"(also set R_HOME=/usr/lib/R)
I
2013 Nov 11
2
problem using rJava with parallel::mclapply
Dear all,
I got an issue trying to parse excel files in parallel using XLConnect, the
process hangs forever.
Martin Studer, the maintainer of XLConnect kindly investigated the issue,
identified rJava as a possible cause of the problem:
This does not work (hangs):
library(parallel)
require(rJava)
.jinit()
res <- mclapply(1:2, function(i) {
2009 Dec 09
2
[LLVMdev] How to run vmjc created .bc files?
Hi,
I've managed to compile it the class down to a native executable.
However, the executable runs for a while then spits out:
terminate called without an active exception
Aborted
and dies.
The program never gets to the normal output.
Here is a stack trace from gdb:
#0 0xf3f6baa6 in raise () from /lib/libc.so.6
#1 0xf3f6d3a8 in abort () from /lib/libc.so.6
#2 0xf41918f8 in
2004 Apr 21
2
calling R from java
Hello,
I need to call R from a java(swing) application. I manage to do it with
something like :
Process p = Runtime.getRuntime().exec("R --slave")
OutputStreanWriter o = new OutputStreamWriter(p.getOutputStream())
o.wrote("...")
... etc
but at the end no .Rdata file has been created and there are some data I
don't want to reload each time (for time execution reasons).
2009 May 01
5
fts-solr plugin issue (Marked invalid)
Hi.
We user ftp-solr plugin and have problem with solr-1.3+
with HTMLStripWhitespaceTokenizerFactory (Solr schema in attachments).
In some maildir's present messages with wrong "Content-Type: " fields in attachments.
For example:
"
Content-Type: TEXT/mspowerpoint; name="Zapatec_6zap_netvibes_1.ppt"
"
Indexing for this messages is stop with "fts_solr:
2006 Jul 18
1
SpeexEncoder requires 320 samples to process a Frame, not 160
Hi guys
I have tried compiling this attached code, I made all the buffers 320, there is no trace of a 160 buffer, but I get a "
SpeexEncoder requires 320 samples to process a Frame, not 160" error.
Maybe there's something I'm missing, here's my code:
import java.io.IOException;
import java.io.FileOutputStream;
import java.io.File;
import
2012 Nov 08
1
Ayuda lógica Difusa
Cordial saludo
Estoy intentando trabajar lógica difusa en R, para ello se que existen 7 paquetes relacionados con el tema, el que mas se acomoda a lo que busco según lo que intentado trabajar es el paquete "frbs", pero no existen ejemplos de uso y cuando intento usar la función fuzzifier da errores en los sub-indices ("Error: sub-índice fuera de los límites"), ademas los
2013 Jun 14
2
Argumento "Puntos suspensivos"
Hola a tod en s:
Tengo una función del tipo
f <- function(...) {
args <- list(...)
# validaciones
}
En la cual debo realizar una validación diferente para cada argumento que se pase, y no consigo identificar los nombres de los argumentos con names(args).
¿Alguna idea o sugerencia acerca de cómo realizar este tipo de validaciones?.
Gracias.
Salud!
Eva
2009 Dec 08
0
[LLVMdev] How to run vmjc created .bc files?
Hi Michael,
On Tue, Dec 8, 2009 at 6:26 PM, Michael Wu <mmwu at princeton.edu> wrote:
> Hi,
>
> Thanks a lot for the help! I am getting some errors though:
>
> I am on a 32 bit chroot on a x86_64 system. Thus llc guesses the wrong
> architecture from the module bitcode and spits out x86_64 assembly. I fixed
> this by adding "-march=x86" to the llc options
2003 Nov 12
1
Talk with from Java
Hi everybody
anybody knows how to talk with R like shown in the Java-Code above?
Perhaps someone can help, or tell me its not possible.
/*
* Java_R.java
*
* Created on November 11, 2003, 5:36 PM
*/
import java.io.*;
/**
*
* @author markus
*/
public class Java_R {
/** Creates a new instance of Java_R */
public Java_R() {
}
/**
* @param args the command line
2011 Jan 10
3
How to check a number online or offline
Hi all,
Now i want to check a number (channel) online, offline or unreachable on
asterisk but i don`t know to do. Can anyone help me to solve this issue.
Thanks and best regard!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110109/c193b48d/attachment.html>
2009 Dec 08
2
[LLVMdev] How to run vmjc created .bc files?
Hi,
Thanks a lot for the help! I am getting some errors though:
I am on a 32 bit chroot on a x86_64 system. Thus llc guesses the wrong
architecture from the module bitcode and spits out x86_64 assembly. I
fixed this by adding "-march=x86" to the llc options in llcj.
gcc doesn't know what -lgc is. I'm guessing it is the garbage collection
library. How can I get it or
1999 Oct 06
1
Java interface to R
I have been doing some programming with java servlets for data
collection.
I was wondering if there is a way to connect to the R-server using java
to do data analysis. A java-interface or some connection class.
I think there is some similar facility with SAS, although I have not
looked at it.
Richard Piper
RNS Hospital,
Sydney.
2006 Jan 13
1
Cepstral in AGI problem
I'm expirimenting with Cepstral via swift.agi. It loads w/ no problem, but there is a fairly long separation between words -- almost as if it is processing one word at a time, rather than stringing a phrase together. When I run cepstral with a similar script, but not through an actual call from asterisk the separation between words is short and natural.
I'd really appreciate
2005 Aug 16
4
Image from bytes streams
Hello!
I'm trying to get an array of bytes from graphic images generated by
R. Here, you can see my Java code:
--------------------------------------------------------------------------------------------------------------------------
Process p = Runtime.getRuntime().exec("C:/Arquivos de
programas/R/rw1090/bin/Rterm.exe --no-save");
DataOutputStream output = new
2015 Apr 01
2
Diferencias entree la ejecucion por consola y por linea de comandos
Buenas tardes,
Estoy teniendo problemas al ejecutar un script de R por linea de
comandos. Se trata de un problema de programación lineal con las
librerias lpSolve y lpSolveAPI en el que leo los datos desde un CSV.
El problema con dos decimales funciona sin problemas pero si
aumentamos a 4 decimales en algunos datos de entrada nos da solución
si ejecutamos desde la consola pero no da solución
2004 Nov 19
0
[AustinJUG] Problem calling rsync from java on OSX
yeah, i tried that already.
specifcially, mine was:
/*
String cmd[] = new String[5];
cmd[0] = "/usr/local/bin/rsync";
cmd[1] = "--daemon";
cmd[2] = "--config=/Users/dlippolt/.azerup/rsyncd.conf";
cmd[3] = "--address=127.0.0.1";
cmd[4] = "--port=2873";
*/
as an aside, i dont have my head fully wrapped around the real