add R.cond and rename existing function of that name
Merge pull request #518 from davidchambers/cond

add R.cond and rename existing function of that name