Hi all,
I've written R script. The purpose of this script is processing expression data and building around 100000 models from it. Since the computation load is too high, it's necessary to run this script on multiple cores and when I run it on the server, it is just using one of the CPUs. Is there a way to run R script on multiple CPUs?
Sorry, this is a pure programming question and therefore off-topic. closing
Parallelized R work is certainly relevant to bioinformatics. We also have several questions of this sort ("pure programming") open elsewhere (example currently on the front page: best free text editor for all popular languages (R, Python, Perl etc..)) so I'm going to reopen.
It is relevant, interesting and off-topic, as pure python programming is.
I'm not sure what this means, but I think we can assume good faith of users asking questions, who have asked other bioinformatics-focused questions, that their question here is also relevant to this site's mission, in the spirit of sharing and furthering knowledge. Reopening.
We would normally ask users to edit the question so as to indicate relevance to a bioinformatics research problem; then close if they do not comply. As it stands, this is a pure R programming question more suited to e.g. StackOverflow. Where it would be downvoted for insufficient prior research :)
SO loves a good down vote, for better or worse.
@OP: Perhaps you might want to give us an idea of what it is you want to compute and we can improve our responses.
Seems like this thread was closed prematurely, then. But I still do not understand the reflexive presumption of bad faith or irrelevance (unless the post is obviously spam or something of that nature). We're all here to learn, and this subject matter is certainly applicable to many bioinformatic analyses.
I don't think the issue is "reflexive presumption". We're just trying to keep the forum on-topic so as when people visit, they see a bioinformatics Q & A, not a programming Q & A. Subject matter is often applicable, but we want that application to be explicit.
There is nothing reflexive about trying to maintain the site, and I don't presume anything about the "faith" or "bad faith" (or maybe better presumed intention, we are scientists after all) of OP. We are trying hard to keep the forum on-topic. There are lots of topics that bioinformatics builds on and pure programming is one of them, nevertheless I have the feeling that such questions do belong elsewhere if no connection to biology is visible.
Also, this question was originally a single sentence question, something which most of the time is a sign of lack of research or lack of detail or laziness. those questions are after my standards more prone to be closed.
Im not going to engage in a close-reopen war, but you have just acknowledged that there is no obvious connection to bioinformatics, because you had to construct one in good faith. The relation to bioinformatics should be obvious from the question, not be inferred. In fact it is extremely obvious that it is off-topic.