[R] plot inside function does not work

2010-11-22 Thread Alaios
Hello everyone, when I commit a plot using console(command line?) plot works fine. I have created a function that plots based on the input. This function is called plot_shad. When I call this function alone in the command line I get my plot. Then I tried to use another function as

Re: [R] plot inside function does not work

2010-11-22 Thread Claudia Beleites
Alex, this may be FAQ 7.22 Claudia On 11/22/2010 02:19 PM, Alaios wrote: Hello everyone, when I commit a plot using console(command line?) plot works fine. I have created a function that plots based on the input. This function is called plot_shad. When I call this function alone in the

Re: [R] plot inside function does not work

2010-11-22 Thread Alaios
() or inside your own functions you will need an explicit print() statement. --- On Mon, 11/22/10, Claudia Beleites cbelei...@units.it wrote: From: Claudia Beleites cbelei...@units.it Subject: Re: [R] plot inside function does not work To: r-help@r-project.org Date: Monday, November 22, 2010, 1:34