Message-ID: <Pine.A41.4.58.0401150842400.16268@homer30.u.washington.edu>
Date: 2004-01-15T16:45:16Z
From: Thomas Lumley
Subject: empty string
In-Reply-To: <200401151739300914.10EC59F6@harry.molgen.mpg.de>
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