empty string
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