Displaying 4 results from an estimated 4 matches for "expand_r_libs_env_var".
2014 Apr 25
0
Preventing $R_HOME/site-library/ via R_LIBS_SITE=":" (no other way?)
...ectory), but using the OS's path separator
is at least according to the docs.
TROUBLESHOOTING/PATCHING:
I don't see an obvious elegant fix to this in R, but I believe the
issue is that the system/global Rprofile
(src\library\profile\Common.R) does:
Sys.setenv(R_LIBS_SITE =
.expand_R_libs_env_var(Sys.getenv("R_LIBS_SITE")))
Here this information on whether R_LIBS_SITE is unset or empty is
lost. Sys.getenv("R_LIBS_SITE", NA_character_) would distinguish the
two cases. However, NA_character_ is coerced to "NA" in
Sys.setenv(R_LIBS_SITE = ...), which means a si...
2018 Jan 12
0
R minor version
> .expand_R_libs_env_var("poof/%p/%v")
[1] "poof/x86_64-w64-mingw32/3.4"
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Jan 12, 2018 at 4:49 AM, Loris Bennett <loris.bennett at fu-berlin.de>
wrote:
> Hi,
>
> When I install a package as a non-root user, it gets saved in a path
&...
2018 Jan 12
2
R minor version
Hi,
When I install a package as a non-root user, it gets saved in a path
such as
~/R/x86_64-unknown-linux-gnu-library/3.4
for any R version 3.4.x. Thus, if I want to install the packages
somewhere else, as root say, I might do
install.packages("somepackage","/some/where/else/R/site-library/3.4")
In this case I would then want to construct the appropriate path in,
say,
2011 Dec 13
0
paste0 bug in install.packages() - leopard installer?
...ums checked
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
*** arch - i386
*** arch - ppc
Error in paste0("(^|[^%])(%%)*%", spec) : not a BUILTIN function
Calls: Sys.setenv -> .expand_R_libs_env_var -> expand -> gsub -> paste0
Execution halted
*** arch - x86_64
ERROR: loading failed for 'ppc'
* removing '/Library/Frameworks/R.framework/Versions/2.15/Resources/library/abind'
The downloaded packages are in
'/private/tmp/RtmpiZoTMy/downloaded_packages'
Warning m...