Answer Posted / Sumit Pandey
To read data from the keyboard in R, you can use the 'readline' function. Here is an example:n```Rnvalue <- readline(prompt = "Enter a value: ")n# Convert the input to numeric if needednvalue_numeric <- as.numeric(value)n``
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers