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

How many types of object are present In R?

1 Answers  


What are packages in r?

1 Answers  


What are the data structures in R that are used to perform statistical analyses and create graphs?

1 Answers  


How to create vectors in r?

1 Answers  


What are Ensemble Models in R?

1 Answers  


What is JIT in R?

1 Answers  


Given a vector of numbers, how would you turn the values into scientific notation?

0 Answers  


Name the functions which help in importing data from other applications in R?

1 Answers  


What are the steps to build and evaluate a linear regression model in r?

1 Answers  


Which data object in r is used to store and process categorical data?

1 Answers  


What is data structure in r?

1 Answers  


What is scan() in r?

1 Answers  


Categories