Hi

Im trying to connect to IB via R. I have logged into IB and downloaded the
latest API version from the website. In the API setting I have also enabled
DDE clients.

However in R when I call the following function tws <- twsConnect()

I get the following error msg

Error in socketConnection(host = host, port = port, open = "ab", blocking =
blocking) :
  cannot open the connection
In addition: Warning message:
In socketConnection(host = host, port = port, open = "ab", blocking =
blocking) :
  localhost:7496 cannot be opened

Can someone please help me on this

	[[alternative HTML version deleted]]

