Open jzhou19 opened 2 weeks ago
Thanks for the detailed error report. Do you repeatedly get this error, i.e. if you restart R and repeat the commands, do you get the same error? It is very puzzling that the R session gets aborted. Are you running this code within RStudio? Have you tried running the code just in R (not within RStudio)? Maybe also ensuring that all packages are up-to-date might help (using BiocManager::install()
). Also, maybe force re-installation of xcms
using BiocManager::install("xcms", force = TRUE)
.
Thank you for your reply.
Yes, I repeatedly get this error with new R sessions. I run the codes with RStudio.
I've now tried to update all packages, forced re-installation of xcms
, and run the codes in R not RStudio but I still got the same errors. With register(SerialParam())
, R just quit itself. This is not a part of the errors but I noticed that there was a message "value 5" printed before the progress bar for adjustRtime
, not sure what that means.
I had no luck with obiwarp but peak groups alignment (PeaksGroupsParam
), as mentioned in #668, worked for me.
hm. this is the first time I hear such issues causing R to quit. that should not happen and I suspect there might be some problem with the R installation, settings or the compilation of the C code of obiwarp in xcms. Maybe forcing compilation of the code in xcms
might help (i.e. running BiocManager::install("xcms", force = TRUE, type = "source")
)?
From own experience, obiwarp never really worked great on our data sets - so we are also using mostly the PeakGroupsParam
.
Hello,
adjustRtime gave me the following errors when attempting with
xdata = adjustRtime(xdata, param = ObiwarpParam(binSize = 0.6))
Error in manager$availability[[as.character(result$node)]] <- TRUE : wrong args for environment subassignment
Error in serialize(data, node$con) : error writing to connection
I tried
register(SerialParam())
as suggested in #766 but ended up with the "R session aborted" error.Below are the steps I took prior to performing alignment:
For your information,
print(object.size(xdata), unit = "MB")
reported 40.4 MbSession Info as follows: