#create and initialize a new SQLite database
conn = initDb("test3.db")
data(sdfsample)
#just load the data with no features or descriptors
ids=loadSdf(conn,sdfsample)
#returns a SDFset with 3 compounds
getCompounds(conn, ids[1:3])
unlink("test3.db")
Run the code above in your browser using DataLab