R is an open source programming language for statistical computing, maching learning and graphics with broad support in the scientific community. Developers extend R by creating "packages" which implement a desired functionality. An existing R package, WebChem, retrieves chemical information from the web by interacting with major chemical data sources such as ChemSpider, OPSIN, PubChem, etc. Following the guidelines of open source, community development, webchem can be extended with additional features to include further integration with and visualization of Pubchem's chemical data resources.
A second useful extension of webchem will be adding an ability to integrate chemical searches using graphical images of molecular structures. This may be feasible by integrating an R package with the Optical Structure Recognition Application (OSRA), which is an open source app capable of generating SMILES or SDF representations from reading over 90 graphical formats (GIF,JPEG,PNG,etc).