Display a data frame in viewer R

I have a simple data frame that I want to display in the viewer. I succeed by using the gt package but it require a version of R which bother me for the rest of my code.

Anyway, i have this data frame :
image

that I want in an image format for example, gt package give me this result :

Satisfying result if there was no problem of R version. I hope I was clear and you will be able to help me. Thank you for your time.

which version of R are you aiming to use ?

I have to use 3.6.1 version and it requires 4.1.2 version

There should be no issue with that.
Just now I downloaded R3.6.1,
If you are on windows it will be important to also install Rtools 35 (although stringi took such a long time for me to compile from source I've opted to download the binary )

I ran the following commands in the console

install.packages("renv")
library(renv)
install("rlang@1.0.2")
install("stringi",type="binary")
install("gt")

Thank you it seems great! do you know what is the instruction to download automatically the output in the viewer?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.