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 request an input from the user through keyboard and monitor?



How to request an input from the user through keyboard and monitor?..

Answer / Smit Agarwal

In R, you can use the `readline()` function to request input from the user through the console.nn```rninput <- readline(prompt = "Enter your input: ")n```nThis will display a prompt asking for user input. The entered text is then stored in the variable `input`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

Why R language?

1 Answers  


What is sapply() in r?

1 Answers  


How to use R from python?

1 Answers  


Enlist some of the functions that r provides?

1 Answers  


What are the different packages in r?

1 Answers  


Given a vector of values, how would you convert it into a time series object?

1 Answers  


How can you simulate noise model using r?

1 Answers  


Which data structure is used to store categorical variables?

1 Answers  


How would you make multiple plots onto a single page in r?

1 Answers  


What is expected from running the command – strsplit(x,”e”)?

1 Answers  


What are the different components of grammar of graphics?

1 Answers  


Mention how you can produce co-relations and covariances?

1 Answers  


Categories