RNeo4j Connection

It used to be that in RNeo4j I could connect to Neo via...

graph = startGraph("http://localhost:7474/db/data/",

username = "neo4j",
password = "password")

Still works for 3.x, but no longer for 4.0.

How do I do this now? Thanks

Ok, so using neo4r now, but still with the same 404 error. It still works with pre 4.0 versions of Neo