Skip to content
This repository has been archived by the owner on Nov 17, 2017. It is now read-only.

How to automatically save image when using Rstudio? #43

Open
thudxz opened this issue Feb 26, 2016 · 2 comments
Open

How to automatically save image when using Rstudio? #43

thudxz opened this issue Feb 26, 2016 · 2 comments

Comments

@thudxz
Copy link

thudxz commented Feb 26, 2016

Maybe it's a naive question. I wanted to generate a number of images and save them automatically.

@jooolia
Copy link

jooolia commented Jul 8, 2016

If you are using RCy3 you can use:

saveImage(cytoscape_object,
          "file_name",
          "png",
          scale)

The documentation currently says that only "jpeg" is supported, but I have used this with png and pdf.

@tmuetze
Copy link

tmuetze commented Jul 13, 2016

I just updated the documentation on the devel version of RCy3. RCy3 supports saving images as 'png', 'pdf' and 'svg'. Users have also created animations/videos by writing a loop and saving the images to file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants