[R] Object of type 'closure' not subsettable - OK

Muhammad Rahiz muhammad.rahiz at ouce.ox.ac.uk
Mon Dec 21 19:26:19 CET 2009


Thanks Petr, Barry & David for your useful comments.

Given

d2[[i]] <- f[[i]] - m

The problem lies in how I define the object, d2[[i]], which I managed to 
resolve by

 > d2 <- list()

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