Re: [R] Translation of the charter

2021-11-02 Thread Greg Minshall
hi, Heinz, > You are right - match seems obviously better, but why not do > > x <- c("a","b","c") > match(x, letters[]) no, really, i wasn't sure of the requirements! cheers, Greg __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] Translation of the charter

2021-11-02 Thread Heinz Tuechler
Greg, Greg Minshall wrote/hat geschrieben on/am 02.11.2021 08:57: Heinz, x <- c("a","b","c") lettersnum <- 1:length(letters[]) names(lettersnum) <- letters[] lettersnum[x] lettersnum[x] a b c 1 2 3 i'm not sure if the following is obviously better, but one might do b <- match(a, a)

Re: [R] Translation of the charter

2021-11-02 Thread Greg Minshall
Heinz, > x <- c("a","b","c") > lettersnum <- 1:length(letters[]) > names(lettersnum) <- letters[] > lettersnum[x] > > lettersnum[x] > a b c > 1 2 3 i'm not sure if the following is obviously better, but one might do > b <- match(a, a) > names(b) <- a > b a b c 1 2 3 cheers, Greg

Re: [R] Translation of the charter

2021-11-02 Thread Heinz Tuechler
Alice wrote/hat geschrieben on/am 31.10.2021 07:33: Dear members, How to translate the charter to the underline inter? I tried this: x <- c("a","b","c") as.numeric(x) [1] NA NA NA Warning message: NAs introduced by coercion It didn't work. Sorry for my newbie questions. B.R.

Re: [R] Translation of the charter

2021-11-01 Thread Eric Berger
> R.oo::charToInt(x) # [1] 97 98 99 On Mon, Nov 1, 2021 at 9:48 PM Alice wrote: > > Dear members, > > How to translate the charter to the underline inter? > I tried this: > > > x <- c("a","b","c") > > > as.numeric(x) > > [1] NA NA NA > > Warning message: > > NAs introduced by coercion > > > It

[R] Translation of the charter

2021-11-01 Thread Alice
Dear members, How to translate the charter to the underline inter? I tried this: > x <- c("a","b","c") > as.numeric(x) [1] NA NA NA Warning message: NAs introduced by coercion It didn't work. Sorry for my newbie questions. B.R. Alice [[alternative HTML version deleted]]

[R] Translation of R Manuals

2015-07-05 Thread Chel Hee Lee
Dear the members in the R-help mailing list, R version 2.1.0 and later support translations of program messages. The continuous efforts have been made by R Translation Teams http://developer.r-project.org/TranslationTeams.html. I appreciate the leadership shown by Prof. Duncan Murdoch

Re: [R] translation

2012-05-20 Thread Prof Brian Ripley
On 20/05/2012 00:01, Duncan Murdoch wrote: On 12-05-18 2:23 PM, David Winsemius wrote: On May 18, 2012, at 10:52 AM, Duncan Murdoch wrote: On 12-05-18 5:15 AM, gholi bahrami wrote: Dear Sir/Madam I am a BSc student studying statistics in Ferdowsi University of Mashhad,Iran. Translating R

Re: [R] translation

2012-05-19 Thread Duncan Murdoch
On 12-05-18 2:23 PM, David Winsemius wrote: On May 18, 2012, at 10:52 AM, Duncan Murdoch wrote: On 12-05-18 5:15 AM, gholi bahrami wrote: Dear Sir/Madam I am a BSc student studying statistics in Ferdowsi University of Mashhad,Iran. Translating R messages to Farsi is my thesis and I have

[R] translation

2012-05-18 Thread gholi bahrami
Dear Sir/Madam I am a BSc student studying statistics in Ferdowsi University of Mashhad,Iran. Translating R messages to Farsi is my thesis and I have already downloaded *poEdit*  to translate those messages.However, the created .mo files for R.pot and RGui.pot are not useful at all. I would like

Re: [R] translation

2012-05-18 Thread Duncan Murdoch
On 12-05-18 5:15 AM, gholi bahrami wrote: Dear Sir/Madam I am a BSc student studying statistics in Ferdowsi University of Mashhad,Iran. Translating R messages to Farsi is my thesis and I have already downloaded *poEdit* to translate those messages.However, the created .mo files for R.pot and

Re: [R] translation

2012-05-18 Thread David Winsemius
On May 18, 2012, at 10:52 AM, Duncan Murdoch wrote: On 12-05-18 5:15 AM, gholi bahrami wrote: Dear Sir/Madam I am a BSc student studying statistics in Ferdowsi University of Mashhad,Iran. Translating R messages to Farsi is my thesis and I have already downloaded *poEdit* to translate

[R] Translation of Linear minimization probelm from matlab to r

2012-05-08 Thread Haio
Hi everyone, i´m a new user of R and i´m trying to translate an linear optimization problem from Matlab into r. The matlab code is as follow: options = optimset('Diagnostics','on'); [x fval exitflag] = linprog(f,A,b,Aeq,beq,lb,ub,[],options); exitflag fval x=round(x); Where: f = Linear

Re: [R] Translation of Linear minimization probelm from matlab to r

2012-05-08 Thread Petr Savicky
On Tue, May 08, 2012 at 10:21:59AM -0700, Haio wrote: Hi everyone, i´m a new user of R and i´m trying to translate an linear optimization problem from Matlab into r. The matlab code is as follow: options = optimset('Diagnostics','on'); [x fval exitflag] =

[R] Translation of matlab vectors code into r

2012-05-06 Thread Haio
Hi there I am new user of r, i would need some help to translate som code for vectors in matlab to r. I have managed to translate the first 7 rows, but not the rest. Could anyone give me any suggestions for this problem?? Matlab code: tempo=[]; temps=[]; tempn=[]; tempao=[]; tempas=[];

Re: [R] Translation of matlab vectors code into r

2012-05-06 Thread R. Michael Weylandt
Perhaps read An Intro to R (shipped with every packaging of R -- type help.start() to get it) and then look at http://cran.r-project.org/doc/contrib/Hiebeler-matlabR.pdf n_o, nan_s, etc. are not functions I have in my Matlab distribution so I can't give more advice without knowing what they

Re: [R] Translation of matlab vectors code into r

2012-05-06 Thread Hans W Borchers
Haio joakim.aback at gmail.com writes: Hi there I am new user of r, i would need some help to translate som code for vectors in matlab to r. I have managed to translate the first 7 rows, but not the rest. Could anyone give me any suggestions for this problem?? Matlab code: tempo=[];

[R] Consultant for Mathematica - R translation

2010-07-20 Thread Michael Haenlein
Dear all, I have a very short code written in Mathematica which I would need to get translated for use in R. I'm not an expert in Mathematica (which is why I would not feel comfortable with doing the translation myself), but the code is very short (probably 30-40 lines) and looks quite simple

Re: [R] Translation from R codes to SAS.

2009-12-01 Thread xlr82sas
ychu066 wrote: my teachers doesnt understand R and I don't know how to use SAS. Anyone interested in translating my codes to test whether your SAS codes are as good as R??? I can test it on SAS codes once you have translated it regards:working: It is quite easy to

Re: [R] Translation from R codes to SAS.

2009-11-24 Thread Greg Snow
Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of ychu066 Sent: Monday, November 23, 2009 2:35 PM To: r-help@r-project.org Subject: [R] Translation from R codes to SAS. my teachers doesnt understand R and I don't know how to use SAS. Anyone

[R] Translation from R codes to SAS.

2009-11-23 Thread ychu066
my teachers doesnt understand R and I don't know how to use SAS. Anyone interested in translating my codes to test whether your SAS codes are as good as R??? I can test it on SAS codes once you have translated it regards:working: -- View this message in context:

Re: [R] Translation from R codes to SAS.

2009-11-23 Thread Gary
Until someone agrees to your request, you may want to look into this book: http://www.amazon.com/SAS-Management-Statistical-Analysis-Graphics/dp/1420070576 http://www.amazon.com/SAS-Management-Statistical-Analysis-Graphics/dp/1420070576 ~Gary On Mon, Nov 23, 2009 at 4:35 PM, ychu066