search for: morkus

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

Did you mean: markus
2017 Oct 30
3
Pass Parameters to RScript?
...ly. Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email. > -------- Original Message -------- > Subject: Re: [R] Pass Parameters to RScript? > Local Time: October 30, 2017 9:39 AM > UTC Time: October 30, 2017 1:39 PM > From: ericjberger at gmail.com > To: Morkus <morkus at protonmail.com> > r-help at r-project.org <r-help at r-project.org> > > I did a simple search and got hits immediately, e.g. > https://www.r-bloggers.com/passing-arguments-to-an-r-script-from-command-lines/ > > On Mon, Oct 30, 2017 at 2:30 PM, Morkus via R-...
2017 Oct 30
0
Pass Parameters to RScript?
...system calls which would be equivalent to running from the command line, but done from within a Java program. Not sure whether that would meet your needs and if not why not. Just a suggestion. Check out http://www.java-samples.com/showtutorial.php?tutorialid=8 On Mon, Oct 30, 2017 at 5:10 PM, Morkus <morkus at protonmail.com> wrote: > Thanks Eric, > > I saw that page, too, but it states: > > "This post describes how to pass external arguments to *R* when calling a > Rscript *with a command line.*" > > Not what I'm trying to do. > > Thanks for...
2017 Oct 29
2
Cannot Compute Box's M (Three Days Trying...)
...](https://protonmail.com), Swiss-based encrypted email. > -------- Original Message -------- > Subject: Re: [Rd] Cannot Compute Box's M (Three Days Trying...) > Local Time: October 28, 2017 4:51 PM > UTC Time: October 28, 2017 8:51 PM > From: murdoch.duncan at gmail.com > To: Morkus <morkus at protonmail.com> > r-devel at r-project.org <r-devel at r-project.org> > > On 28/10/2017 8:59 AM, Morkus wrote: > >> Hey Duncan, >> Hard to debug? That's an understatement. Eyes bleeding.... >> In any case, I tried all your suggestions. To get...
2017 Oct 28
2
Cannot Compute Box's M (Three Days Trying...)
...(https://protonmail.com), Swiss-based encrypted email. > -------- Original Message -------- > Subject: Re: [Rd] Cannot Compute Box's M (Three Days Trying...) > Local Time: October 28, 2017 7:31 AM > UTC Time: October 28, 2017 11:31 AM > From: murdoch.duncan at gmail.com > To: Morkus <morkus at protonmail.com> > r-devel at r-project.org <r-devel at r-project.org> > > On 28/10/2017 7:12 AM, Morkus wrote: > >> Thanks Duncan. Awesome ideas! >> I think we're getting closer! >> I tried what you suggested and got a possibly better error.....
2017 Oct 29
0
Cannot Compute Box's M (Three Days Trying...)
On 29/10/2017 7:26 AM, Morkus wrote: > Thanks Duncan. I can't tell you how helpful all your terrific replies > have been. > > I think the biggest surprise is that nobody appears to be using Java and > R together like I"m trying to do. I suppose it should be a surprise > since there are no books on...
2017 Oct 28
2
Cannot Compute Box's M (Three Days Trying...)
...(https://protonmail.com), Swiss-based encrypted email. > -------- Original Message -------- > Subject: Re: [Rd] Cannot Compute Box's M (Three Days Trying...) > Local Time: October 28, 2017 6:48 AM > UTC Time: October 28, 2017 10:48 AM > From: murdoch.duncan at gmail.com > To: Morkus <morkus at protonmail.com> > r-devel at r-project.org <r-devel at r-project.org> > > On 28/10/2017 6:26 AM, Morkus wrote: > >> I'm not sure what you mean. Could you please be more specific? >> >> You were trying to eval an expression that you constructe...
2017 Oct 28
0
Cannot Compute Box's M (Three Days Trying...)
On 28/10/2017 8:59 AM, Morkus wrote: > Hey Duncan, > > Hard to debug? That's an understatement. Eyes bleeding.... > > In any case, I tried all your suggestions. To get "integer" for the > final column, I had to change the code to get integers instead of strings. The last column in iris is act...
2017 Oct 29
1
Cannot Compute Box's M (Three Days Trying...)
...(https://protonmail.com), Swiss-based encrypted email. > -------- Original Message -------- > Subject: Re: [Rd] Cannot Compute Box's M (Three Days Trying...) > Local Time: October 29, 2017 7:45 AM > UTC Time: October 29, 2017 11:45 AM > From: murdoch.duncan at gmail.com > To: Morkus <morkus at protonmail.com> > r-devel at r-project.org <r-devel at r-project.org> > > On 29/10/2017 7:26 AM, Morkus wrote: > >> Thanks Duncan. I can't tell you how helpful all your terrific replies >> have been. >> I think the biggest surprise is that no...
2017 Oct 28
0
Cannot Compute Box's M (Three Days Trying...)
On 28/10/2017 7:12 AM, Morkus wrote: > Thanks Duncan. Awesome ideas! > > I think we're getting closer! > > I tried what you suggested and got a possibly better error... > . > . > . > rConnection.assign("boxMVariable", myDf); > > *String resultBV *= *"str(boxMVariable)"...
2017 Oct 28
2
Cannot Compute Box's M (Three Days Trying...)
...(https://protonmail.com), Swiss-based encrypted email. > -------- Original Message -------- > Subject: Re: [Rd] Cannot Compute Box's M (Three Days Trying...) > Local Time: October 27, 2017 6:09 PM > UTC Time: October 27, 2017 10:09 PM > From: murdoch.duncan at gmail.com > To: Morkus <morkus at protonmail.com>, r-devel at r-project.org <r-devel at r-project.org> > > Just print the string you are asking to R to evaluate. It doesn't make > any sense as an R expression. Fix that, and things will work. > > Duncan Murdoch > > On 27/10/2017 3:41 P...
2017 Oct 24
0
Creating a data table (frame?) from a SQL Statement?
...etQuery is returning. That is, you really don't need to send everything through read.table in order to make use of it. Maybe try irisDF <- dbGetQuery(conn, "select * from iris") str( irisDF ) -- Sent from my phone. Please excuse my brevity. On October 24, 2017 10:11:28 AM PDT, Morkus <morkus at protonmail.com> wrote: >Jeff, > >Excellent points, thank you! > >Yes, I have all the required packages installed. > >Below's the actual full script. > >require(Rserve) >require(biotools) >library(rJava) >library(RJDBC) >drv <- JDBC(&quo...
2017 Oct 30
0
Pass Parameters to RScript?
I did a simple search and got hits immediately, e.g. https://www.r-bloggers.com/passing-arguments-to-an-r-script-from-command-lines/ On Mon, Oct 30, 2017 at 2:30 PM, Morkus via R-help <r-help at r-project.org> wrote: > Is it possible to pass parameters to an R Script, say, from Java or other > language? > > I did some searches, but came up blank. > > Thanks very much in advance, > > Sent from [ProtonMail](https://protonmail.com), Swiss-b...
2017 Oct 30
2
Pass Parameters to RScript?
Is it possible to pass parameters to an R Script, say, from Java or other language? I did some searches, but came up blank. Thanks very much in advance, Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email. [[alternative HTML version deleted]]
2017 Oct 26
3
How to create a table structure in Java code?
...hat you are looking for something like: > > read.csv(textConnection( > "5.1,3.5,1.4,0.2,setosa > 4.9,3,1.4,0.2,setosa > 4.7,3.2,1.3,0.2,setosa > 4.6,3.1,1.5,0.2,setosa > 5,3.6,1.4,0.2,setosa" > ), header = FALSE) > > HTH, > Jan > > On 25-10-17 12:50, Morkus via R-devel wrote: > >> Hi all, >> Using RConsole, it's easy to get data from the database that you can use in an R Command. Like this: >> (Reference case) >> irisQuery <- dbGetQuery(conn, "select * from iris") >> boxM(irisQuery [,-5], irisQuery[,5]...
2017 Oct 27
2
How to do a "Box's M" Test with
Trying to get past a frustrating error to do a "simple" Box's M test using Java. The Box's M test says it will work with a data.frame. Here's the setup code: REXP myDf = REXP.createDataFrame(new RList( new REXP[] { new REXPDouble(d1), new REXPDouble(d2), new REXPDouble(d3), new REXPDouble(d4), new REXPInteger(d5) })); Here's the call: REXP boxMResult =
2017 Nov 13
0
Where to get support for Rserve?
...ught up what appeared to be many relevant hits. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, Nov 13, 2017 at 4:48 AM, Morkus via R-help <r-help at r-project.org> wrote: > Hello, > > I'm using Rserve with Java and although it works OK for 50 or 60 requests, > eventually Rserve simply stops responding and I have to force-quit and > restart Rserve. During this time the JVM is fine and Tomcat (app s...
2017 Oct 29
3
Renjin?
Hi All, OK, in the "back to the drawing board" department, I found what looks like a much better solution to using R in Java. Renjin. Looking at the docs and then trying a quick example, didn't quite work. Of course I'm missing something. Although I'm telling the engine to require ("biotools") just like I would in R itself, when I get to the line of code that
2017 Nov 13
3
Where to get support for Rserve?
Hello, I'm using Rserve with Java and although it works OK for 50 or 60 requests, eventually Rserve simply stops responding and I have to force-quit and restart Rserve. During this time the JVM is fine and Tomcat (app server) is fine, too. The basic Java code does this: -------------------------------------------- 1. Create an R Connection 2. Execute an R Script via Rserve "eval"
2017 Oct 29
0
Renjin?
.... In any event, the R-devel list is for the development of the R language itself, and issues *with the core language*.??It is not a user help list. (this is all described in the list signup page:? https://stat.ethz.ch/mailman/listinfo/r-devel ) Regards, Brian On Sun, 2017-10-29 at 11:50 -0400, Morkus wrote: > Brian, > > Huh? > > I did read the documentation, but I didn't understand how to do what > I wanted from what I read -- as there was no example of what I was > trying to do. > > Hence a posting. > > Isn't that how (development) forums work? >...
2017 Oct 28
0
Cannot Compute Box's M (Three Days Trying...)
On 28/10/2017 6:26 AM, Morkus wrote: > I'm not sure what you mean. Could you please be more specific? You were trying to eval an expression that you constructed in Java. I was suggesting that before you eval it, you print it. > > If I print the string, I get: *boxM(boxMVariable[, -5], boxMVariable[, 5])* Right...