Displaying 1 result from an estimated 1 matches for "figure13".
Did you mean:
figure1a
2011 Jun 14
1
Calling R from Java
...ich comes with rJava. I have managed to install the package successfully on my machine. I also managed to run the default example rtest successfully. I tried to find more tutorials or or examples,but I could not find any. I am trying to do the following from the java class:
png('/home/saleh/figure13.png',height=480*5,width=480*5,res=72*5)
y1 <- cumsum(rnorm(100))
y2 <- cumsum(rnorm(100, mean=0.2))
par(mai=c(.8, .8, .2, .8))
plot(1:100, y1, type="l", col="blue", xlab="X axis label", ylab="Left legend")
par(new=TRUE)
plot(1:10...