search for: asstring

Displaying 20 results from an estimated 31 matches for "asstring".

Did you mean: astring
2005 Aug 22
1
Fetching Warning Messages
...paste(lastWarning,as.character(w))})"); //This will generate warning message[sqrt(-9)], another warning message [ matrix(1:9,ncol=4) ] and successful completion [ sqrt(4) ] System.out.println(c.eval("z").asDouble()); System.out.println(c.eval("lastWarning").asString()); c.close(); System.out.println("DONE"); } catch(RSrvException e) { System.out.println("Error : " + e.getMessage()); e.printStackTrace(); } } } ---------------------------End Of RWarning.java-----------------------...
2015 Jul 02
2
EFI: PXE: "My IP is 0.0.0.0"
OK there are problems. From https://sourceforge.net/p/edk2/mailman/message/31604654/ ""In current EDKII implementation, all the network servicebinding protocols for a NIC device are installed together on the NIC's device handle, so you can get all of them when you have chosen a special NIC handle."" Unfortunately there are PCs with UEFI implementations not following the
2015 Jul 03
0
EFI: PXE: "My IP is 0.0.0.0"
On Thu, Jul 2, 2015 at 9:58 AM, Patrick Masotta <masottaus at yahoo.com> wrote: > OK there are problems. > > From > https://sourceforge.net/p/edk2/mailman/message/31604654/ > ""In current EDKII implementation, all the network servicebinding protocols for a > NIC device are installed together on the NIC's device handle, so you can get all > of them when you
2015 Jun 27
2
EFI: PXE: "My IP is 0.0.0.0"
On Fri, Jun 26, 2015 at 10:49 AM, Patrick Masotta <masottaus at yahoo.com> wrote: >>>> > Commit 23b2707 should resolve this. Please > let me know if you need > test binaries > > -- > -Gene > <<< > > > 1) About the Service Binding protocols, PXE protocol, etc having the same handle# is clear if we > see that the number is in fact
2005 Aug 12
1
Handling warning messages
...nings()" command in R, which lists the last warning message, but I am not able to get the warning message in java program by executing the following line: REXP rx = null; rx = connection.eval("x<-sqrt(-9)"); // will generate warning message connection.eval("warnings()").asString(); // this displays null instead of warning message Please reply me correct way, if any, to display warning message. Regards, Nikhil Shah
2017 Oct 25
2
How to create a table structure in Java code?
...arseAndEval below to give me actual error R is sending... REXP rResponseObject = rConnection.parseAndEval("try(eval("+tableRead+"),silent=TRUE)"); if (rResponseObject.inherits("try-error")) { System.out.println("R Serve Eval Exception : "+rResponseObject.asString()); } REXP boxMResult = rConnection.eval("boxM("+ tableRead+ "[,-5]," + tableRead + "[, 5])"); // FAILS << ---- Error in the above case is: Disconnected from the target VM, address: '127.0.0.1:51356', transport: 'socket' org.rosuda.REngine.REn...
2010 Oct 17
1
rgdal package (Matteo Toro)
...ling *source* package ?rgdal? ... >configure: creating ./config.status >config.status: creating src/Makevars >** libs >g++ -I/usr/share/R/include -I/usr/include/gdal -g -DRGDALDEBUG -fpic -g - >O2 -c gdal-bindings.cpp -o gdal-bindings.o >gdal-bindings.cpp: In function ?char* asString(SEXPREC*, int)?: >gdal-bindings.cpp:28: error: invalid conversion from ?const char*? to ?char*? >make: *** [gdal-bindings.o] Error 1 >ERROR: compilation failed for package ?rgdal? >* Removing ?/home/toro/R/i486-pc-linux-gnu-library/2.9/rgdal? > >and this happens also for other ver...
2007 May 08
3
MYSQL Query --> PAGE
I have all my SIP users in a realtime database. I would like to use MySQL command to query the database and use the results from the query to page all the phones found in the query. The results from the MySQL query will be multiple rows of extension: Something like: mysql> Select extension from sip where extension like '6%' 6001 6002 6003 ex.... I need to put all the results into a
2017 Oct 27
4
Cannot Compute Box's M (Three Days Trying...)
...ist) tableRead).get(0)).asDoubles(); double[] d2 = ((REXPVector) ((RList) tableRead).get(1)).asDoubles(); double[] d3 = ((REXPVector) ((RList) tableRead).get(2)).asDoubles(); double[] d4 = ((REXPVector) ((RList) tableRead).get(3)).asDoubles(); String[] d5 = ((REXPVector) ((RList) tableRead).get(4)).asStrings(); // create data frame with data.REXP myDf = REXP.createDataFrame(new RList( new REXP[] { new REXPDouble(d1), new REXPDouble(d2), new REXPDouble(d3), new REXPDouble(d4), new REXPString(d5) })); // assign the data to a variable as was suggested.rConnection.assign("boxMVariable", myDf);...
2017 Oct 26
3
How to create a table structure in Java code?
...tual error R is sending... >> REXP rResponseObject = rConnection.parseAndEval("try(eval("+tableRead+"),silent=TRUE)"); >> if (rResponseObject.inherits("try-error")) >> { >> System.out.println("R Serve Eval Exception : "+rResponseObject.asString()); >> } >> REXP boxMResult = rConnection.eval("boxM("+ tableRead+ "[,-5]," + tableRead + "[, 5])"); // FAILS << >> --------------------------------------------------------------- >> >> Error in the above case is: >> Disconnect...
2020 Nov 17
1
[DebugInfo] Enabling constructor homing by default
...n the translation unit. For example in [0] where I've uploaded a couple of dexter tests for constructor homing, in partial-type/main.cpp we get: DW_TAG_class_type DW_AT_name ("foo") DW_AT_declaration (true) DW_TAG_subprogram DW_AT_linkage_name ("_ZNK3foo8asStringB5cxx11Ev") DW_AT_name ("asString") DW_AT_decl_file ("./theclass.h") DW_AT_decl_line (12) DW_AT_type (0x000014e6 "string") DW_AT_declaration (true) DW_AT_external (true) DW_AT_accessibility (DW_ACCESS_publi...
2017 Oct 26
0
How to create a table structure in Java code?
...give me actual error R is sending... > REXP rResponseObject = rConnection.parseAndEval("try(eval("+tableRead+"),silent=TRUE)"); > if (rResponseObject.inherits("try-error")) > { > System.out.println("R Serve Eval Exception : "+rResponseObject.asString()); > } > REXP boxMResult = rConnection.eval("boxM("+ tableRead+ "[,-5]," + tableRead + "[, 5])"); // FAILS << > > ---- > > Error in the above case is: > > Disconnected from the target VM, address: '127.0.0.1:51356', transport:...
2007 Jan 08
0
Using JRI Calling R function from Java
...running JRI from Java and it works. Using : java -cp jri.jar; MainApp.java The problem is How do I calling R function that need R library I have tried these with my Java program : x = re.eval("glm( y ~ x1 + x2, family = poisson)"); String resultString = x.asString(); but it did'n't work, resultString variable did't give any result it's null questions : Is there any other way to call this R function from Java using JRI? and I have heard omegahat package can be use to calling R function are there any links, examples , tutorials for using om...
2011 Mar 09
0
java+R+serverEval failed+request status: control pipe to master process is closed/broken
...// generate a random number to prevent contamination from previous tests c.serverEval("xXx<-'" + key + "'"); c.close(); c = new RConnection(); REXP x = c.eval("xXx"); if (x == null || !x.isString() || x.length() != 1 || !x.asString().equals(key)) throw new TestException("control eval test failed - assignment was not persistent"); c.serverEval("rm(xXx)"); // remove the test variable to not pollute the global workspace System.out.println(" server shutdown"); c....
2014 Jul 21
0
Displaying database records returned from postgresql to R through Java
...=TRUE)"); res = c.parseAndEval("try(fnct1(), silent=TRUE)"); System.out.println("table names are:"+ res); When I am printing res above it is displaying `table names are:org.rosuda.REngine.REXPGenericVector@681a9515+[1]named` as output. When I do something like `.asString()` or inside the `System.out.println()` above then it throws error. How can I print or access each record returned by R to Java? *NOTE:* When I am running the same script file from R itself then R is displaying some 10 records but when I am trying through Java then nothing is getting displayed R...
2006 Jul 19
1
ASCII dump from an REXP (JRI)
Hi Simon, Thanks so much for your help. Your advice has been taken to heart. I now pass in blocks of 100,000 records, and it does 100,000 predictions in seconds and returns a logical vector with the predictions to an int array. It works like a charm! I want to reference what we were talking about earlier. Let?s say we evaluate an R expression. Is there a way to just print, verbatim, what R
2017 Oct 28
2
Cannot Compute Box's M (Three Days Trying...)
...>> double[] d2 = ((REXPVector) ((RList) tableRead).get(1)).asDoubles(); >> double[] d3 = ((REXPVector) ((RList) tableRead).get(2)).asDoubles(); >> double[] d4 = ((REXPVector) ((RList) tableRead).get(3)).asDoubles(); >> String[] d5 = ((REXPVector) ((RList) tableRead).get(4)).asStrings(); >> // create data frame with data.REXP myDf = REXP.createDataFrame(new RList( >> new REXP[] >> { >> new REXPDouble(d1), >> new REXPDouble(d2), >> new REXPDouble(d3), >> new REXPDouble(d4), >> new REXPString(d5) >> })); >> // assign the...
2005 Dec 01
1
Transfer String Array from R to java
I have a data frame which has the following data. data<-read.table("table.txt",header=TRUE) data X14A_U133A_StatPairs X14A_U133A_Detection X14B_U133A_Signal 1 AFFX-BioB-5_at 403.0 409.3 2 AFFX-BioB-M_at 757.3 574.4 3 AFFX-BioB-3_at 284.4 327.3 4 AFFX-BioC-5_at
2017 Oct 26
0
How to create a table structure in Java code?
...sending... >>> REXP rResponseObject = rConnection.parseAndEval("try(eval("+tableRead+"),silent=TRUE)"); >>> if (rResponseObject.inherits("try-error")) >>> { >>> System.out.println("R Serve Eval Exception : "+rResponseObject.asString()); >>> } >>> REXP boxMResult = rConnection.eval("boxM("+ tableRead+ "[,-5]," + tableRead + "[, 5])"); // FAILS << >>> --------------------------------------------------------------- >>> >>> Error in the above case is...
2017 Oct 27
0
Cannot Compute Box's M (Three Days Trying...)
...0)).asDoubles(); > double[] d2 = ((REXPVector) ((RList) tableRead).get(1)).asDoubles(); > double[] d3 = ((REXPVector) ((RList) tableRead).get(2)).asDoubles(); > double[] d4 = ((REXPVector) ((RList) tableRead).get(3)).asDoubles(); > String[] d5 = ((REXPVector) ((RList) tableRead).get(4)).asStrings(); > > // create data frame with data.REXP myDf = REXP.createDataFrame(new RList( > new REXP[] > { > new REXPDouble(d1), > new REXPDouble(d2), > new REXPDouble(d3), > new REXPDouble(d4), > new REXPString(d5) > })); > > // assign the data to a variable as was s...