Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to read data from the keyboard?



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

Post New Answer

More R Programming Interview Questions

Describe strsplit() in r string manipulation?

1 Answers  


What is bytecode compilation?

1 Answers  


How can you load a .csv file in r?

1 Answers  


Describe sprintf() in r string manipulation?

1 Answers  


What are the features of r programming?

1 Answers  


What is the difference between rnorm and runif functions ?

1 Answers  


What is s3 in r?

1 Answers  


Can we update and delete any of the elements in a list?

1 Answers  


Compare R with other technologies.

1 Answers  


Which function is used to write files?

1 Answers  


What are recommended systems in r?

1 Answers  


Explain how R commands are written?

1 Answers  


Categories