> 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
-Well it seems that it is getting "el_GR.UTF-8" but still I am not able to read files written in greek, there are only "????" instead of letters. -Also, I forgot to mention that I do load igraph library when I try "graph_from_adjacency_matrix". When I check igraph in packages dialog I can not see functions with underscores between words, only dots. 2017-11-04 2:22 GMT+02:00 David Winsemius <dwinsemius at comcast.net>:> > > 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 > > > > > >[[alternative HTML version deleted]]
For anyone who sees this conversation.
There is a bug in installation of igraph in R language in Ubuntu. There is
a solution in stackoverflow. We have to use the devtools. Write this code:
install.packages("devtools")
library(devtools)
install_github("igraph/rigraph")
If there are errors installing devtools just install any package that
comments.
On Nov 5, 2017 00:07, "George Balas" <gbalas07 at gmail.com>
wrote:
> -Well it seems that it is getting "el_GR.UTF-8" but still I am
not able
> to read files written in greek, there are only "????" instead of
letters.
> -Also, I forgot to mention that I do load igraph library when I try
"graph_from_adjacency_matrix".
> When I check igraph in packages dialog I can not see functions with
> underscores between words, only dots.
>
> 2017-11-04 2:22 GMT+02:00 David Winsemius <dwinsemius at
comcast.net>:
>
>>
>> > 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/posti
>> ng-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/posti
>> ng-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
>>
>>
>>
>>
>>
>>
>
[[alternative HTML version deleted]]