Skip to content
Back to formatted view

Raw Message

Message-ID: <5.2.1.1.2.20030416101131.07558110@mailhost.blackmesacapital.com>
Date: 2003-04-16T16:18:26Z
From: Tony Plate
Subject: besoin d'aide
In-Reply-To: <11036683.1050500351447.JavaMail.www@wwinf0601>

The function merge() is like the "join" operation in relational data bases 
- it's much more powerful than mere concatenation (and thus often much 
slower, especially on large tables.)

To merely concatenate tables together, use rbind() (to concatenate by rows) 
or cbind() (to concatenate by columns).

If you do need the power of merge(), but it is too slow for your purposes 
you may be able to write a special-purpose function in R that does just 
only you need and much more quickly -- such is the nature of the S language 
-- it is very powerful, but the powerful general-purpose functions can 
often be quite slow in particular cases.

Hope this helps, and apologies if I have not completely understood your 
question.

-- Tony Plate


At Wednesday 03:39 PM 4/16/2003 +0200, Erwan BARRET wrote:
>J'aimerais savoir si la fonction merge() est la seule disponible pour 
>concatener des tableaux de donn?es?
>Est-ce normal que l'ex?cution soit lente?
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help