R wrapper for FANN C library