Rprofile.site on SQL Server update

Claus Munch 1 Reputation point
2021-05-26T13:03:13.17+00:00

Is it intended behavior, that when updating SQL Server, the rprofile.site file will get renamed and a new created, "loosing" the configurations (needing to re-add them manually)?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,492 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Seeya Xi-MSFT 16,586 Reputation points
    2021-05-27T06:04:00.993+00:00

    Hi @Claus Munch ,

    No.
    Just for completeness, there are some ways to prevent you from having this problem.
    You can edit the .libPaths() file and add this command like this:
    .libPaths("/path/to/directory/with/libraries")
    This will put this path as a first value in the .Library variable, and will make it the default.
    If you want to automate this further, you can specify this in the Rprofile.site file, which you find in the /etc/ directory of your R build. Then it will load automatically every time R loads, and you don't have to worry about that any more.
    Please refer to this blog:https://www.it1352.com/1721090.html

    Best regards,
    Seeya


    If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.