I'm fairly new to R, so I may be missing something obvious...but so far my Google-fu has utterly failed me and my attempt to solve this problem has resulted in the coding equivalent of printing something out, sending a fax, and then drawing a picture from the fax.
So, for example, if the plot was a picture of a smiley face (that's not my plot, but I was trying to have fun with it while pulling my hair out. I was hoping to have something that works off of the image created by R but is fairly image agnostic) then I'm trying to return something like this...either in a single string or one for each row. (it could be any characters reflecting on and off, I was assuming binary would be the easiest)
000000000000000000000000000
000000000000000000000000000
000000000000000000000000000
000001100001100000000000000
000001100001100000000000000
000000000000000000000000000
000000000000000000000000000
000000000000000000000000000
000000000000000000000000000
000000000000000000000000000
000110000000001100000000000
000011000000011000000000000
000001111111110000000000000
000000000000000000000000000
000000000000000000000000000
000000000000000000000000000
000000000000000000000000000
That's the general idea, and so far my only near success has involved printing to disk and then re-reading it...which I'm 100% sure is a bad approach. I'm good with SQL and formulas, but R is a whole new world for me.
The reasoning behind this is that I'm delivering the information to a box that only can handle text and is designed to receive a string, but I can shrink the text down to a font size of '2'and essentially create a grid of pixels. I've already added some semi-graphical text (bar charts with a repeat function, waffle charts with a bit more effort, that sort of thing)...and this is just me following the logical progression (and also, hopefully, saving a LOT of screen real estate)
I'm suspecting this is a lot easier than I'm making it, as it's essentially the step R goes through in the process of making a plot...but I've clearly failed.
Any help would be hugely appreciated!