[R] Problems with paste and blank
Katharine Mullen
kate at few.vu.nl
Wed Oct 17 13:52:56 CEST 2007
use sep="", e.g.,
paste(Laufwerk,Stadtwerksname,".csv",sep="")
On Wed, 17 Oct 2007 thomas.schwander at mvv.de 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: Thomas.Schwander at mvv.de . 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]]
>
>
More information about the R-help
mailing list