Re: [R] Using Java methods in R

2011-04-26 Thread hill0093
Thanks Icn for pointing that out, but I don't understand it. My use of .jcall to return a type double scalar or String worked. My use of .jfield to get a one dimensional static array worked. My use of .jfield to get a static scalar constant did not work. My use of .jfield to get a two dimensional s

Re: [R] Using Java methods in R

2011-04-27 Thread hill0093
Thanks Icn for the lookup. I appreciate your skill. The static double field con0dbl started working for me too. I was surprised, and checked my code carefully. I think they corrected that in rJava. I download and install rJava each time I use R. Hill -- View this message in context: http://r.789

Re: [R] Using Java methods in R

2011-04-27 Thread hill0093
I don't know who to contact in the management of this R-forum, and there are a few things I cannot figure out. As I understand it, to participate and learn on the R-forum, I must receive all the emails even concerning topics I have no interest in currently. It clogs up my email, takes a long time

Re: [R] Using Java methods in R

2011-04-27 Thread hill0093
Thanks for your two suggestions. I am too much of a beginner in R and R-forum to be able to do either of them. How do I/ Sorry. -- View this message in context: http://r.789695.n4.nabble.com/Using-Java-methods-in-R-tp3469299p3479255.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Using Java methods in R

2011-04-29 Thread hill0093
H do I obtain a strictly rectangular type-double array (converted to an R 2-dimensional array) from a Java class? I can obtain a 1-dimensional type-double array (vector) or a scalar, but I cannot figure out the two-dimensional from the instructions. Is .jevalArray also involved? My simple Java te

[R] Using Java methods in R

2011-04-22 Thread hill0093
I just now registered in R forum. I use Windows because of past history of using windows. I have been writing and using programs in java for about a decade. I work with unequal-interval-time-series data files, 1st 5 lines like: Title Line CnYrMoDaHrMnScDCMQ,ColSerTit1,ColSerTit2,ColSerTit3,ColSerTi

Re: [R] Using Java methods in R

2011-04-23 Thread hill0093
No answer to my post, so let's try a simpler question. Am I doing this correctly? I have the RGui with R Console on the screen. On rhe top pullDowns, Packages > Install Packages > USA(IA)> rJava > library(rJava) > .jinit() > qsLin <- .jnew("C:/ad/j/CalqsLin") Error in .jnew("C:/ad/j/CalqsLin") :

Re: [R] Using Java methods in R

2011-04-23 Thread hill0093
That's more than I can understand. I just need help from someone who knows. Should be a simple answer from that person. -- View this message in context: http://r.789695.n4.nabble.com/Using-Java-methods-in-R-tp3469299p3469882.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Using Java methods in R

2011-04-23 Thread hill0093
Since it cannot find a java class that is on my disk, is there a place I have to put it into first? -- View this message in context: http://r.789695.n4.nabble.com/Using-Java-methods-in-R-tp3469299p3470350.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Using Java methods in R

2011-04-23 Thread hill0093
Hi Shekhar, Thank you. Right path. Sounds good. Please help me when you discover Java interface. Firstly, I don't know what the R symbol table is or how to do the checking you suggest. I am really naive about R. I want to be able to get my data in there so I can learn to use it for my purposes.

Re: [R] Using Java methods in R

2011-04-24 Thread hill0093
Thanks Icn, for suggesting .jaddClassPath I finally had time to play around and discover what you meant. So I am one step farther than the report in the second post above: I have the RGui with R Console on the screen. On the top pullDowns, Packages > Install Packages > USA(IA)> rJava > library(rJa

Re: [R] Using Java methods in R

2011-04-24 Thread hill0093
So I am one step farther than last time, so I am happy: I have the RGui with R Console on the screen. On the top pullDowns, Packages > Install Packages > USA(IA)> rJava > library(rJava) > .jinit() > .jaddClassPath("C:/ad/j") > print(.jclassPath()) [1] "C:\\Users\\ENVY17\\Documents\\R\\win-library\

Re: [R] Using Java methods in R

2011-04-24 Thread hill0093
I added this R code to the bottom of the previous code and it doesn't work > ar34Ret <- .jcall(qsLin,returnSig="[[D","arReturnTEST") > print(ar34Ret,digits=20) [[1]] [1] "Java-Array-Object[D:[D@8813f2" [[2]] [1] "Java-Array-Object[D:[D@1d58aae" [[3]] [1] "Java-Array-Object[D:[D@83cc67" > for(i

Re: [R] Using Java methods in R

2011-04-25 Thread hill0093
So the first few posts show that I found out how to get Java functions to return type double numbers to R. The arrays are still a problem. Here is another of my attempts to understand how to get java arrays into R. The Java code in class CalqsLin for an array of constants named conArr and for a

[R] index range

2008-02-18 Thread hill0093
It looks to me like the index range starts at 1 in R. Is this true? If so, is there a way to change it to start at 0? That way, I wouldn't have to make so many changes when I translate a function from another language. -- View this message in context: http://www.nabble.com/index-range-tp15550797

[R] Fwd: Undeliverable mail

2013-10-28 Thread hill0093 University of Minnesota
: rfc822;r-h...@r-proj.org Final-Recipient: rfc822;r-h...@r-proj.org Action: failed Status: 5.1.2 -- Forwarded message -- From: hill0093 University of Minnesota To: r-h...@r-proj.org Cc: Date: Mon, 28 Oct 2013 10:53:16 -0500 Subject: Fwd: Labeling with a function of the scale value of