[R] combine

Nando Foppa foppa at giub.unibe.ch
Wed Dec 19 09:26:09 CET 2001


hello there,

I ` m a newbie in R so please excuse my maybe simple question!

I have several (the number of the files changes) textfiles. Each
textfile contains one column with 3 rows (3 numerical values). I want to
combine each file with another file and create new textfiles which then
contain  2 columns with 3 rows. How can I do this in R? Do I have to
use  cbind? How Do I use cbind for my problem?
Instead of having several textfiles with one column and 3 rows I could
use one textfile with n columns with 3 rows. I don`t know which way is
better.

Thanks a lot for your help!
cheers,
Nando


_________________________________________________

   Nando Foppa  -  Remote Sensing Research Group

   Department of Geography

   University of Bern   Tel :  +41 (0)31 631 8020
   Hallerstr. 12            Fax :  +49 (0)89 2443 43780
   CH - 3012 Bern       Mail: foppa at giub.unibe.ch
   Switzerland
_________________________________________________


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list