You might look at the sprint function which is in base R

--
Better name for the general practitioner might be multispecialist. 
~Martin H. Fischer (1879-1962)


-----Original Message-----
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Cacique Samurai
Sent: Monday, February 29, 2016 3:12 PM
To: R help <r-help@r-project.org>
Subject: [R] Special sequence

Hello Helpers!

How to create a number sequence from1 to 3000, but usigm four numbers like 
0001, 0002...0102...3000.

Thanks in advanced,

Raoni

--
Raoni Rosa Rodrigues
Research Associate of Fish Transposition Center CTPeixes Universidade Federal 
de Minas Gerais - UFMG Brasil rodrigues.ra...@gmail.com

______________________________________________
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.

______________________________________________
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.

Reply via email to