sudo or do not
linux, programming, calculators, technology...
Saturday, May 17, 2008
Export plots in R
In R exporting plots is easy:
jpeg("/home/Desktop/nameplot_here.jpg") #name the file and where to export it
hist(data) #this makes a histogram of your data
dev.off() #actually do the exporting
To do png or pdf just substitute it for jpeg.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment