Assignment 2:

Shown below is a question asked about R by an R user. I would like you to find a solution to their problem, and write an email to me (rhonda-decook@uiowa.edu) as if you were responding to the user with the solution.

----------------------------------------------------------------------------------------------------------------------
Dear All,

please could you advice on how to save a histogram into a file:

I generate the histogram by using > hist command; then I use
> > pdf() or >jpeg() or > postscript(), but none works. Thanks .

arici