Hello Guys!!
I am trying to run the ArrayQualityMetrics Rscript from my java code. But it is not running through the java code
Any suggestions please are appreciated ........
my java code is:-
public class TestClass {
public static void main(String[] args) {
// TODO Auto-generated method stub
try{
Process p = Runtime.getRuntime().exec("C:/R/R-3.2.0/bin/Rscript array.R");
int processComplete = p.waitFor();
if (processComplete == 0) {
System.out.println("successfull");
} else {
System.out.println("Could not complete");
}
}
catch (Exception e)
{
e.printStackTrace();
}
}
}
I am not getting why am I getting the else output :- "Could not complete" while runnig the java code
I want to know why the messages are comming after the library(arrayQualityMetrics)
Creating a generic function for ‘boxplot’ from package ‘graphics’ in package ‘affyPLM’
Creating a generic function for ‘hist’ from package ‘graphics’ in package ‘affyPLM’
Help me out. I am not getting where am I getting wrong....Do reply..
Thank you...
Thank you for your reply...I will go for java to question. And what about the warning messages I am getting in the end....
Can you tell what is problem in that case. Is it because of the text files I am taking into the program or is it because of the R script......
You don't show any warning messages. You just show messages that are informative. And the bulk of my previous response was intended to explain those messages, so you should re-read. If there is something unclear in my explanation, please let me know.