url = "http://bioinformatics.ai.sri.com/ptools/flatfile-samples/reactions.dat"
tmpdest = tempfile(pattern = "reactions")
download.file(url, destfile=tmpdest)
direction = "LEFT-TO-RIGHT" # sample data is old, so don't mind this code.
sample.reactions = parse.metacyc.reaction(datPath=tmpdest)
print(sample.reactions)
Run the code above in your browser using DataLab