#create an SDF from a SMILES string and put the atoms in the canonical order
sdfStr = convertFormat("SMI","SDF","CC(=O)OC1=CC=CC=C1C(=O)O\ttest_name",
options=data.frame(names="canonical",args=""))
Run the code above in your browser using DataLab