Hi
One features I mis from R-studio is the ability to reflow comments. For example lets say I paste the following comment in a code cell
"This dataset checks that your code always picks the first-occurring Profile-most Probable
k-mer in a given sequence of Dna. In the first sequence (“GCCCAA”), “GCC” and “CCA” are
both Profile-most Probable k-mers. However, you must return “GCC” since it occurs earlier than
“CCA”. Thus, if the first sequence of your output is “CCA”, this test case fails your code.”
After “reflow” the comment looks like
# test data set 1
# This dataset checks that your code always picks the first-occurring
# Profile-most Probable k-mer in a given sequence of Dna. In the first
# sequence (“GCCCAA”), “GCC” and “CCA” are both Profile-most Probable
# k-mers. However, you must return “GCC” since it occurs earlier than
# “CCA”. Thus, if the first sequence of your output is “CCA”, this test
# case fails your code.
Now if I go through and edit the commented section all I have to is ‘re-flow’ and it will reformat my comments so that no line is more than a fixed length
Kind regards
Andy
P.s. I am using a mac. Hopefully their is a keyboard short cut