search for: pkgb_path

Displaying 1 result from an estimated 1 matches for "pkgb_path".

Did you mean: pkg_path
2010 Oct 27
1
Sections 5.8.1 and 5.8.2 of Writing R Extensions (LinkingTo)
Hello, In Sections 5.8.1 and 5.8.2 of Writing R Extensions the following pattern is suggested for getting the path to a file in another package: PKGB_PATH=‘echo ’library(packB); cat(system.file("libs", package="packB"))’ \ | ${R_HOME}/bin/R --vanilla --slave‘ Is the library(packB) really needed here? It is not needed on two systems that I have tested: Windows and Linux. What about MacOS? If loading packB requires loading many ot...