See the argument 'sep' in the paste function. paste(Laufwerk,Stadtwerksname,".csv", sep="")
On 17/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi there, > > I've got the following problem under Windows XP, R 2.5.1: > > When I'm pasting some objects: > > Stadtwerksname<-"Mannheim" > Laufwerk<-"C:\\" > paste(Laufwerk,Stadtwerksname,".csv") > > I get the result: > > [1] "C:\\ Mannheim .csv" > > The problem's are the superfluous gaps/blanks between the three parts. > > Is there a way to get rid off this problem? > > Thx, > Thomas > > > ______________________________ > > Thomas Schwander > > MVV Energie > Konzern-Risikocontrolling > > Telefon 0621 - 290-3115 > Telefax 0621 - 290-3664 > > E-Mail: [EMAIL PROTECTED] . Internet: www.mvv.de > MVV Energie AG . Luisenring 49 . 68159 Mannheim > Handelsregister-Nr. HRB 1780, Amtsgericht Mannheim > Vorsitzender des Aufsichtsrates: Herr Dr. Peter Kurz > Vorstand: Dr. Rudolf Schulten (Vorsitzender) . Matthias Brückmann . Dr. > Werner Dub . Hans-Jürgen Farrenkopf > > > > > [[alternative HTML version deleted]] > > > ______________________________________________ > R-help@r-project.org mailing list > 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. > > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list 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.