While Loop Check in Data science with R

Discussion in 'General Discussions' started by SABARINATH SURYAPRAKASH, Mar 10, 2020.

  1. SABARINATH SURYAPRAKASH

    Joined:
    Mar 3, 2020
    Messages:
    1
    Likes Received:
    0
    Hi Guys,

    In Data science with R, I tried the "While Loop " Command. but I am getting the error.

    Did anyone tried?

    I tried the below
    while (i< 6) {print(i) i=i+1}

    But getting the error
    Error: unexpected symbol in "while(i< 6){print(i) I"
     
    #1

Share This Page