🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"Plotting in R with RapidMiner"

User: "User13"
New Altair Community Member
Updated by Jocelyn



Problem: You've decided to use plot inside of your Execute R operator but when you return the plot you get no plot when the process is run, instead you get a description tab that says
File Memory Buffered File




Example of plot in R


rm_main = function(data)




{


plot(1:5,2:6)


return(plot)




}






Solution: If you do not want to rely on the charting plots that come preloaded with your RapidMiner Studio, y


ou should export the plot in your R script using any of the supported formats.






Here is an example doing so to a pdf



pdf(“C:/Users/.../Desktop/plots.pdf”)


plot(1:5,2:6)


dev.off()

You can find other formats here


http://www.cookbook-r.com/Graphs/Output_to_a_file/





 

Find more posts tagged with

Comments

No comments on this post.