Thanks alot
--
View this message in context:
http://r.789695.n4.nabble.com/Save-a-plot-with-a-name-given-as-an-argument-in-a-function-tp4702965p4702969.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing lis
Hi Evgenia,
Try
test2 <- function(data, TitleGraph){
pdf(paste0(TitleGraph, ".pdf"), width = 7, height = 5)
plot(data)
dev.off()
}
instead. Take a look at ?paste0 for more information.
HTH,
Jorge.-
On Tue, Feb 10, 2015 at 12:14 AM, Evgenia wrote:
> test<-function(data, TitleGraph){
>
>
> p
2 matches
Mail list logo