From e92727f871c2c8217251e34e52438f18c5f013bb Mon Sep 17 00:00:00 2001
From: Johannes Ranke oct <- chent$new("1-octanol", smiles = "CCCCCCCCO", pubchem = FALSE)
#> Trying to get chemical information from RDKit using user SMILES
#> CCCCCCCCO
-#> Error in URLencode(self$identifier): could not find function "URLencode"
+#> Did not find chyaml file ./1-octanol.yaml
print(oct)
-#> Error in eval(expr, envir, enclos): object 'oct' not found
+#> <chent>
+#> Identifier $identifier 1-octanol
+#> InChI Key $inchikey
+#> SMILES string $smiles:
+#> user
+#> "CCCCCCCCO"
+#> Molecular weight $mw: 130.2
if (!is.null(oct$Picture)) {
plot(oct)
}
-#> Error in eval(expr, envir, enclos): object 'oct' not found
caffeine <- chent$new("caffeine")
#> PubChem:
#> Trying to get chemical information from RDKit using PubChem_Canonical SMILES
#> CN1C=NC2=C1C(=O)N(C(=O)N2C)C
-#> Error in URLencode(self$identifier): could not find function "URLencode"
+#> Did not find chyaml file ./caffeine.yaml
print(caffeine)
-#> Error in eval(expr, envir, enclos): object 'caffeine' not found
+#> <chent>
+#> Identifier $identifier caffeine
+#> InChI Key $inchikey RYYVLZVUVIJVGH-UHFFFAOYSA-N
+#> SMILES string $smiles:
+#> PubChem_Canonical
+#> "CN1C=NC2=C1C(=O)N(C(=O)N2C)C"
+#> Molecular weight $mw: 194.2
+#> PubChem synonyms (up to 10):
+#> [1] "caffeine" "58-08-2"
+#> [3] "Guaranine" "1,3,7-Trimethylxanthine"
+#> [5] "Methyltheobromine" "Theine"
+#> [7] "Thein" "Cafeina"
+#> [9] "Koffein" "Mateina"
if (!is.null(caffeine$Picture)) {
plot(caffeine)
}
-#> Error in eval(expr, envir, enclos): object 'caffeine' not found
+
+#> <pai> with ISO common name $iso atrazine
+#> <chent>
+#> Identifier $identifier atrazine
+#> InChI Key $inchikey MXWJVTOOROXGIU-UHFFFAOYSA-N
+#> SMILES string $smiles:
+#> PubChem_Canonical
+#> "CCNC1=NC(=NC(=N1)Cl)NC(C)C"
+#> Molecular weight $mw: 215.7
+#> PubChem synonyms (up to 10):
+#> [1] "atrazine" "1912-24-9" "Gesaprim" "Oleogesaprim" "Aktikon"
+#> [6] "Atranex" "Chromozin" "Atazinax" "Atrasine" "Gesoprim"