JuanPablo
JuanPablo

Reputation: 24774

r ylab plot with utf-8

in R, I try to make a plot with utf-8 in ylab

plot(x,y, ylab='Número')

but I get

ss

any suggestion?

Upvotes: 0

Views: 827

Answers (1)

JuanPablo
JuanPablo

Reputation: 24774

when I make the plot in R, I don't have problem, the problem is when I imported a r script.

I imported the script with the utf-8 encoding and fix the problem

 source('r_script.r', encoding='utf-8')

Upvotes: 3

Related Questions