[R] Creating a package with specail caracters

peter dalgaard pdalgd at gmail.com
Thu Oct 15 13:13:31 CEST 2015


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=<something else>, depending on how confused your system is about the current encoding, 


> On 15 Oct 2015, at 11:59 , jpara3 <j.para.fernandez at hotmail.com> wrote:
> 
> 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 capitals of the Basque Country: Bilbao, Vitoria-Gasteiz and San Sebastian, as well as in their provinces. Available languages.
> 
> Travel planners for groups and design of tourist routes across the Basque Country.
> --
> View this message in context: http://r.789695.n4.nabble.com/Creating-a-package-with-specail-caracters-tp4713615p4713618.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list