Christian
2018-Jul-17 14:36 UTC
[R] Where does ' Setting LC_CTYPE failed, using "C" ' come from? 2
Another try, I am sorry. On 17.07.18 14:46, Jeff Newmiller wrote:> I an sorry that I cannot answer your question, but you don't seem to be very effective in your use of this resource. > >> Hi, >> >> I am fighting to get rid of the messages like: >> >> During startup - Warning messages: >> Setting LC_CTYPE failed, using "C" >> Setting LC_COLLATE failed, using "C" >> >> This is annoying, because when building a package using R CMD, This >> message keeps cropping up. >> >> Here my R: >> Sys.getlocale() >> [1] "C" >> ................... >> >> Executing >> >> Open Terminal >> Write or paste in: defaults write org.R-project.R force.LANG >> en_US.UTF-8 >> Close Terminal >> Start R >> >> as suggested onhttps://stackoverflow.com/questions/9689104/installing-r-on-mac-warning-messages-setting-lc-ctype-failed-using-c, did not help :-( Pointers are welcome C. -- Christian Hoffmann Rigiblickstrasse 15b CH-8915 Hausen am Albis Switzerland Telefon +41-(0)44-7640853
David Winsemius
2018-Jul-17 16:18 UTC
[R] Where does ' Setting LC_CTYPE failed, using "C" ' come from? 2
> On Jul 17, 2018, at 7:36 AM, Christian <christian at echoffmann.ch> wrote: > > Another try, I am sorry. > > On 17.07.18 14:46, Jeff Newmiller wrote: >> I an sorry that I cannot answer your question, but you don't seem to be very effective in your use of this resource. >>> Hi, >>> >>> I am fighting to get rid of the messages like: >>> >>> During startup - Warning messages: >>> Setting LC_CTYPE failed, using "C" >>> Setting LC_COLLATE failed, using "C" >>> >>> This is annoying, because when building a package using R CMD, This >>> message keeps cropping up. >>> >>> Here my R: >>> Sys.getlocale() >>> [1] "C" >>> ................... >>> >>> Executing >>> >>> Open Terminal >>> Write or paste in: defaults write org.R-project.R force.LANG >>> en_US.UTF-8 >>> Close Terminal >>> Start R >>> >>> as suggested on > > https://stackoverflow.com/questions/9689104/installing-r-on-mac-warning-messages-setting-lc-ctype-failed-using-c, > > did not help :-(Sigh, claiming that something "did not help" usually ...does not help. You need a clear unambigous description of everything that was in place and exactly what was being done when the unexpected behavior occurred. And you need to post that description in the right venue which you have already been advised is not rhelp. I see that you have (probably unsuccessfully) attempted cross-posting to the right venue, r-sig-mac. Cross-posting to multiple r lists is deprecated by the Posting Guide which you should now read. Then you should subscribe to r-sig-mac using the web interface and only afterwards post to the correct venue: r-sig-mac at r-project.org. As always with first time posting you will see your first post held up in the queue for moderation, so don't send any additional queries until your post appears in that list's archive: https://stat.ethz.ch/pipermail/r-sig-mac/> > Pointers are welcome > C. > > -- > Christian Hoffmann > Rigiblickstrasse 15b > CH-8915 Hausen am Albis > Switzerland > Telefon +41-(0)44-7640853 > > ______________________________________________ > 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.David Winsemius Alameda, CA, USA 'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to Clarke's Third Law
peter dalgaard
2018-Jul-22 06:32 UTC
[R] Where does ' Setting LC_CTYPE failed, using "C" ' come from? 2
> On 17 Jul 2018, at 18:18 , David Winsemius <dwinsemius at comcast.net> wrote: > >>>> Executing >>>> >>>> Open Terminal >>>> Write or paste in: defaults write org.R-project.R force.LANG >>>> en_US.UTF-8 >>>> Close Terminal >>>> Start R >>>> >>>> as suggested on >> >> https://stackoverflow.com/questions/9689104/installing-r-on-mac-warning-messages-setting-lc-ctype-failed-using-c, >> >> did not help :-( > > Sigh, claiming that something "did not help" usually ...does not help. You need a clear unambigous description of everything that was in place and exactly what was being done when the unexpected behavior occurred.Hm, well, seen worse... However, some detective works seems required. C: (a) Can you at this point do the equivalent of the following (in a Terminal window): Peter-Dalgaards-MacBook-Air:~ pd$ defaults read org.R-project.R force.LANG en_US.UTF-8 If not, then the "defaults write...." stuff has been entered incorrectly or didn't work for some reason. -?d -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com