This is the change I suggested earlier - it should just disable more of 
user/site customization during package installation/removal, and getting more 
of R 2.8-like behavior back. Attached and inlined below. 
Against svn r48897 (svn HEAD AFAIK).

--------------------------------------------------
diff --git a/src/scripts/INSTALL b/src/scripts/INSTALL
index 42470c2...4c7bae9 100755
--- a/src/scripts/INSTALL
+++ b/src/scripts/INSTALL
@@ -9,4 +9,4 @@ while test -n "${1}"; do
 done
 
 ## NB: Apple's ICU needs LC_COLLATE set when R is started.
-echo 'tools:::.install_packages()' | R_DEFAULT_PACKAGES= LC_COLLATE=C 
"${R_HOME}/bin/R" --no-restore --slave --args ${args}
+echo 'tools:::.install_packages()' | R_DEFAULT_PACKAGES= LC_COLLATE=C 
"${R_HOME}/bin/R" --vanilla --slave --args ${args}
diff --git a/src/scripts/REMOVE b/src/scripts/REMOVE
index dcbe5bf..0be7462 100644
--- a/src/scripts/REMOVE
+++ b/src/scripts/REMOVE
@@ -1,4 +1,4 @@
 # ${R_HOME}/bin/REMOVE for removing add-on packages
 
-R_DEFAULT_PACKAGES=NULL "${R_HOME}/bin/R" -f "${R_SHARE_DIR}/R/REMOVE.R" 
--no-restore --slave --args $@
+R_DEFAULT_PACKAGES=NULL "${R_HOME}/bin/R" -f "${R_SHARE_DIR}/R/REMOVE.R" 
--vanilla --slave --args $@
 
diff --git a/src/scripts/SHLIB b/src/scripts/SHLIB
index d0ab9a0..ab62369 100644
--- a/src/scripts/SHLIB
+++ b/src/scripts/SHLIB
@@ -1,5 +1,5 @@
 #
 # ${R_HOME}/bin/SHLIB
 
-echo 'tools:::.SHLIB()' | R_DEFAULT_PACKAGES=NULL "${R_HOME}/bin/R" 
--no-restore --slave --no-site-file --no-init-file --args $@
+echo 'tools:::.SHLIB()' | R_DEFAULT_PACKAGES=NULL "${R_HOME}/bin/R" --vanilla 
--slave --args $@
 
--------------------
[hin-...@localhost R]$ 



      
diff --git a/src/scripts/INSTALL b/src/scripts/INSTALL
index 42470c2..4c7bae9 100755
--- a/src/scripts/INSTALL
+++ b/src/scripts/INSTALL
@@ -9,4 +9,4 @@ while test -n "${1}"; do
 done
 
 ## NB: Apple's ICU needs LC_COLLATE set when R is started.
-echo 'tools:::.install_packages()' | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" --no-restore --slave --args ${args}
+echo 'tools:::.install_packages()' | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" --vanilla --slave --args ${args}
diff --git a/src/scripts/REMOVE b/src/scripts/REMOVE
index dcbe5bf..0be7462 100644
--- a/src/scripts/REMOVE
+++ b/src/scripts/REMOVE
@@ -1,4 +1,4 @@
 # ${R_HOME}/bin/REMOVE for removing add-on packages
 
-R_DEFAULT_PACKAGES=NULL "${R_HOME}/bin/R" -f "${R_SHARE_DIR}/R/REMOVE.R" --no-restore --slave --args $@
+R_DEFAULT_PACKAGES=NULL "${R_HOME}/bin/R" -f "${R_SHARE_DIR}/R/REMOVE.R" --vanilla --slave --args $@
 
diff --git a/src/scripts/SHLIB b/src/scripts/SHLIB
index d0ab9a0..ab62369 100644
--- a/src/scripts/SHLIB
+++ b/src/scripts/SHLIB
@@ -1,5 +1,5 @@
 #
 # ${R_HOME}/bin/SHLIB
 
-echo 'tools:::.SHLIB()' | R_DEFAULT_PACKAGES=NULL "${R_HOME}/bin/R" --no-restore --slave --no-site-file --no-init-file --args $@
+echo 'tools:::.SHLIB()' | R_DEFAULT_PACKAGES=NULL "${R_HOME}/bin/R" --vanilla --slave --args $@
 
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to