## Not run:
# pgGetLines(conn, c("schema", "tablename"))
# pgGetLines(conn, c("schema", "roads"), geom = "roadgeom", gid = "road_ID",
# other.cols = NULL, clauses = "WHERE field = 'highway'")
# ## End(Not run)
Run the code above in your browser using DataLab