• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

How to generat 256 bit binary random numbers IN R PROGRAMMING LANGUAGE

Hi

I have  a question about R programming languge and I realy do not know where is the best place to be posted.

I would like to generat 256 bit binary random numbers.

I started with  rmvbin function but I dont know whether I am doning right or not , plase see below what I did:


Anyone can help in this?
Untitled.jpg
0
kwnan
Asked:
kwnan
  • 2
1 Solution
 
TommySzalapskiCommented:
Well, if you want a uniform random 256 bit integer, then getting 256 random bits at a .5 probability will certainly do the trick.
0
 
kwnanAuthor Commented:
that mean I am doing right?
0
 
TommySzalapskiCommented:
Yes. Your way works.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now