I think you should also update R to the latest version, as that *might* be
the source of the problem.
Other may be able to give you a specific diagnosis, but updating R is to a
(reasonably, at least) current version is good practice anyway.
Cheers,
Bert
On Tue, Jul 9, 2024 at 8:11?AM Levent TERLEMEZ via R-help <
r-help at r-project.org> wrote:
> Hi,
>
> Have a nice week. First of all, I know this is not R Studio forum but I
> want to ask here first, if you all do not mind. Well, I am away from my
> computer right now but, I have a strange problem (at least to me). My
> script worked perfectly for a year, and today, suddenly stop working
> because R Studio begins to warn me about illegal characters in the script.
>
> System is on W 10, and R 3.4.1 is working with R Studio. R Studio is
> updated today to the latest one because of this problem with the hope of
> resolving the problem (but no luck) and they are used as their default
> installation settings. Anyway, the problem example may not be repoducable
> right now but if it is, I can give detailed one later.
>
> While the original working code is this (there is no synax error, too in
> the code because it was working perfectly until today before updating R
> Studio, error also came out before this update as I mensioned before);
>
> legend(c("Kapan??",""20 G?nl?k,"50
G?nl?k"),col=c("black"...
>
> The warning is this;
>
> Error: unexpected symbol inside:
> " Encoding(kill3) <- "latin1"
legend(c(kill1,kill2,"50
> G?nl?k"),col=c("black"? and can be solved when converted ???
to ?u?.
> Addition to this another solution (at least for me) is this;
>
> kill1<-"Kapan??"
> Encoding(kill1) <- "UTF-8" (these two statements are not
needed but fort
> he sake of code integrity, is applied to it, too. If kill1 is converted to
> latin1, this time it is broken)
> kill2<-"22 G?nl?k MA"
> Encoding(kill2) <- "latin1"
> kill3<-"50 G?nl?k MA"
> Encoding(kill3) <- "latin1"
>
> And also it is set to ?ASK? and always ?UTF-8? is selected.
>
> But, I also wonder why today and what changed so R Studio stops suddenly
> running the script? I can not following up the changes anymore as used to
> be and if this is a character set problem, it is coming back again and
> again. What is the permenant solution of this? This is like an endless
> problem?
>
> With my best regards and thanks for your patience?.
>
> Levent Terlemez.
>
>
>
> ________________________________
> YASAL UYARI: Bu e-postan?n i?erdi?i bilgiler (ekleri de dahil olmak ?zere)
> gizlidir. Sahibinin onay? olmaks?z?n i?eri?i kopyalanamaz, ???nc? ki?ilere
> a??klanamaz veya iletilemez . Bu mesaj?n g?nderilmek istendi?i ki?i
> de?ilseniz (ya da bu e-postay? yanl??l?kla ald?ysan?z), l?tfen yollayan
> ki?iyi haberdar ediniz ve mesaj? sisteminizden derhal siliniz. Eski?ehir
> Teknik ?niversitesi, bu mesaj?n i?erdi?i bilgilerin do?rulu?u veya eksiksiz
> oldu?u konusunda bir garanti vermemektedir. Bu nedenle, bilgilerin ne
> ?ekilde olursa olsun i?eri?inden, iletilmesinden, al?nmas?ndan,
> saklanmas?ndan Eski?ehir Teknik ?niversitesi sorumlu de?ildir. Bu mesaj?n
> i?eri?i yazar?na ait olup, Eski?ehir Teknik ?niversitesi'nin
g?r??lerini
> i?ermeyebilir. Bu e-posta bizce bilinen t?m bilgisayar vir?slerine kar??
> taranm??t?r.
>
> DISCLAIMER: This e-mail (including any attachments) may contain
> confidential and/or privileged information. Copying, disclosure or
> distribution of the material in this e-mail without owner authority is
> strictly forbidden. If you are not the intended recipient (or have received
> this e-mail in error), please notify the sender and delete it from your
> system immediately. Eskisehir Technical University makes no warranty as to
> the accuracy or completeness of any information contained in this message
> and hereby excludes any liability of any kind for the information contained
> therein or for the information transmission, reception, storage or use of
> such in any way whatsoever. Any opinions expressed in this message are
> those of the author and may not necessarily reflect the opinions of
> Eskisehir Technical University. This e-mail has been scanned for all
> computer viruses known to us.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>
[[alternative HTML version deleted]]