[R] Text dependent on a variable in a R function

Charles C. Berry cberry at tajo.ucsd.edu
Sun May 2 04:48:24 CEST 2010


On Sun, 2 May 2010, R K wrote:

>
> Hello,
>
> I was wondering if someone could tell me how I can make text dependent 
> on a variable in a R function I have created.

 	example( deparse )

HTH,

Chuck

>
> The function will create plots, thus I would like each plot to have a unique title based on the inputted variable as well as a unique file name when saved using the savePlot function.
>
> Thanks!
> Rachel
>
> _________________________________________________________________
> The New Busy is not the old busy. Search, chat and e-mail from your inbox.
>
> N:WL:en-US:WM_HMP:042010_3
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901



More information about the R-help mailing list