How to read data from the keyboard?
Answer / 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 |
Describe strsplit() in r string manipulation?
What is bytecode compilation?
How can you load a .csv file in r?
Describe sprintf() in r string manipulation?
What are the features of r programming?
What is the difference between rnorm and runif functions ?
What is s3 in r?
Can we update and delete any of the elements in a list?
Compare R with other technologies.
Which function is used to write files?
What are recommended systems in r?
Explain how R commands are written?