question

munch avatar image
0 Votes"
munch asked SeeyaXi-msft commented

Rprofile.site on SQL Server update

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-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @munch,

We have not received a response from you. Did the reply could help you? If the response helped, do "Accept Answer". If it is not help, please let us know the progress. By doing so, it will benefit all community members who are having this similar issue. Your contribution is highly appreciated.

0 Votes 0 ·

1 Answer

SeeyaXi-msft avatar image
0 Votes"
SeeyaXi-msft answered

Hi @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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.