Skip to content

Instantly share code, notes, and snippets.

@pauca
Created October 13, 2015 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pauca/cabed346d38607886717 to your computer and use it in GitHub Desktop.
Save pauca/cabed346d38607886717 to your computer and use it in GitHub Desktop.
R_chem_snippets
# CAS -> smiles with CACTUS server
sapply(cas, function(id){
require(RCurl)
return(getURL(paste("http://cactus.nci.nih.gov/chemical/structure/",id,"/smiles",sep="")))
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment