Displaying 2 results from an estimated 2 matches for "resultf".
Did you mean:
result
2010 Jan 24
3
system vs shell wait command
...on.
Under windows, it perfectly works:
result<-shell("gencont < yn.txt",intern=TRUE,wait=TRUE)
# R waits untill the program finishes (apporx 3 min) and uses the result as
an object. "yn.txt" contains the answer to a question prompted by the second
program before running
resultf<-result[length(result)]
# reads the last line, which contains the required result
However, At our Linux server, shell() doesn't work. Here, I'll need
system()...
result<-system("./gencont.exe < yn.txt",intern=TRUE,wait=TRUE) #slightly
different
resultf<-result[length...
2007 Nov 29
1
Question about using “par”
...;For k=5, theata1=1")
xyplot(x1+x2+x3 ~ y, data=resultd, type="l", pch=LETTERS[1:3], lty=c(1:3),
main="For k=5, theata1=5")
xyplot(x1+x2+x3 ~ y, data=resulte, type="l", pch=LETTERS[1:3], lty=c(1:3),
main="For k=10, theata1=1")
xyplot(x1+x2+x3 ~ y, data=resultf, type="l", pch=LETTERS[1:3], lty=c(1:3),
main="For k=10, theata1=5")
par(op)
But I can only get one figure in one page, not 6 figures in one page. Is
there any other parameter I should specify? There is no error indicated.
Thank you so much!
Catherine
--
View this messag...