We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57a92b1 commit 09fe8edCopy full SHA for 09fe8ed
dev/conda/activate.sh
@@ -1,5 +1,18 @@
1
#!/bin/sh
2
3
+# ACTIVATE SH
4
+
5
+# This is called when the user activates the Anaconda environment
6
+# containing swift-t or swift-t-r .
7
+# If R_LIBS_USER is unset,
8
+# R will add a default library location to .libPaths()
9
+# This commonly breaks R because the Anaconda R does not match other
10
+# R installations on the same system.
11
+# Here, we force R_LIBS_USER to the Anaconda R library location.
12
+# This may make it more difficult for users to reuse libraries on the
13
+# same system, but that is a small price to pay against very
14
+# confusing error messages due to compiler incompatibilies.
15
16
if [[ ! -z ${R_LIBS_USER+x} ]]; then
17
export R_LIBS_USER_BACKUP="$R_LIBS_USER"
18
fi
0 commit comments