0
What is an actual syntax of input funtion in R? is that readLine or readLines?
5 Antworten
+ 3
Okay, I think I can replicate the problem. When you want to get user input on your local R installation, use readline().
readLines reads a connection – that is how sololearn playground gets input. If you try it on your own computer, R gets trapped by itself which freezes or crashes R console
+ 2
Input is covered in the sololearn R course. Check the lesson again or just try it on playground.
Also, you can get the documentation with ?readLines
+ 1
What does the error message say?
Can you put your code in a script on playground?
0
Yes, And that syntax is not running in Rstudio.It is showing Error..
0
Yeah... That's what happened I think