much nicer On Wed, Jul 7, 2021 at 10:58 AM Ivan Krylov <krylov.r...@gmail.com> wrote:
> On Tue, 6 Jul 2021 09:27:20 -0400 > Evan Cooch <evan.co...@gmail.com> wrote: > > > I was wondering if there was an elegant/simple way to do this? > > rep(label, times = count) should give you a character vector with the > answer ready for writeLines(). > > -- > Best regards, > Ivan > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.