convMolFormat(infile = system.file('sysdata/OptAA3d.sdf', package = 'Rcpi'),
outfile = 'aa.smi', from = 'sdf', to = 'smiles') # SDF to SMILES
convMolFormat(infile = 'aa.smi', outfile = 'aa.mop',
from = 'smiles', to = 'mop') # SMILES to MOPAC Cartesian format
Run the code above in your browser using DataLab