Skip to content

Instantly share code, notes, and snippets.

View skilpinen's full-sized avatar

Sami Kilpinen skilpinen

View GitHub Profile
@skilpinen
skilpinen / snippets.js
Created August 23, 2023 18:56
GLIBCXX_3.4.30 error in Linux WSL
None of the above answers worked for me, unfortunately. What I ended up doing was to manually inspect the libstdc++.so.6 file.
First, I checked the system file, and it returned nothing on my side:
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX_3.4.30
Then, I took a look the conda file, and it was there:
strings /path-to-your-conda/envs/your-env-name/lib/libstdc++.so.6 | grep GLIBCXX_3.4.30
@skilpinen
skilpinen / R_install_snippets.js
Created August 1, 2023 11:33
R431 environment installation in Windows 11
.libPaths(c("C:/Users/samik/OneDrive/Documents/R_libraries/r431_packages/", .libPaths()))
libpath <- .libPaths()[1]
install.packages(c("BiocManager","pacman","devtools"), lib=libpath)
library(BiocManager)
library(devtools)
withr::with_libpaths(new = libpath,install_github(repo="immunogenomics/presto"))
BiocManager::install("ggplot2", lib=libpath)
withr::with_libpaths(new = libpath,install_github(repo="satijalab/seurat-wrappers"))