[R] hello

Julien Barnier jbarnier at ens-lsh.fr
Thu Jan 24 11:06:11 CET 2008


Hi,

> I want to know if it's possible to send a bar chart from the
> software R to an directory.

Do you mean saving your figure to a file ? If so, you can take a look
at the device functions, which allow you to generate your figure to a
file in different formats, especially pdf or postscript.

For example, to generate your plot into a pdf file, you can use :

pdf(file="filename.pdf")
plot(...)
dev.off()

Hope that helps,

Julien

-- 
Julien Barnier
Groupe de recherche sur la socialisation
ENS-LSH - Lyon, France



More information about the R-help mailing list