Marc Belisle wrote: > Hi there, > > I have 3 numeric variables: day (e.g., 05), month (e.g., 06), year (e.g., > 2009). > > I would like to create a (string) variable of the following form: > month/day/year (e.g., 06/05/2009). > > I would be grateful to anyone who could point me toward a solution. >
?sprintf vQ ______________________________________________ R-help@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.