Best and minimal configuration needed for buying laptop for programming(learning R and python language)?

My institute recommended to but new laptop for learning R language and python language so I want to know what are the minimal requirements and best configuration to support these languages and I would even want to use for general and little gaming purpose options that I have on my mind are Dell series Hp and lenovo.

What did your institute say were the best requirements and configuration? Ask 'em.