Debugging R scripts with command line arguments 1…


http://collectifclimat-paysdaix.fr/forum/viewtopic.php?f=4 Debugging R scripts with command line arguments.

http://dabakh.com/?cev=saint-amand-les-eaux-rencontre-femme&970=ef 1. Break up the script into two parts: one for reading the arguments, another one for the analysis.
2. Run R with *-args option. It enters the interactive R session.

Example.

R  --args -p ../../input/M00724-foxa1.mat -s ../../input/mouse_promoter_seqs_EPD.fasta -c 0.55 -o testing_

3. Source the the file reading https://buycbdproducts.com arguments.
The file can read the arguments with commandArgs() or by using the getopt package.

4. Source the analysis script.


Leave a Reply

Your email address will not be published.