Remove R_GetRefAPI

Move Swap_Init to R_Init instead. It compiles, it runs, it works. It needs further tests.