Let's see what we can do to get this solved together.
First, let's take a look in your Tableau repository., just to verify that the Services subdirectory exists, and if so, if there's an ExtSvcConfig.xml file within it.
If it's there, right-click it, choose properties, and verify that it isn't set to Read-Only.
If it isn't, let's try again to build it through the dialogue by setting up the connection, testing to make sure that RServe is listening on port 6311. Assuming you're still getting a successful test, click OK there and on the External Service Connection dialogue. [The latter *should* write the config file, but if for some reason it still hasn't, we can do it manually.]
Now we can take a look and see - the file should now have been written. If not, here's what belongs in it:
<?xml version='1.0' encoding='utf-8' ?>
<connection ext-svc-type='ext-svc-type-rserve' host='localhost' port='6311' prev-host='' timeout='1000' />
I've also attached this content - you'd want to rename it and remove the ".sample" portion.
If this still isn't working for you, don't hesitate to reply and we'll figure out together what the next step should be.
ExtSvcConfig.xml.sample.zip 312 bytes
Thank you for your reply earlier. Even after creating this .xml file and storing it within the Services folder in My Tableau Repository, I am still receiving the same result.
OK. This will require a little more digging into, then.
What OS version are you running, and which version of Tableau Desktop - it's earlier than 2018.3 from the dialogue, but I can't discern further.-- I want to see if I can manage to duplicate your environment.
It'd also be helpful if when you start RServe from with your R instance, you would do it this way:
Seeing how the console outp[ut differs between the test connection and the failing "real" one might lend a key bit of insight to the puzzle.
Thanks in advance,
Is it possible your machine has administrator restrictions that would block Tableau from accessing files in that directory?
This error is coming from the Tableau side independent of the R or Python servers.