Search notes:

RegisterRExt.exe

Enable remote R package managment for SQL Server

In order to be able to install R packages on an SQL server, remote package management must be enabled.
If disabled, the R command sql_install.packages throws a The package management feature is not enabled for the current user or not supported on SQL Server version … error message.
In this case, the package management can be enabled in cmd.exe, when elevated, using RegisterRExt.exe:
RegisterRExt.exe /install pkgmgmt

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1758199678, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/dirs/Program-Files/Microsoft-SQL-Server/version/R_SERVER/library/RevoScaleR/rxLibs/x64/RegisterRExt_exe(41): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78