[R] empty string
Thomas Lumley
tlumley at u.washington.edu
Thu Jan 15 17:45:16 CET 2004
On Thu, 15 Jan 2004, Wolski wrote:
> Hi!
>
> How to generate a empty string of a precise length without using a loop?
paste(rep(" ",n), collapse="")
gives a string of n spaces.
-thomas
>
>
>
> I need a empty string (char **) to pass it with .C function to a c dll.
> The c routine writes the result into the string.
>
>
> Eryk.
>
> Dipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate Genomics
> Ihnestrasse 73 14195 Berlin 'v'
> tel: 0049-30-84131285 / \
> mail: wolski at molgen.mpg.de ---W-W---- http://www.molgen.mpg.de/~wolski
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
Thomas Lumley Assoc. Professor, Biostatistics
tlumley at u.washington.edu University of Washington, Seattle
More information about the R-help
mailing list