[R] conditional output of string to file n times...

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Wed Jul 7 09:57:26 CEST 2021


On Tue, 6 Jul 2021 09:27:20 -0400
Evan Cooch <evan.cooch using 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



More information about the R-help mailing list