How to do 1:n case-control matching?

Hi,
I am doing a matched case-control study. I have got about half a million samples of which about ten thousand are cases. I have been trying to do 1:n case-control matching using MatchIt package in R. Unfortunately, I am not successful.

I was wondering if anyone can help me with any R packages to do 1:n case-control matching.

Thanks

Here is a guide I invite you to read. If you take its lessons to heart, I strongly believe you will receive better support.