[R] To submit R jobs via SLURM
Sema Atasever
s.atasever at gmail.com
Mon Oct 3 11:03:54 CEST 2016
Dear Authorized Sir / Madam,
I have an R script file in which it includes this lines:
How can i to submit this R jobs via SLURM? Thanks in advance.
*testscript.R*
data=read.table("seqDist.50", header=FALSE)[-1]
attach(data)
d=as.matrix(data)
library(cluster)
cluster.pam = pam(d,6)
table(cluster.pam$clustering)
filenameclu = paste("outputfile", ".txt")
write.table(cluster.pam$clustering, file=outputfile,sep=",")
[[alternative HTML version deleted]]
More information about the R-help
mailing list