Message-ID: <45816B0C.30104@lancaster.ac.uk>
Date: 2006-12-14T15:17:32Z
From: Barry Rowlingson
Subject: loop is going to take 26 hours - needs to be quicker!
In-Reply-To: <200612141341.kBEDfN2l019839@msslhb.mssl.ucl.ac.uk>
Jenny Barnes wrote:
> Dear R-help,
>
> Thank you for the responses off everyone- you'll be please to hear Duncan that
> using:
>> gpcc.array <- array(gpcc.data2[,5], c(144, 72, 46))
> was spot-on, worked like a dream. The data is in the correct places as I checked
> with the text file. It took literally 2 seconds - quite an improvement time on
> the predicted 26 hours :-)
>
However now you cant tell your supervisor that your data manipulation
will take 26 hours - giving you a day to get your Xmas shopping done...
Barry