The experiment will be part of a national campaign by the RHS to encourage school children to get into gardening.
Lucky pupils from form one will be testing the effects of space flight on a batch of seeds and monitoring their growth against a control batch.
Form one teacher Adelle Rogerson is helping co-ordinate the experiment at the school near Ripon.
She said: “It’s a great opportunity for our pupils to get out into the greenhouse and take part in something fun.
“Tim Peake’s involvement has excited the children. Not many people can say they have been involved in a space experiment.”
The experiment will last for six weeks as part of wider research to weigh up whether it is possible to grow our own food on other planets, millions of miles away from Earth.
As part of the experiment the school will be updating their social media streams with how the rocket science is progressing.
To keep up-to-date and to find out more about Cundall Manor School, visit cundallmanorschool.com or follow the school’s Twitter page @CundallManor