Re: [R] A Question about R

2007-06-14 Thread M. P. Papadatos
Hi, This might help you: https://stat.ethz.ch/pipermail/r-help/2000-February/009984.html Martin On 11 Jun 2007, at 20:50, [EMAIL PROTECTED] wrote: Hi Sir/Madam, I'm a researcher in university of Guelph, Canada and now considering using R to do some data analysis. I'm wondering whether

[R] A Question about R

2007-06-11 Thread jwang
Hi Sir/Madam, I'm a researcher in university of Guelph, Canada and now considering using R to do some data analysis. I'm wondering whether there is a library available in R that includes algorithms for archetypal analysis? This is a method quite similar to principal components analysis

[R] Odp: Question about R

2007-04-05 Thread Petr PIKAL
Hi isnt it a homework? FYI see ?list ?vector ?data.frame ?sample ?lapply and some basic stuff like Introduction manual provided with your R instalation to see how some simple data manipulations can be done. Regards Petr Pikal [EMAIL PROTECTED] [EMAIL PROTECTED] napsal dne 05.04.2007

[R] Quick Question about R

2007-01-31 Thread Konrad
Hello, Is there a way to convert a character to a number with out getting a warning? I have a vector that has both numbers and letters in it and I need to convert it to only numbers. At the moment I'm using as.numeric but it is generating a warning when it converts a letter. Is there another

Re: [R] Quick Question about R

2007-01-31 Thread Benilton Carvalho
suppressWarnings(a - as.numeric(c(1, 2, pi, a, 9, z))) b On Jan 31, 2007, at 2:35 PM, Konrad wrote: Hello, Is there a way to convert a character to a number with out getting a warning? I have a vector that has both numbers and letters in it and I need to convert it to only numbers. At

Re: [R] Quick Question about R

2007-01-31 Thread Chuck Cleland
Konrad wrote: Hello, Is there a way to convert a character to a number with out getting a warning? I have a vector that has both numbers and letters in it and I need to convert it to only numbers. At the moment I'm using as.numeric but it is generating a warning when it converts a

Re: [R] Quick Question about R

2007-01-31 Thread Marc Schwartz
On Wed, 2007-01-31 at 14:35 -0500, Konrad wrote: Hello, Is there a way to convert a character to a number with out getting a warning? I have a vector that has both numbers and letters in it and I need to convert it to only numbers. At the moment I'm using as.numeric but it is generating a

Re: [R] Quick Question about R

2007-01-31 Thread Ted Harding
On 31-Jan-07 Konrad wrote: Hello, Is there a way to convert a character to a number with out getting a warning? I have a vector that has both numbers and letters in it and I need to convert it to only numbers. At the moment I'm using as.numeric but it is generating a warning when it

Re: [R] Quick Question about R

2007-01-31 Thread Ted Harding
On 31-Jan-07 Benilton Carvalho wrote: suppressWarnings(a - as.numeric(c(1, 2, pi, a, 9, z))) Of course! Much better! Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 31-Jan-07

Re: [R] Quick Question about R

2007-01-31 Thread Marc Schwartz
On Wed, 2007-01-31 at 20:02 +, [EMAIL PROTECTED] wrote: On 31-Jan-07 Benilton Carvalho wrote: suppressWarnings(a - as.numeric(c(1, 2, pi, a, 9, z))) Of course! Much better! Ted. In the context of my prior reply: # Bear in mind that the above vector is of class character, not mixed...

Re: [R] A question about R environment

2007-01-10 Thread François Pinard
[Philippe Grosjean] Please, don't reinvent the wheel: putting functions in a dedicated environment is one of the things done by R packages (together with a good documentation of the function, and making them easily installable on any R implementation). [...] this is probably the time for you

Re: [R] A question about R environment

2007-01-09 Thread Tong Wang
a lot. Happy new year every one! cheers tong - Original Message - From: Philippe Grosjean [EMAIL PROTECTED] Date: Monday, January 8, 2007 10:09 pm Subject: Re: [R] A question about R environment To: François Pinard [EMAIL PROTECTED], Tong Wang [EMAIL PROTECTED], R help r-help

Re: [R] A question about R environment

2007-01-09 Thread Tong Wang
, January 8, 2007 10:40 pm Subject: Re: [R] A question about R environment To: Gabor Grothendieck [EMAIL PROTECTED] Cc: Tong Wang [EMAIL PROTECTED], R help r-help@stat.math.ethz.ch sourceTo() in R.utils will allow you to source() a file into an environment. /Henrik On 1/9/07, Gabor Grothendieck

Re: [R] A question about R environment

2007-01-09 Thread Prof Brian Ripley
. tong - Original Message - From: Henrik Bengtsson [EMAIL PROTECTED] Date: Monday, January 8, 2007 10:40 pm Subject: Re: [R] A question about R environment To: Gabor Grothendieck [EMAIL PROTECTED] Cc: Tong Wang [EMAIL PROTECTED], R help r-help@stat.math.ethz.ch sourceTo

[R] A question about R environment

2007-01-08 Thread Tong Wang
Hi all, I created environment mytoolbox by : mytoolbox - new.env(parent=baseenv()) Is there anyway I put it in the search path ? If you need some background : In a project, I often write some small functions, and load them into my workspace directly, so when I list the objects

Re: [R] A question about R environment

2007-01-08 Thread Gabor Grothendieck
Try this: e - new.env() e$f - function(x)x attach(e) search() [1] .GlobalEnve package:stats [4] package:graphics package:grDevices package:utils [7] package:datasets package:methods Autoloads [10] package:base f function(x)x On 1/8/07, Tong Wang [EMAIL

Re: [R] A question about R environment

2007-01-08 Thread François Pinard
[Tong Wang] I created environment mytoolbox by : mytoolbox - new.env(parent=baseenv()). Is there anyway I put it in the search path? In a project, I often write some small functions, and load them into my workspace directly, so when I list the objects with ls(), it looks pretty messy. So I

Re: [R] A question about R environment

2007-01-08 Thread Philippe Grosjean
Please, don't reinvent the wheel: putting functions in a dedicated environment is one of the things done by R packages (together with a good documentation of the function, and making them easily installable on any R implementation). So, this is probably the time for you to read the Writing R

Re: [R] A question about R environment

2007-01-08 Thread Henrik Bengtsson
sourceTo() in R.utils will allow you to source() a file into an environment. /Henrik On 1/9/07, Gabor Grothendieck [EMAIL PROTECTED] wrote: Try this: e - new.env() e$f - function(x)x attach(e) search() [1] .GlobalEnve package:stats [4] package:graphics

[R] A question about r-help-bounce

2005-01-11 Thread apjaworski
Could somebody please tell me what does the r-help-bounce address do? When I try to respond to an r-help post, my mailer (Lotus Notes) generates the r-help bounce return address automatically in addition to the original sender address and the r-help address. I responded to an r-help message