#LibPaths
lapply(.libPaths, list.files)
March 22, 2025 at 12:32 AM
I completely forgot I had this setup in my R Profile.
🏳️‍🌈 Happy Pride 🏳️‍🌈

All the code is in the image Alt! #rstats #databs
June 3, 2025 at 6:47 PM
Digital curation is a big part of my role and the start of the school year means new LibPaths for subject units and updating the general resource and how-to pages, including the multimedia, podcasting and artificial intelligence LibPaths.
#SchoolLibraries #LibPaths #ResearchGuides #DigitalCuration
February 7, 2024 at 7:51 PM
Doing some testing with codex in #rstats. It seems quite a bit behind Claude Code...

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?
March 17, 2026 at 1:10 PM
pleased with this split() usage. suppose you have a vector of files in different folders. for example, my R packages

x <- fs::dir_ls(.libPaths())

then you can split by parent folder for quick inspection

split(basename(x), dirname(x))
September 19, 2024 at 7:41 PM
Or, easier still, you can manually copy the package folders installed for your previous version of R and drop them in the new version of R’s installation folder, which you can find out with the R command:

.libPaths()

or something like that.
April 13, 2025 at 9:53 PM
We did this with Azure Blobfuse. This requires that you also have an .Rprofile to update your `.libPaths()` as well.

Just pure pain.
December 6, 2024 at 9:03 PM
We started 2025 on a high note after becoming a trusted Crescent Purchasing Consortium supplier for #Infiniti, our best-in-class School Library Software! 🥳 Read our latest blog to learn more.

#schoollibrarians #librarymanagement #education

psp-assetprotection.co.uk/news/psp-joi...
PSP Joins the Crescent Purchasing Consortium for Schools
PSP has been named as a supplier on the Crescent Purchasing Consortium (CPC) framework for library management software Infiniti & LibPaths.
psp-assetprotection.co.uk
January 21, 2025 at 8:39 PM
.libPaths() gives:
"/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
October 20, 2025 at 9:10 PM
using codex tokens trying to get its .libPaths() to work
June 25, 2026 at 5:50 PM
now we're like halfway to really hacky directory tree

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))
}
September 19, 2024 at 8:11 PM
Not that you need another reason, but visit PSP on Stand 20 at the @sla.org.uk Weekend Course next week to check out the award-winning LibPaths + Infiniti! 🥳 🏆 You might even win a £150 book hamper...

psp-assetprotection.co.uk/news/libpath...

#schoollibrarians #librarylife #librarysoftware
May 30, 2025 at 9:17 AM
Another peek at our @sla.org.uk Weekend prizes. 👀 When you collect your draw ticket from Stand 20, check out #LibPaths + #Infiniti. 🏆 @aaslala.bsky.social says LibPaths is one of 2025's Best Digital Tools for Teaching & Learning: psp-assetprotection.co.uk/news/libpath...

#schoollibrarians
May 27, 2025 at 10:13 AM
Happy Friday #schoollibrarians! Here's a reminder about our market-leading, cloud-native library management system #Infiniti & #LibPaths + our stress-free data migration service. 👍

📚 Learn more about Infiniti & book a FREE demo here: psp-assetprotection.co.uk/sectors/infi...
May 9, 2025 at 11:11 AM
Making a 'mylib' path.
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. :)
October 23, 2025 at 1:23 AM
If you don’t remember where the previous version of R installed its packages, there’s a way to switch from R Studio to that version; then you can type .libPaths() in the R Console and press Enter.
April 13, 2025 at 9:55 PM
Looking into #r2u and #bspm in #rstats. The FAQ says it won't work with renv::install() and I get why. But is it possible to install multiple versions of a package? Say I want two different versions of {targets}, can I install into specific libraries? Maybe if I set .libPaths()? @eddelbuettel.com
August 24, 2024 at 5:54 PM
I would check if for some reason the .libPaths() is different.
October 20, 2025 at 8:36 PM