xieguigang / mzkit

Data toolkits for processing NMR, MALDI MSI, MALDI single cell, Raman Spectroscopy, LC-MS and GC-MS raw data, chemoinformatics data analysis and data visualization.
https://mzkit.org
MIT License
50 stars 16 forks source link

How to Install and Load mzkit or mzkit-hpc in R #29

Open YUANMENG-1 opened 2 months ago

YUANMENG-1 commented 2 months ago

How to install and load mzkit or mzkit-hpc in R? I see require(mzkit) in your zzz.R, but I am unable to install mzkit using BiocManager or devtools::install_github.

YUANMENG-1 commented 2 months ago

devtools::install_local("../mzkit-master/") Error: Failed to install 'unknown package' from local: cannot open the connection In addition: Warning messages: 1: In read.dcf(path) : cannot open compressed file '/Users/jianglab1/Downloads/mzkit-master/DESCRIPTION', probable reason 'No such file or directory' 2: In read.dcf(path) : cannot open compressed file '/Users/jianglab1/Downloads/mzkit-master/DESCRIPTION', probable reason 'No such file or directory'

PQRMQM commented 1 week ago

First install package "Rcpp". Then install package "VisualBasic.R" through release in https://github.com/xieguigang/visualbasic.R. Finally install.packages("....\mzkit-5.2.7336.3219\mzkit-5.2.7336.3219\Rscript\R\mzkit", type = "source", repos = NULL)