File tree 2 files changed +23
-0
lines changed
2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 423
423
424
424
\i tem There is preliminary support for C++26 with GCC \e qn{>=} 14, Apple
425
425
\c ommand{clang++} \e qn{>=} 16 and \I {LLVM} \c ommand{clang++} \e qn{>=} 17.
426
+
427
+ \i tem \c ode{install.packages()} supports setting a different path for the
428
+ intermediate \c ode{00LOCK} directories through the environment variable
429
+ \c ode{R_LOCKDIR_PREFIX}. This helps source package installation in some
430
+ distributed filesystems available in cloud environments like databricks.
431
+ Check the
432
+ \d Quote{R Installation and Administration} manual for further details on
433
+ this option.
434
+
426
435
}
427
436
}
428
437
Original file line number Diff line number Diff line change @@ -2061,6 +2061,20 @@ comparable age to your version of @R{}).
2061
2061
Naive users sometimes forget that as well as installing a package, they
2062
2062
have to use @code {library } to make its functionality available.
2063
2063
2064
+ The package installation process has some standard requirements on the
2065
+ file system where packages are installed. Specifically, when a \emph{source
2066
+ package} needs to be installed, R needs to be able
2067
+ to open files in append mode \code{open(filename, "a")}. R also expects to
2068
+ be able to perform atomic directory moves during package installation
2069
+ to ensure correct error recovery from package installation errors (see
2070
+ \uref{https://developer.r-project.org/Blog/public/2019/02/14/staged-install/index.html}).
2071
+ Both requirements are fullfilled by POSIX and Windows filesystems, but not by
2072
+ some distributed file systems. In scenarios where opening append mode is not available, the
2073
+ @env {R_LOCKDIR_PREFIX } environment variable can be set to specify the absolute path to
2074
+ a different directory (in a compliant file system) where the package can be preinstalled
2075
+ before being moved to its final destination. While this approach makes package installation
2076
+ in those file systems possible, the error recovery capabilities will not be as robust as
2077
+ on supported filesystems.
2064
2078
2065
2079
@node Windows packages
2066
2080
@subsection Windows
You can’t perform that action at this time.
0 commit comments