similar to: Problem of running R console from Java on linux box

Displaying 20 results from an estimated 700 matches similar to: "Problem of running R console from Java on linux box"

2005 Jul 05
2
Java and R help
Im doing an aplication in Java and i have a program made in R what i want to launch with Java. I have the following instructions: Runtime r = Runtime.getRuntime(); try { System.out.println ("Llamada a R..."); p = r.exec(sRutaR); } catch (IOException e) { System.out.println ("Error lanzando R: " +
2014 May 15
3
Invoking virsh console from Java
Hello, I have a Java application from which I am invoking the "virsh console" command to access the console of a VM. I invoke the virsh command using ProcessBuilder.start(). However, I am unable to communicate with the stdin of the VMs console through the OutputStream of the Process object. When I invoke "virsh console" from within Java, I see the following messages on
2011 Jan 24
2
how to get loglik parameter from splm package?
splm package is a r implemention of spatial panel data models. and the loglik paremeter is most important infomation for splm methods. but i found the loglik always been null ,it's craze to get right estimation in splm with null loglik. Any one knows the splm package and can get the right loglik ? please help me. thanks -- View this message in context:
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) {
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).
2014 May 15
0
Re: Invoking virsh console from Java
On 05/15/2014 11:34 AM, Nagaraj Mandya wrote: > Hello, > I have a Java application from which I am invoking the "virsh console" > command to access the console of a VM. I invoke the virsh command using > ProcessBuilder.start(). However, I am unable to communicate with the stdin > of the VMs console through the OutputStream of the Process object. > > When I
2009 Oct 28
1
how can i call R program from one java program?
Dear All I want to call the R program from one Java program because In my project R program parameters are set by one web page developed by java. Is this possible to call R program from java? many thanks in advance -- Wesley C Mathew [[alternative HTML version deleted]]
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
2008 Mar 10
2
write.table with row.names=FALSE unnecessarily slow?
write.table with large data frames takes quite a long time > system.time({ + write.table(df, '/tmp/dftest.txt', row.names=FALSE) + }, gcFirst=TRUE) user system elapsed 97.302 1.532 98.837 A reason is because dimnames is always called, causing 'anonymous' row names to be created as character vectors. Avoiding this in src/library/utils, along the lines of Index:
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
2004 Aug 20
6
Asterisk PBX Functions via SIP phone
Hi All, I am using a Grandstream BT100 and I have been trying to get the PBX features to work for DND, call foward, etc. These functions do work when I use my POTS phones hooked up to my Zap cards. But I cannot get the PBX functions (ie *78, *79) to work using my SIP phones. Is there a feature that has to be enabled to do this? I know these functions are available within the GS phone but all of
2005 Mar 08
3
question about vpn
on i have a small question we have a linux box with a windows 2003 server well we natted all the ports and mail is working remote desktop is working web is working the only thing that does not work is vpn how can i foward vpn traffic to this server i checked the site and searched for foward vpn and got nothen can somone please enlight me where to start Marshal McInnis Tech / Web
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
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
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
2009 Mar 21
1
unlink fails to remove symbolic links
unlink fails to remove symbolic links. This is more prominent now -- when a package creates symbolic links during installation, 00LOCK is not removed. Martin > setwd(tempdir()) > fl <- tempfile(); file.create(fl) [1] TRUE > lnFile <- tempfile(); system(paste("ln -s", fl, lnFile)) > list.files() [1] "file19495cff" "file74b0dc51" > unlink(fl);
2004 Aug 19
7
Can PSTN CallerID be fowarded to a SIP phone extension?
Hi All, I have a server setup with an incomming PSTN line and a bunch of Grandstream BT100 phones. Is there a way for asterisk to foward an incomming callerID from the PSTN to the SIP phone that is setup as an extension? We have a Voice menu setup for incomming calls and I would like to recieve the caller ID of the calls we are recieving after the incomming caller reaches their final
2009 Dec 20
3
How to rotate an axis?
Hi everybody, I'm trying to build a trilineare coordinate system with R. For that, I need to rotate an axis. Does anybody know, if it is possible to rotate an axis, created with the command axis(), about for instance 60 degrees? I'm looking foward to any ideas and hints and want to wish everybody a merry merry christmas. Thanks in advance. Etienne Stockhausen
2008 Apr 03
1
X11 image problem in R-2.8.0 Under development / R-2.7
I apologize if this is too obscure to reproduce, or some idiosyncratic aspects of my system. If I create a plot, e.g., > plot(1:10) I get a graphics device as expected. I then click on the 'zoom' box on my X11 window, so the window expands to occupy the entire screen. The plot is redrawn at the scale of the large window, but is clipped to the 'unzoomed' size. I only