How do I save a plot to a tiff file under Linux/Unix platform? I often do this under Windows with tiff(…). Also is there a way to compress the tiff file as in compression=”lzw” under Windows?
Thanks for your help
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If capabilities(“tiff”) is TRUE then you can use the tiff function or dev.copy(tiff) to make a tiff from an existing plot.
If capabilities(“tiff”) is FALSE then you need to reinstall R. Most binary R distributions should have it, if you’ve compiled it yourself you need to make sure you have the libtiff development stuff installed first.
tiff(file=”foo.tiff”,compression=”lzw”) should do lzw compression, but again its dependent on having the correct libraries and headers for compiling compression into your tiff library.