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


______________________________________________
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.

Reply via email to