I have a problem with R in Ubuntu 16.04. I do not know if it is mine pc or general problem but I was not able to find solution on Internet. First of all I can not change locale to greek by getting this message: "In Sys.setlocale("LC_CTYPE", "Greek") : OS reports request to set locale to "Greek" cannot be honored" Second and more serious is that I can not use some functions like graph_from_adjacency_matrix or print_all I get these messeges: "could not find function "graph_from_adjacency_matrix"" "could not find function "print_all"". I am using R version 3.4.2 (2017-09-28) -- "Short Summer" either on rstudio or ubuntu terminal. On my pc I also run win 10 with the same installs and I do not have the above problems, but I work on ubuntu and can not change Os all the time. Please help me. Thank you for your time, George gbalas07 at gmail.com [[alternative HTML version deleted]]
> On 3 Nov 2017, at 23:39 , George Balas <gbalas07 at gmail.com> wrote: > > I have a problem with R in Ubuntu 16.04. I do not know if it is mine pc or > general problem but I was not able to find solution on Internet. > First of all I can not change locale to greek by getting this message: > "In Sys.setlocale("LC_CTYPE", "Greek") : > OS reports request to set locale to "Greek" cannot be honored"The Greek locale is likely not called "Greek" outside of Windows. More likely "el_GR.UTF-8" or thereabouts (check your locale database, I'm on a Mac). These things are not standardized across platforms.> Second and more serious is that I can not use some functions like > graph_from_adjacency_matrix or print_all I get these messeges: > "could not find function "graph_from_adjacency_matrix"" > "could not find function "print_all"".Missing library(igraph)? -pd> I am using R version 3.4.2 (2017-09-28) -- "Short Summer" either on rstudio > or ubuntu terminal. > On my pc I also run win 10 with the same installs and I do not have the > above problems, but I work on ubuntu and can not change Os all the time. > Please help me. > > Thank you for your time, > George > gbalas07 at gmail.com > > [[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.-- 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
> On Nov 3, 2017, at 5:09 PM, peter dalgaard <pdalgd at gmail.com> wrote: > > >> On 3 Nov 2017, at 23:39 , George Balas <gbalas07 at gmail.com> wrote: >> >> I have a problem with R in Ubuntu 16.04. I do not know if it is mine pc or >> general problem but I was not able to find solution on Internet. >> First of all I can not change locale to greek by getting this message: >> "In Sys.setlocale("LC_CTYPE", "Greek") : >> OS reports request to set locale to "Greek" cannot be honored" > > The Greek locale is likely not called "Greek" outside of Windows. More likely "el_GR.UTF-8" or thereabouts (check your locale database, I'm on a Mac). These things are not standardized across platforms. >Also From help(locales): Attempts to change the character set by Sys.setlocale("LC_CTYPE") that implies a different character set during a session may not work and are likely to lead to some confusion because it may not affect the native encoding.>> Second and more serious is that I can not use some functions like >> graph_from_adjacency_matrix or print_all I get these messeges: >> "could not find function "graph_from_adjacency_matrix"" >> "could not find function "print_all"". > > Missing library(igraph)? > > -pd > >> I am using R version 3.4.2 (2017-09-28) -- "Short Summer" either on rstudio >> or ubuntu terminal. >> On my pc I also run win 10 with the same installs and I do not have the >> above problems, but I work on ubuntu and can not change Os all the time. >> Please help me. >> >> Thank you for your time, >> George >> gbalas07 at gmail.com >> >> [[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. > > -- > 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 > > ______________________________________________ > 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