discovered writeOGR function - much easier