Splice a loop on the end of the rope and use a shackle to attach to the anchor. If you have to do some heavy anchoring splice a loop on the end of the rope and use a shackle to attach to a length of chain and then attach the chain to the anchor with a shackle.
"gene"