Re: [R] read.socket utils package : something is going wrong

2012-04-04 Thread msalese
Found solution. I've changed the library and functions to open and read sockets. Using base package I wrote: msg3<-"function=subscribe|item=MI.EQCON.1|schema=last_price;ask;bid" msg4<-"function=unsubscribe" #open socket connection socketPointer<-socketConnection('localhost', port=5333, server=FAL

[R] read.socket utils package : somthing is going wrong

2012-04-04 Thread msalese
Hi everyone, I'd appreciate if someone could help me to understand what is happening. I'm attempting to connect R to the broker platform using tcp on localhost 5333. Just to learn how use make.socket, write.socket, ..functions I wrote simple code: #prepare string command to subscribe ask and bid