#SchoolLibraries #LibPaths #ResearchGuides #DigitalCuration
#SchoolLibraries #LibPaths #ResearchGuides #DigitalCuration
Does anyone know if there is a clean way to give codex access to `.libPaths()` (ie, C:/Users/chris/AppData/Local/R/win-library/4.5 AND C:/Program Files/R/R-4.5.2/library) without giving it full powershell access?
Does anyone know if there is a clean way to give codex access to `.libPaths()` (ie, C:/Users/chris/AppData/Local/R/win-library/4.5 AND C:/Program Files/R/R-4.5.2/library) without giving it full powershell access?
x <- fs::dir_ls(.libPaths())
then you can split by parent folder for quick inspection
split(basename(x), dirname(x))
x <- fs::dir_ls(.libPaths())
then you can split by parent folder for quick inspection
split(basename(x), dirname(x))
.libPaths()
or something like that.
.libPaths()
or something like that.
Just pure pain.
Just pure pain.
#schoollibrarians #librarymanagement #education
psp-assetprotection.co.uk/news/psp-joi...
#schoollibrarians #librarymanagement #education
psp-assetprotection.co.uk/news/psp-joi...
"/home/simon/R/x86_64-pc-linux-gnu-library/4.5"
"/usr/local/lib/R/site-library"
"/usr/lib/R/site-library"
"/usr/lib/R/library"
But I'm not sure how to check where devtools::test() is looking for binaries. I tried installing mirai from github, but test() still couldn't find it
"/home/simon/R/x86_64-pc-linux-gnu-library/4.5"
"/usr/local/lib/R/site-library"
"/usr/lib/R/site-library"
"/usr/lib/R/library"
But I'm not sure how to check where devtools::test() is looking for binaries. I tried installing mirai from github, but test() still couldn't find it
x <- fs::dir_ls(.libPaths()) |>
fs::path_filter(regex = "/[A-Z]+$")
p <- split(basename(x), dirname(x))
for (dir_i in seq_along(p)) {
f <- setNames(p[[dir_i]], rep(" ", length(p[[dir_i]])))
cli::cli_inform(c("{names(p)[dir_i]}", f))
}
x <- fs::dir_ls(.libPaths()) |>
fs::path_filter(regex = "/[A-Z]+$")
p <- split(basename(x), dirname(x))
for (dir_i in seq_along(p)) {
f <- setNames(p[[dir_i]], rep(" ", length(p[[dir_i]])))
cli::cli_inform(c("{names(p)[dir_i]}", f))
}
psp-assetprotection.co.uk/news/libpath...
#schoollibrarians #librarylife #librarysoftware
psp-assetprotection.co.uk/news/libpath...
#schoollibrarians #librarylife #librarysoftware
#schoollibrarians
#schoollibrarians
📚 Learn more about Infiniti & book a FREE demo here: psp-assetprotection.co.uk/sectors/infi...
📚 Learn more about Infiniti & book a FREE demo here: psp-assetprotection.co.uk/sectors/infi...
1) Open terminal
2) Went to /home/michaeltbee/R
2) Did a mkdir 'mylib' - then...
3) Executed in console...
.libPaths(c("/home/michaeltbee/R/mylib"),.libPaths())
...now when I install.packages it should go there. :)
1) Open terminal
2) Went to /home/michaeltbee/R
2) Did a mkdir 'mylib' - then...
3) Executed in console...
.libPaths(c("/home/michaeltbee/R/mylib"),.libPaths())
...now when I install.packages it should go there. :)