How to save R plot image to database? -


i'd save plot image directly database.

is best way in r this:

  1. write plot image (png) filesystem
  2. read file written
  3. send file database via query (rodbc)

ideally i'd combine steps 1 , 2 above write png image binary connection. r support this?

no, graphics devices file-based, steps 1-3 correct. need fourth unlink temporary file it.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -