It probably depends on what background you already have (other programming languages, mathematical literacy), and what your scope / application is. If you search google/amazon, you get books introducing statistics using R, and books introducing R programming using statistics examples. You get large compendia covering the whole language and shorter application notes on almost any topic, using R to solve specific problems. There are whole books about only specific add-on packages for R.
Statistics: An Introduction using R (Michael J Crawley)
Discovering Statistics using R (Andy Field et al.)
Hands-on programming with R (Garrett Grolemund)
The R cookbook (Paul Teetor)
...to name a very few. And of course, there is extensive online documentation, including many tutorial and example sites, and answers to be found for almost any problem you might run into (and forums to ask about new obstacles you might encounter).
I am looking for rather the books introducing R programming using statistics examples. I have also strongly background according to statistic method. I am not particulary familiar with programming.
It might be more effective to take a beginning course in any programming language that you can. While the syntax is unique to R, the basic structures are common to all higher level computer languages (not Machine language or Assembly language). So the real issue is developing the skill to break a complex problem down into a series of small steps .... really really small steps. I would go with things like "Introduction to Basic programming" or "Introduction to C programming." Any language should work as long as the goal of the class is to teach programming. It is easy to write bad code, it is very difficult to program well. To write efficient error free code.
My issue is that I am having trouble with syntax, especially with input-output and data types. So I am not looking at these courses for either programming skills nor statistical methods. Thus I have trouble advising which one you should take.
I'd say if you know the maths and are just looking to get into programming, even the basic "Introduction to R" and "R language definition" from the official R site (https://cran.r-project.org/manuals.html) are good enough to get you started. All you really need to know are basics like data types, control structures, functions,... and the specific nomenclature that R uses for these - then it's a lot of playing around and trial and error. As long as you know what 'the thing' is called that does not work in your code, and have even a faint inkling of why, you WILL find a solution by googling! There is a huge community using R, everyone started some time - welcome to the club!