I was trying to connect to SciDB within R but get an error message:
> library ("scidb") Loading required package: iterators > scidbconnect (host = "localhost", port = 1239L) Error in scidbquery(query = "list()", release = 1, resp = TRUE) : SciDB http session error; are you connecting to a valid SciDB host? [/code] SciDB http session error; are you connecting to a valid SciDB host? On the server side the log shows: [code]2013-04-08 16:45:26,134 [0x7f3bd71e9840] [DEBUG]: Connection started from CLIENT (127.0.0.1) 2013-04-08 16:45:26,134 [0x7f3bd71e9840] [ERROR]: Invalid protocol version: 17735 2013-04-08 16:45:26,135 [0x7f3bd71e9840] [ERROR]: Network error in handleReadMessage: unknown message, closing connection 2013-04-08 16:45:26,135 [0x7f3bd71e9840] [DEBUG]: Disconnected
I can use iquery to query the same SciDB instance:
[code]$ iquery -o lcsv+ -aq "list(‘arrays’)"
[/code]I’m using an RHEL6.3 64-bit on EC2.
Am I doing anything wrong?