R export also uses namespaces in header


Change-Id: Idbba86a40f40316d5b94fa1cdb3657233b97f486
Signed-off-by: Marius <marius.oe@gmail.com>