Hi, If you are a newbie to the terminal, all you need to do is to extract the R code from your vignette using `R CMD Stangle xcms-lcms-ms.Rmd`(assume you are under the vignettes directory). Then use `R -d valgrind -f xcms-lcms-ms.R` to check for the memory issue. In the ideal case, it can directly tell you where the problem is. If you have bad luck then you should read through some tutorials and figure out how to dig deeper into this problem. Here is a nice introduction for using Valgrind in R:
https://kevinushey.github.io/blog/2015/04/05/debugging-with-valgrind/ Best, Jiefei On Sat, Sep 25, 2021 at 9:02 PM Neumann, Steffen <sneum...@ipb-halle.de> wrote: > > Hi, > > On Fri, 2021-09-24 at 07:28 -0400, Martin Morgan wrote: > > Errors that are intermittent and platform-specific are often due to > > memory corruption, and can be investigated on Linux platforms with > > valgrind or similar tools. Have you taken this approach? > > I am afraid that is beyond my skillset :-( > > Yours, > Steffen > > > -- > > Upcoming events: > * Save-the-date: 22.-24.11.2021 3rd metaRbolomics Hackathon, Wittenberg > (Germany) > > https://www.denbi.de/training/1177-3rd-de-nbi-elixir-de-metarbolomics-hackathon > > --- > IPB Halle Bioinformatics and Scientific Data > Dr. Steffen Neumann http://www.IPB-Halle.DE > Weinberg 3 Tel. +49 (0) 345 5582 - 1470 > 06120 Halle +49 (0) 345 5582 - 0 > sneumann(at)IPB-Halle.DE Fax. +49 (0) 345 5582 - 1409 > _______________________________________________ > Bioc-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/bioc-devel _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel