I work in
macOS Catalina, version 10.15.7
whit
R 4.1.1 GUI 1.77 High Sierra build (7985)
Link the exemplo above, the characters "ç" and "ˆ" doesn't work
names(frutas)<-c("laranja","banana","maça","pêra")
frutas
laranja banana ma\303\247a p\303\252ra
1 2 3 4
And to use lab on the plot the characters doesn't work.
x<- c(1,2,3,4)
x
[1] 1 2 3 4
plot(x, ylab="Açai", xlab="Pêra")