Hi KNIME(R)s,
I want to have high resolution R plot on R view node of KNIME 3.1.1.
I try to execute following code:
knime.out <- knime.in
library(ggplot2)
df2 <- data.frame(knime.in$"CR",knime.in$"Raw",knime.in$"Group")
Group<-knime.in$"Group"
png("Plot.png", width = 4, height = 4, units = 'in', res = 300)
ggplot(df2,aes(knime.in$"CR", knime.in$"Raw", color=Group)) +
geom_point(alpha=0.33) +xlab("CR")+ylab("Raw")+
theme(legend.position=c(0,1), legend.justification=c(0,1))
dev.off()
Here png is created however plot is not printed on it.
What should I do?
Thank you very much in advance.
Canan