Re: [R] Error occurred during mean calculation of a column of a data frame, which is apparently contents numeric data

2012-02-29 Thread Aniruddha Mukherjee
2 5 1 10 10 ? Best regards. From: Berend Hasselman To: Aniruddha Mukherjee Cc: R-help Date: 02/29/2012 03:57 PM Subject: Re: [R] Error occurred during mean calculation of a column of a data frame, which is apparently contents numeric data On 29-02-2012, at 09:45, Aniruddha Mukherjee wr

[R] Error occurred during mean calculation of a column of a data frame, which is apparently contents numeric data

2012-02-29 Thread Aniruddha Mukherjee
Hello R people, How can I compute the mean of the "Pulse_rate" column of the data frame or matrix from the following character object called "str_got". It has 14 entries and each entry has 8 values, separated by commas. Please go thru the following R commands to know how I tried to unstring and

Re: [R] How can I ran an R command whcih is present as the content of a character object

2012-02-23 Thread Aniruddha Mukherjee
Michael, GREAT !! It worked. Thanks a lot. Aniruddha. From: "R. Michael Weylandt" To: Aniruddha Mukherjee Cc: R-help Date: 02/23/2012 07:10 PM Subject: Re: [R] How can I ran an R command whcih is present as the content of a character object eval(parse(text = rcom)) Micha

[R] How can I ran an R command whcih is present as the content of a character object

2012-02-23 Thread Aniruddha Mukherjee
I have an object called rcom which was created by the command rcom <-"mean(mat_rix$COL_1)". Also the data-frame mat_rix is well defined with numeric values in its column 1 and its name is "COL_1". My question is how to extract (or do something with) the content of rcom so that it provides the m

[R] Time taken to process a file after a socket connection was made

2012-02-20 Thread Aniruddha Mukherjee
Hello R people, I have created a '.csv' file of 100 rows by 20 columns whose each cell contains a random numbers between 0 & 1, thru a Java program. Once that is created a signal (just a letter) is send to the port of a socket connection at "localhost", which was earlier started by an "R" sessi