Partager via


Upgrading or Reinstalling R

Applies to: DeployR 8.x (See comparison between 8.x and 9.x)

Looking to deploy with Machine Learning Server? Start here.

On Windows

Reinstalling Microsoft R Server for DeployR Enterprise

Carefully follow the order presented whenever you reinstall Microsoft R Server on a Windows machine hosting DeployR Enterprise:

On the main DeployR server machine:

  1. Backup the DeployR database.
  2. Uninstall the DeployR main server.
  3. Uninstall Microsoft R Server using the instructions provided with your existing version of Microsoft R Server.
  4. Install Microsoft R Server and all its prerequisites as described in the instructions provided with that version of Microsoft R Server.
  5. Reinstall the DeployR main server on DeployR for Microsoft R Server | DeployR 8.0.0
  6. Restore the DeployR database.

On each DeployR grid node machine:

  1. Uninstall the DeployR grid node.
  2. Uninstall Microsoft R Server using the instructions provided with your existing version of Microsoft R Server.
  3. Install Microsoft R Server and all its prerequisites as described in the instructions provided with that version of Microsoft R Server.
  4. Install the DeployR grid node on DeployR for Microsoft R Server | DeployR 8.0.0.

For each DeployR Enterprise instance, the server and grid nodes should all run the same version of R.

Reinstalling RRO or R for DeployR Open

Carefully follow the order presented whenever you reinstall Revolution R Open or CRAN R on a machine hosting DeployR Open 8.0.0:

On the main DeployR Open server machine:

  1. Backup the DeployR database.
  2. Uninstall the DeployR main server.
  3. Uninstall Revolution R Open or CRAN R.
  4. Install Revolution R Open or CRAN R along with all of its prerequisites as described in the Revolution R Open or CRAN R installation instructions.
  5. Reinstall the DeployR main server.
  6. Restore the DeployR database.

Troubleshooting on Windows

If Microsoft R Server or Microsoft R Open is not reinstalled as described at the beginning of this document, then Rserve may be missing.

Try the following:

  1. Run the diagnostics to determine whether the issue is on the main server or a grid node.
  2. If RServe is not running and you cannot find it in the \bin\x64 subdirectory of the Microsoft R Server install directory, then you must reinstall as described above.
  3. If there are other issues reported in the diagnostics log, attempt to fix them now.
  4. Run the diagnostics again.

In the event that you need additional support, send the diagnostics tar/zip file to the Microsoft Corporation technical support team.

On Linux

Reinstalling Microsoft R Server for DeployR Enterprise

Carefully follow the order presented whenever you reinstall Microsoft R Server on a Linux machine hosting DeployR for Microsoft R Server:

On the main DeployR server machine:

  1. Stop DeployR.
  2. Uninstall Microsoft R Server using the instructions provided with your existing version of Microsoft R Server.
  3. Install Microsoft R Server and all its prerequisites as described in the instructions provided with that version of Microsoft R Server.
  4. Start DeployR.

On each DeployR grid node machine:

  1. Uninstall the DeployR grid node on DeployR for Microsoft R Server | DeployR 8.0.0.
  2. Uninstall Microsoft R Server using the instructions provided with that product.
  3. Install Microsoft R Server and all its prerequisites as described in that product's instructions.
  4. Install the DeployR grid node. on DeployR for Microsoft R Server | DeployR 8.0.0.

For each DeployR Enterprise instance, the server and grid nodes should all run the same version of R.

Reinstalling RRO or R for DeployR Open

Carefully follow the order presented whenever you reinstall Revolution R Open or CRAN R on a machine hosting DeployR Open 8.0.0:

On the main DeployR Open server machine:

  1. Stop DeployR.
  2. Uninstall Revolution R Open or CRAN R.
  3. Install Revolution R Open or CRAN R along with all of its prerequisites as described in the Revolution R Open or CRAN R installation instructions.
  4. Start DeployR.

Troubleshooting on Linux

If the issue is that Rserve is not running on a machine, then you'll need to restart it.

Try the following:

  1. Run the diagnostics to determine whether the issue is on the main server or a grid node.
  2. Make sure there is no activity on the DeployR grid.
  3. Stop DeployR on the machine in question.
  4. Attempt to correct all issues reported in the diagnostics log.
  5. Start DeployR on the machine in question.
  6. Run the diagnostics again.

In the event that you need additional support, send the diagnostics tar/zip file to the Microsoft Corporation technical support team.