Saving plot to tiff, with high resolution for publication (in R)

后端 未结 4 679
借酒劲吻你
借酒劲吻你 2020-12-23 11:42

A journal we are sending an article to is asking for the following:

To ensure the best reproduction quality of your figures we would appreciate high r

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-23 11:48

    I would suggest you to use devEval from the R.devices library.

    I had this issue myself and solved it thanks to this :

      options("devEval/args/path"=file.path(Folder_of_Output))
      devEval("tiff", name="Name_output", width=120, height=800, {
      barplot(data, main="imagetitle");
      legend("top", legend =c("text of legend"))
      })
    

    For me it worked like a charm and the file was saved directly without issue.

提交回复
热议问题