moved R wrappers, registering native routines