CDK-R / cdkr

Integrating R and the CDK
https://cdk-r.github.io/cdkr/
42 stars 27 forks source link

wishlist to expose CDK structure generation code in the package #64

Closed egonw closed 4 months ago

egonw commented 6 years ago

See this post on cdk-user: https://sourceforge.net/p/cdk/mailman/message/36278438/

rajarshi commented 6 years ago

It'd be straight forward to wrap, preferably using a generator. I didn't think anybody actually used the structure generator code

schymane commented 6 years ago

I can back-up Lee/Egon’s interest … there is growing demand for this for sure, it would be great to be able to access it in R. Thanks!

zachcp commented 6 years ago

Lee had emailed me directly and I had told him that we can wrap/use anything that is in CDK. However, what I thought the CDK devs might be able to help with is approaching his problem from within CDK (I am unfamiliar with that module and its usage). Once the logic is understood in java-land, R wrapping should be relatively straightforward requiring only the normal fighting a bit against rJava :)

rajarshi commented 6 years ago

I assume the discussion is referring to https://cdk.github.io/cdk/2.0/docs/api/org/openscience/cdk/structgen/RandomGenerator.html

Seems straightforward to wrap in an iterator. But it looks like the key thing is an acceptance function. Does anybody know of any examples?

egonw commented 6 years ago

ping @steinbeck