[R] Arithmetic on multiple files

Muhammad Rahiz muhammad.rahiz at ouce.ox.ac.uk
Wed Dec 2 17:53:37 CET 2009


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

-- 
Muhammad Rahiz  |  Doctoral Student in Regional Climate Modeling					
Climate Research Laboratory, School of Geography & the Environment	
Oxford University Centre for the Environment
South Parks Road, Oxford, OX1 3QY, United Kingdom 
Tel: +44 (0)1865-285194	 Mobile: +44 (0)7854-625974
Email: muhammad.rahiz at ouce.ox.ac.uk




More information about the R-help mailing list