Closed Tschubaty closed 4 years ago
Hi @Tschubaty.
Thanks for getting in touch. From the path you specified ('C:/Users/owner/Documents/GitHub/NanoR.tar.gz', repos=NULL) it seems to me that you are a Windows user. Generally speaking, Windows users have to replace all "/" with double "\". This is true for all the paths you specify within the R environment.
For your example
'C:/Users/owner/Documents/GitHub/NanoR.tar.gz'
The correct path should be:
'C:\\Users\\owner\\Documents\\GitHub\\NanoR.tar.gz'
This will probably solve your problem.
Thx, the file string path was the problem. install.packages("C:/Users/owner/Documents/GitHub/NanoR/NanoR.tar.gz", repos=NULL) worked
R version 3.6.1 (2019-07-05) -- "Action of the Toes" Copyright (C) 2019 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit)
installation prerequisites
ipak <- function(pkg){ new.pkg <- pkg[!(pkg %in% installed.packages()[, "Package"])] if (length(new.pkg)) install.packages(new.pkg, dependencies = TRUE, repos="http://cran.cnr.berkeley.edu/") sapply(pkg, require, character.only = TRUE) } packages <- c("ggplot2","reshape2","RColorBrewer","scales","gridExtra") ipak(packages) if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager") packages<-c('rhdf5', 'ShortRead') BiocManager::install(packages)
install.packages('C:/Users/owner/Documents/GitHub/NanoR.tar.gz', repos=NULL)