text: user3511: Looking for some guidance.
  In an introductory bioinformatics class I am tasked with doing the following in R:
  
  Create the sequence ACTGACTG
  Generate a random string of nucleotides with equal probabilities.
  
  Are there certain functions that I should be looking at? No library or package or set of functions was provided so I am completely lost. I am assuming there must be functions in R that do these things that I need to manipulate, but I cannot seem to find any resources explaining that. I looked at seq() (thinking it might generate DNA sequences), but it only seems to generate sequences of integers. I also looked at randDNA(), but it is random, how could I make it generate the exact string in question 1).
  Any direction will be greatly appreciated.
  Thanks.
  
  user2085: Without giving away too much for your homework check out the sample() function in R. Think about how you can pass DNA bases to this function to generate random sequences. 
  
original_text: 3511: <p>Looking for some guidance.</p>
  
  <p>In an introductory bioinformatics class I am tasked with doing the following in R:</p>
  
  <ol>
  <li>Create the sequence ACTGACTG</li>
  <li>Generate a random string of nucleotides with equal probabilities.</li>
  </ol>
  
  <p>Are there certain functions that I should be looking at? No library or package or set of functions was provided so I am completely lost. I am assuming there must be functions in R that do these things that I need to manipulate, but I cannot seem to find any resources explaining that. I looked at seq() (thinking it might generate DNA sequences), but it only seems to generate sequences of integers. I also looked at randDNA(), but it is random, how could I make it generate the exact string in question 1).</p>
  
  <p>Any direction will be greatly appreciated.
  Thanks.</p>
   2085: <p>Without giving away too much for your homework check out the <a href="http://www.rexamples.com/14/Sample()" rel="nofollow noreferrer"><code>sample()</code> function in R</a>. Think about how you can pass DNA bases to this function to generate random sequences. </p>
  