It depends on what you want to get out of learning R, but I would say https://r4ds.had.co.nz/ is probably a better text for a beginner.
This is not to say that "R inferno" is too complicated or you don't need to read it, just that you'll probably appreciate it more after spending some time actually writing R code.