2
Is there some advantage in terms of speed or some other aspect?
Shows the connections:
showConnections(all = TRUE)
Individual examples:
stdin()
stdout()
stderr()
2
Shows the connections:
showConnections(all = TRUE)
Individual examples:
stdin()
stdout()
stderr()
2
To answer your question, let’s understand what your problem is and what the alternative solutions are. Your problem is to transfer data between two processes, R and Python. Here are some solutions to this problem:
Browser other questions tagged r console
You are not signed in. Login or sign up in order to post.
John, could you clarify the question a little more? Is there an advantage over what, under what circumstances?
– Carlos Cinelli
I have a Python script that sends R a simplified JSON on a line that I receive per stdin, do what I have to do and then return in the same format by stdout. I have tried to argue that you could send me JSON in another way but insist that this form is the best.
– João Dias
So I think it would be interesting to explain this content in the question! Abs
– Carlos Cinelli