Closed adelenelai closed 4 years ago
Works fine for me. I'm wondering about a couple of things:
.jclass(mols)
.jclass(mols[[1]])
library(rcdk)
J("org/guha/rcdk/view/ViewMolecule2DTable")`
# launch R with R --vanilla
library(rcdk)
smiles <- c('CCC', 'CCN', 'CCN(C)(C)',
'c1ccccc1Cc1ccccc1',
'C1CCC1CC(CN(C)(C))CC(=O)CC')
mols <- parse.smiles(smiles)
view.molecule.2d(mols[[1]])
or from bash
Rscript -e "library(rcdk); smiles <- c('CCC', 'CCN', 'CCN(C)(C)','c1ccccc1Cc1ccccc1','C1CCC1CC(CN(C)(C))CC(=O)CC')
mols <- parse.smiles(smiles)
view.molecule.2d(mols[[1]])"
both of those work fine on my machine.
Thanks Zach, I'll check when I have access to my original machine tomorrow.
closing because don't have access to the original machine I used any more, thanks anyway to Zach for some tips
Hi again,
Tried replicating the vignette's example:
Out:
With sessionInfo():