Unfortunately, your browser is too old to work on this website. Please upgrade your browser
Skip to main content

The power of R for the NHS Why is a statistical programming language having an impact on the NHS?

Thumbnail

There is a wealth of data in the NHS that could be used to improve the delivery of health care. However, the lack of a common, easy-to-use software platform is a barrier to the open and transparent sharing of useful data analysis techniques across the NHS. This is where R comes in.

‘R’ is a programming language and free software environment for statistical computing and graphics, which benefits from a worldwide R Community that freely shares learning and resources. Although widely employed in academia and large corporations, R is less prominent in the NHS.

The development of an NHS-R Community is promoting the use of R in the NHS in order to improve data analysis and develop shared solutions.

The NHS-R Academy supports NHS analysts in learning how to apply R in their day jobs via workshops, webinars, blogs, podcasts and the annual NHS-R Conference, and a vibrant, friendly and helpful community on the slack channel.

The NHS-R Community, together with NHSx, provides funding for ‘solutions’. Solutions are R packages of training that will help the NHS to take advantage of the huge benefits of R. Current solutions include:

  • NHSRPlotthedots – tools for drawing statistical process control charts to support an NHSE/I ‘Making Data Count’ campaign.
  • NHSDataDictionaRy – offers web scraping of NHS data dictionary lookups.
  • phsmethods – to assist public health analysts with common analytical tasks.

Further reading

Rethinking fuel poverty in Great Britain

  • Analysis
|
  • 16 November 2026
|
clock icon About 12 mins

We explore where in Britain is at greatest risk of fuel poverty, how health outcomes differ in fuel-poor areas and how governments and local authorities can better measure fuel poverty and target supp...

Abstract graphic of a choropleth map of the UK nations