RMindstream package... has functinality for connecting to a mindstream device