The government has allocated RM510mil for research and development (R&D) funds under the Science, Technology & Innovation Ministry and the Higher Education Ministry, said Prime Minister Datuk Seri Anwar Ibrahim when tabling Budget 2024 at the Dewan Rakyat on Friday.