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

Posted on 2011-04-20
Last Modified: 2016-02-10

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?
Question by:kwnan
    LVL 37

    Expert Comment

    Well, if you want a uniform random 256 bit integer, then getting 256 random bits at a .5 probability will certainly do the trick.

    Author Comment

    that mean I am doing right?
    LVL 37

    Accepted Solution

    Yes. Your way works.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit ( and similar technologies have enjoyed wide adoption, making it possib…
    "Disruption" is the most feared word for C-level executives these days. They agonize over their industry being disturbed by another player - most likely by startups.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now