Hi. I am trying to make source code with rcpp.
When I compile cpp code in R, not in Rstudio, it works well.
However, when I try the cpp code in Rstudio, the code shows an error like below
I use Mac with M1 and install R and gfortran with the instructions in the link:
Moreover, I want to use lldb which is debugger for c++, I installed the R from:
Thanks for your suggestion to solve the issue