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: [EMAIL PROTECTED] ---W-W---- http://www.molgen.mpg.de/~wolski > > > [[alternative HTML version deleted]] > > ______________________________________________ > [EMAIL PROTECTED] 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 [EMAIL PROTECTED] University of Washington, Seattle ______________________________________________ [EMAIL PROTECTED] 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