Remove top and right border from ggplot2

ggplot2r

Is it possible to to remove the top and right border from ggplot2 graphs?

I.e, I'd like to keep the x and y-axis but remove the rest of the black frame that surrounds the graph.

//M

Best Solution

see this thread, it deals specifically with the problem here

http://groups.google.com/group/ggplot2/browse_thread/thread/f998d113638bf251

and gives a solution that appears to work.