Entering edit mode
Amanda Miotto
▴
120
@amanda-miotto-2933
Last seen 10.2 years ago
I have a Bioconductor based script running that uses dev.copy and
dev.off to
save images to my hard drive which works well. However, when I try
to run it
with Rscript (from the terminal) instead of R, it doesn't save the
images as
it should, and a file called Rplots.pdf has been created. How do I
get
around this?
gdPlot(yeplotlist,labelCex=1)
filename<-paste(currentgene,"graph.jpeg",sep="")
dev.copy(jpeg, filename, width = 1000, units = "px")
dev.off()
Thanks,
Amanda Miotto
a.miotto at griffith.edu.au
Software Engineer
Research Computing Services
INFORMATION SERVICES
Griffith University, NATHAN 4111, AUSTRALIA
Phone: +61 7 37354419 Fax: +61 7 37356650
Web: http://eResearch.griffith.edu.au/
PRIVILEGED - PRIVATE AND CONFIDENTIAL:
This email and any files transmitted with it are intended solely
for
the use of the addressee(s) and may contain information which is
confidential or privileged. If you receive this email and you are
not the addressee(s) [or responsible for delivery of the email to
the
addressee(s)], please disregard the contents of the email, delete
the
email and notify the author immediately.