biocswirl-dev-team / BiocSwirl

BiocSwirl is a series of in-depth swirlify generated courses used to teach bioinformatics workflows in R/Bioconductor using an interactive and easy to digest format. This project was the People's Choice Award for the Vancouver Bioinformatics Hackathon Hackseq2019.
30 stars 3 forks source link

Permission denied error #35

Open rachel662 opened 3 years ago

rachel662 commented 3 years ago

Hi there I'm trying to do a biocswirl scRNAseq course but I get a this error message after the following step:

Before we begin, let's load the Seurat package. This is a popular | package for analyzing Single Cell data in R, and what we will be | primarily using for this course

warning` messages from top-level task callback 'mini'
Warning messages:
1: In readRDS(mapfile) : error reading the file
2: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\Rache\OneDrive\Documents\R\win-library\4.0\00LOCK\curl\libs\x64\curl.dll to C:\Users\Rache\OneDrive\Documents\R\win-library\4.0\curl\libs\x64\curl.dll: Permission denied
3: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\Rache\OneDrive\Documents\R\win-library\4.0\00LOCK\processx\libs\x64\processx.dll to C:\Users\Rache\OneDrive\Documents\R\win-library\4.0\processx\libs\x64\processx.dll: Permission denied
4: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\Rache\OneDrive\Documents\R\win-library\4.0\00LOCK\rlang\libs\x64\rlang.dll to C:\Users\Rache\OneDrive\Documents\R\win-library\4.0\rlang\libs\x64\rlang.dll: Permission denied
5: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\Rache\OneDrive\Documents\R\win-library\4.0\00LOCK\stringi\libs\icudt61l.dat to C:\Users\Rache\OneDrive\Documents\R\win-library\4.0\stringi\libs\icudt61l.dat: Invalid argument
6: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\Rache\OneDrive\Documents\R\win-library\4.0\00LOCK\stringi\libs\x64\stringi.dll to C:\Users\Rache\OneDrive\Documents\R\win-library\4.0\stringi\libs\x64\stringi.dll: Permission denied
7: In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\Rache\OneDrive\Documents\R\win-library\4.0\00LOCK\testthat\libs\x64\testthat.dll to C:\Users\Rache\OneDrive\Documents\R\win-library\4.0\testthat\libs\x64\testthat.dll: Permission denied

Do you have any advice on why this problem is happening? Cheers Rachel

lisancao commented 3 years ago

Hi Rachel,

I notice you're on windows, can you verify to me that your RStudio was launched with administrative permissions? It seems like R is trying to copy files from your R packages directory to your OneDrive folder, so I would check the read/write access on the latter. Let me know if you still have issues, we'll try reproducing this on our end.

rachel662 commented 3 years ago

Hi there yes I can verify my Rstudio was launched with administrative permissions, I'll try to look into how to change my one drive access,

One other thing I am also having an issue with is commands like skip() nxt() etc. for some reason they are not being recognised as functions? Has anyone else experienced this error at all

Thanks! Rachel

rachel662 commented 3 years ago

Hi there, sorry for one other problem that I am having in the scRNAseq course, whenever I try and load the data I get this error

pbmc.raw <- Read10X(data.dir = getwd()) Error in Read10X(data.dir = getwd()) : Barcode file missing. Expecting barcodes.tsv

would you have any advice on this? I'm missing something somewhere

Cheers Rachel

almas2019 commented 3 years ago

Hi @rachel662 Thank you for letting us know. This course is currently in active development and we will be working on fixing the bugs in the coming weeks. As for your error above I hope to have that fixed soon.