failed to preview Markdown

solved by the following code

install.packages(“rmarkdown”, type =“mac.binary”)

see bbrew solution