Jacques Kallis
Kallis on his lap of honour during day 5 of the 2nd Test match between South Africa and India Getty

Jacques Kallis has retired from all formats of international cricket after announcing he will not be able to compete at the 2015 World Cup in Australia and New Zealand.

The 38-year-old, considered by some to be the greatest all-rounder in the history of cricket, retired from Tests in December and hoped to prolong his one-day career until next year's tournament.

But after a poor run of form in South Africa's ODI tour of Sri Lanka, in which he scored 0,1 and 4 in the three matches, Kallis has decided he will not make the competition and has retired.

The decision could come as a relief to South African selectors: Kallis has only made one 50 in seven matches since returning to the international fold in 2013.

"I realised in Sri Lanka that my dream of playing in a World Cup was a bridge too far," he said. "I just knew on that tour that I was done. The squad that was in Sri Lanka is an amazing one and I believe they have a good chance of bringing the trophy home in March.

"I would like to thank Cricket South Africa, the team, the team sponsors, my sponsors, the fans and all the people who have been involved in my career. It has been an amazing journey. I am not retiring from all cricket as I have a two-year contract with the Sydney Thunder and, if possible, to help the Kolkata Knight Riders defend the IPL title we won earlier this year."

Jacques Kallis in numbers

Kallis ends his ODI career with 11579 runs in 328 matches with 17 centuries and 86 fifties at an average of 44.36.

He played 25 T20s, scoring 666 runs with five fifties.

He is the only South African batsman with over 10,000 runs in Tests and ODIs.

Kallis played his final Test in December 2013 against India in Durban, finishing with 13,289 runs in 166 matches with 45 centuries and 58 fifties, as well as 292 wickets and 200 catches. His batting average was 55.37 and his bowling average was 32.65.

Had Kallis been English, he would hold the country's all-time record for runs and catches, and be its 6th-highest wicket taker.

Source: ESPNcricinfo

Althought Kallis will never again pull on a Proteas jersey he will still compete in the upcoming Australian and Indian T20 competitions for Sydney Thunder and Kolkata Knight Riders respectively.

The cricketing world has been paying its repects to Kallis, the only player who has scored more than 20,000 runs and taken more than 500 wickets in all formats of the sport.