Answers.Body: <p><strong>First, I would try again to download via the bioconductor command. If your internet is intermittent it may just take a few tries.</strong></p>
  <p>If that doesn't work, I would then strongly recommend using <code>BioCManager</code> <a href="https://www.biostars.org/p/157366/" rel="nofollow noreferrer">to install from a local source</a> wherever you've downloaded the files. If you try to copy the files around there are a lot of ways that things can go wrong, and there are a lot of ways that it still might not work even if you put it in the right place, if you don't use the package manager as intended.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-23T04:39:44.273Z
Answers.Text: Great thanks! I have tried unzipping the `.tar.gz` file and copying it, and things indeed went wrong. Like mentioned, installing from local sources seemed to be the best way.
Answers.UserDisplayName: Lloyd_LiuSiyi
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-22T18:25:52.597Z
Answers.LastActivityDate: 2022-11-22T19:46:54.840Z
Answers.LastEditDate: 2022-11-22T19:46:54.840Z
Answers.UserDisplayName: Maximilian Press
Body: <p>I was trying to format my GWAS summary statistics with the <code>MungeSumstats</code> R package and would need to install <code>SNPlocs.Hsapiens.dbSNP155.GRCh37</code> and <code>BSgenome.Hsapiens.1000genomes.hs37d5</code> as reference panel. <br />
  I typed
  <code>BiocManager::install(&quot;SNPlocs.Hsapiens.dbSNP144.GRCh37&quot;) BiocManager::install(&quot;BSgenome.Hsapiens.1000genomes.hs37d5&quot;)</code>
  but failed due to Internet connection problems. So I planned to download the files from the web browser and copy them to the R library. I was wondering where I should put the files. If they were downloaded from R, where would they be saved? <br />
  I would really appreciate any answers, thanks!</p>
  
Tags: <r><bioconductor><reference-genome>
Title: file path of BiocManager:install()
ThreadText: # file path of BiocManager:install()
  
  (Asked by: username_0 on 2022-11-22)
  
  I was trying to format my GWAS summary statistics with the `MungeSumstats` R package and would need to install `SNPlocs.Hsapiens.dbSNP155.GRCh37` and `BSgenome.Hsapiens.1000genomes.hs37d5` as reference panel.   
  I typed
  `BiocManager::install("SNPlocs.Hsapiens.dbSNP144.GRCh37") BiocManager::install("BSgenome.Hsapiens.1000genomes.hs37d5")`
  but failed due to Internet connection problems. So I planned to download the files from the web browser and copy them to the R library. I was wondering where I should put the files. If they were downloaded from R, where would they be saved?   
  I would really appreciate any answers, thanks!
  
  **Tags:** r, bioconductor, reference-genome
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-11-22. Score: 3
  
  **First, I would try again to download via the bioconductor command. If your internet is intermittent it may just take a few tries.**
  
  If that doesn't work, I would then strongly recommend using `BioCManager` [to install from a local source](https://www.biostars.org/p/157366/) wherever you've downloaded the files. If you try to copy the files around there are a lot of ways that things can go wrong, and there are a lot of ways that it still might not work even if you put it in the right place, if you don't use the package manager as intended.
  
  > **Comments:**
  > **username_0**: Great thanks! I have tried unzipping the `.tar.gz` file and copying it, and things indeed went wrong. Like mentioned, installing from local sources seemed to be the best way.  
  
  ---
  
  