Retail sales volumes rose 0.7% in October, driven by purchases of long-life food such as tinned goods and UHT milk, the Office for National Statistics (ONS) said. The rise beat some economists' expectations of a slight fall and followed a 0.6% decline in September.

ONS chief economist Grant Fitzner said: "Supermarkets have told us that sales of long-life food items such as tinned food and UHT milk were boosted by the government's 'Be Ready' campaign." He added: "Meanwhile fuel sales have been recovering from earlier low levels, despite pump prices rising again."

The government's emergency preparedness campaign encouraged people to keep three days' worth of food and water at home, and recommended wet wipes, a torch and cash. It was launched in response to possible disruption to essential services from severe weather or cyberattacks.

Separate research from retail research firm Worldpanel by Numerator found that households were stockpiling essentials but not panic buying. That data showed people stocking up on tinned meat, bottled water and hand sanitiser.

Visits to art galleries and clothing purchases also rose in October, according to the ONS.

Separately, the ONS said government borrowing was £17bn in October, £0.8bn higher than a year earlier but slightly below analysts' forecasts of about £18bn. Interest repayments reached £11.2bn, the highest October debt interest figure on record. The ONS said higher inflation pushed up these repayments, because payments on index-linked government bonds track the inflation rate. Inflation rose to 3.6% in October, mainly due to higher petrol and diesel prices.