lbilli

Results 26 comments of lbilli

Difficult to say without a way to reproduce. Here are some thoughts that first come to mind: - I typically see that error when TWS suddenly and unilaterally closes the...

It looks like you are trying to start an already open connection. Try issuing `ic$disconnect()` first. But, more importantly, since you mention `http` and `port=5000` it seems you are trying...

This package has no use with the Client Portal. It certainly is possible to run TWS on a server or cloud, which I do. If you don't know already, you...

The code uses `IBWrap` directly, which is just a base class whose methods don't do anything except print a warning. In general you want to define your own callbacks wrapper...

First of all, thanks for your feedback. Now, that's an odd error that I rarely encountered before, however as I was trying to reproduce that behavior, it happened to me...

It might about endianess... Out of curiosity, if you don't mind, could you paste the following in a R session and report back the output? ```R txt

Well, that's what I get. Could you try pasting this in R, while a fresh TWS is listening on 7496? ```R port

Well, that looks correct: the handshake with TWS is successful. I'd rule out endianness issues. My next suspect would be `socketSelect()` and this [issue](https://github.com/rstudio/rstudio/issues/1997) caught my attention. Are you on...

I tried removing `socketSelect()`. Could you try the following? ```R remotes::install_github("lbilli/rib", "issue2") library(rib) ew

That looks more like a namespace issue... maybe due to sourcing some files individually (_e.g._ `IBClient.R`) rather than loading the package as a whole. Anyways, I think I'll have to...