powered by
Convert a CSID to a Molfile
cs_csid_mol(csid, token, parse = TRUE, verbose = TRUE, ...)
character, ChemSpiderID.
character; security token.
should the molfile be parsed to a R object? If FALSE the raw mol is returned as string.
FALSE
logical; should a verbose output be printed on the console?
currently not used.
If parse = FALSE then a charactersting, else a RMol-object (from parse_mol)
parse_mol
This is a low level function. Please see cs_convert for the top level function.
cs_convert
# NOT RUN { # Fails because no TOKEN is included token <- '<YOUR-SECURITY-TOKEN>' tric_mol <- cs_csid_mol(5363, token = token) tric_mol cs_csid_mol(5363, token = token, parse = FALSE) # }
Run the code above in your browser using DataLab