[R] Arithmetic on multiple files
Benjamin Müller
ben_mueller.bm at web.de
Wed Dec 2 18:16:56 CET 2009
Ain't it as simple as load them ("read()" or "read.csv()"), add (+)
these dataframes and thats all? you also can export them again with
"write()".
greets,
Benjamin Müller
Muhammad Rahiz schrieb:
> Dear R-users,
>
> I'd like to perform arithmetic functions on 1000 files containing a
> 2000x2000 matrix. Can anyone advise?
>
> For example,
>
> File1 File2 Output
> 1 1 1 4 4 4 5 5 5
> 2 2 2 + 5 5 5 = 7 7 7
> 3 3 3 6 6 6 9 9 9
>
>
>
> Muhammad
>
More information about the R-help
mailing list