Enhance RObjectFactory
Add more methods to create R data stores and objects to the interface RObjectFactory to make it more advantageous.
-
Pull up methods from DefaultRObjectFactory to the interface. With default methods for interface, most methods can be moved with the implementation now.
In particular add for all data types:
create*Data
create*Vector
create*Array
create*Matrix
-
Unify API:
- offer the same method signatures for all data types
- use always long for length
-
Add methods with List<String> for char values in addition to String arrays.
Also add more Javadoc to clarify the API.
Edited by Stephan Wahlbrink