Re: [R] Creating a package with specail caracters

2015-10-15 Thread peter dalgaard
> On 15 Oct 2015, at 13:45 , jpara3 wrote: > > I have tried: > > tktitle(tt) <- iconv("¡GUI estadística", from="latin1",to="UTF8") > tktitle(tt) <- iconv("¡GUI estadística", from="",to="UTF8") > tktitle(tt) <- iconv("¡GUI estadística", to="UTF8") > > > But there are no good results. > Hmm,

Re: [R] Creating a package with specail caracters

2015-10-15 Thread jpara3
I have tried: tktitle(tt) <- iconv("¡GUI estadística", from="latin1",to="UTF8") tktitle(tt) <- iconv("¡GUI estadística", from="",to="UTF8") tktitle(tt) <- iconv("¡GUI estadística", to="UTF8") But there are no good results. Can maybe exist a code to insert after the special characters, as \´i f

Re: [R] Creating a package with specail caracters

2015-10-15 Thread peter dalgaard
Read more carefully! That is what I did to _reproduce_ your problem. Try tktitle(tt) <- iconv("¡GUI estadística", to="UTF8", from="latin1") or maybe from="", or from=, depending on how confused your system is about the current encoding, > On 15 Oct 2015, at 11:59 , jpara3 wrote: > > Hi P

Re: [R] Creating a package with specail caracters

2015-10-15 Thread jpara3
Hi Peter, Thanks for your help, but the problem is still happening. I have done this: funcion<-function(){ tt<-tktoplevel(bg="white") x<-iconv("¡GUI estadística",to="latin1") Encoding(x) <- "UTF8" tktitle(tt)<-x } - Guided Tours Basque Country Guided tours in the three ca

Re: [R] Creating a package with specail caracters

2015-10-15 Thread peter dalgaard
> On 15 Oct 2015, at 09:52 , jpara3 wrote: > > Hi, > > I want to create my own package with a very simple GUI. The problem is that > I need to use special latin characters, as ¿,¡,ñ... > > The function i have made is: > > funcion<-function(){ > tt<-tktoplevel() > tktitle(tt)<-"¡GUI de estadí

[R] Creating a package with specail caracters

2015-10-15 Thread jpara3
Hi, I want to create my own package with a very simple GUI. The problem is that I need to use special latin characters, as ¿,¡,ñ... The function i have made is: funcion<-function(){ tt<-tktoplevel() tktitle(tt)<-"¡GUI de estadística" } The problem is that when i run this function, instead est