The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Retrieving R plot from inside Execute Script (R) within RapidMiner process
I would love to be able to generate a "plot" using R inside an "Execute Script (R)" and be able to view the plot once the Rapidminer process finishes. Any ideas?
ImageMiner made a post about 5 months ago asking about this functionality, and it was said this was being developed. Just wondering if anyone has found a workaround to make this possible or if this functionality will be available in the not-so-distant future. I am new to R, so if there is a workaround, please be gentle :-).
Thanks in advance,
David
ImageMiner made a post about 5 months ago asking about this functionality, and it was said this was being developed. Just wondering if anyone has found a workaround to make this possible or if this functionality will be available in the not-so-distant future. I am new to R, so if there is a workaround, please be gentle :-).
Thanks in advance,
David
Tagged:
0
Answers
library(quantmod)
getSymbols("GS")
pdf("test.pdf")
chartSeries(GS)
dev.off()
system('evince test.pdf')
Of course, the example would work with any other plots.
Anybody has a better workaround?
just open a device in the script:
X11()
# your plots here