Ask coding questions

← Back to all posts
Replit console not working
h
Bzui

Hi, I‘m new to replit and R. Can sb please explain why the console isn‘t working. It always says: bash command not found.
Python console is working well(eg. 1+1 calculations are possible). Whats the difference between R and python in this case.
Thnaks a lot.
Best regards

Answered by SixBeeps [earned 5 cycles]
View Answer
Voters
anastaani
Bzui
Comments
hotnewtop
SixBeeps

I could be wrong, but it doesn't look like Rlang has a REPL (not a language option on Replit, but an actual REPL in this case). Because of this, you can't directly input R code into the console. You need to actually run a file in order to run R code.

Bzui

Many thanks. Super [email protected]

Coder100

You can't put r code inside the bash like python, because r doesn't provide a repl.

You will instead have to manually add those calculations inside of the r file, or use bash commands!

Bzui

Thanks a lot, really appreciate [email protected]