Re: [R] generated list element names

2012-11-19 Thread jim holtman
-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem that you are trying

Re: [R] generated list element names

2012-11-19 Thread jim holtman
: * jim holtman wubyg...@tznvy.pbz [2012-11-19 13:14:05 -0500]: How about this (if you don't like writing two lines, encapsulate it in a function): x - list(10) names(x) - paste('f', 'oo', sep = '') str(x) List of 1 $ foo: num 10 I am sorry, how is this different from my second snippet

Re: [R] Replace NA with something else

2012-11-18 Thread jim holtman
at Nabble.com. __ R-help@r-project.org mailing list 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. -- Jim

Re: [R] list.files, recursively

2012-11-18 Thread jim holtman
, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Question about making histogram and x must be numeric

2012-11-18 Thread jim holtman
at Nabble.com. __ R-help@r-project.org mailing list 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. -- Jim

Re: [R] merge dataframes with condition

2012-11-15 Thread jim holtman
commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] how to import data from excel to R

2012-11-14 Thread jim holtman
. __ R-help@r-project.org mailing list 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. -- Jim Holtman

Re: [R] Using apply instead of for loop / multithreading

2012-11-12 Thread jim holtman
-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] as.data.frame(do.call(rbind, lapply)) produces something weird

2012-11-09 Thread jim holtman
. __ R-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem

Re: [R] sink() doesn't work

2012-11-09 Thread jim holtman
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] Accessing selected elements of a list

2012-11-08 Thread jim holtman
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org

Re: [R] using lapply with recode

2012-11-08 Thread Jim Holtman
you need to return 'x' as the last statement of the lapply. Sent from my iPad On Nov 8, 2012, at 22:06, Simon Kiss sjk...@gmail.com wrote: Hello: Forgive me, this is surely a simple question but I can't figure it out, having consulted the help archives and Data Manipulation With R

Re: [R] Aggregate data frame across columns

2012-11-07 Thread jim holtman
commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Filling matrix elements with a function

2012-11-06 Thread jim holtman
://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. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do

Re: [R] Filling matrix elements with a function

2012-11-06 Thread jim holtman
to do is greatly appreciated... Aimee. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Error message

2012-11-05 Thread jim holtman
]] __ R-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem

Re: [R] Append Data to an Excel File through each Iteration of a For Loop

2012-11-05 Thread Jim Holtman
try the XLConnect package. You can write multiple sheets. Sent from my iPad On Nov 5, 2012, at 21:37, Cheryl Johnson johnson.cheryl...@gmail.com wrote: Hi, I would like to find a way to append data to an excel file through each iteration of a for loop. Is there a way to use a command such

Re: [R] select duplicate identifier with higher mean across sample columns

2012-11-04 Thread jim holtman
__ R-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem that you

Re: [R] Replacing NAs in long format

2012-11-03 Thread jim holtman
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org

Re: [R] to print system.time always

2012-11-03 Thread jim holtman
. __ R-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What

Re: [R] to print system.time always

2012-11-03 Thread jim holtman
. __ R-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru

Re: [R] mergeing a large number of large .csvs

2012-11-03 Thread jim holtman
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] mergeing a large number of large .csvs

2012-11-03 Thread jim holtman
, 2012 at 4:08 PM, Benjamin Caldwell btcaldw...@berkeley.edu wrote: Jim, Where can I find documentation of the commands you mention? Thanks On Sat, Nov 3, 2012 at 12:15 PM, jim holtman jholt...@gmail.com wrote: A faster way would be to use something like 'per', 'awk' or 'sed'. You can

Re: [R] mergeing a large number of large .csvs

2012-11-03 Thread jim holtman
, output) } close(output) On Sat, Nov 3, 2012 at 4:56 PM, jim holtman jholt...@gmail.com wrote: These are not commands, but programs you can use. Here is a file copy program in perl (I spelt it wrong in the email); This will copy all the files that have daily in their names. It also skips

Re: [R] Logical vector-based extraction

2012-11-03 Thread jim holtman
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] Can you turn a string into a (working) symbol?

2012-11-03 Thread jim holtman
. __ R-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem that you

Re: [R] Can you turn a string into a (working) symbol?

2012-11-03 Thread jim holtman
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r

Re: [R] Changing Date Variables as Continuous Variables

2012-11-03 Thread jim holtman
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list

Re: [R] sqldf Date problem

2012-11-03 Thread jim holtman
. __ R-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What

Re: [R] Merge data frame with mispelling characters

2012-11-02 Thread jim holtman
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] extracting information from txt file

2012-10-31 Thread jim holtman
and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https

Re: [R] extracting information from txt file

2012-10-31 Thread jim holtman
at Nabble.com. __ R-help@r-project.org mailing list 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. -- Jim

Re: [R] help - extract data using column names

2012-10-30 Thread jim holtman
. __ R-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem that you

Re: [R] SPACECAP error subscript out of bounds

2012-10-27 Thread jim holtman
-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem that you are trying

Re: [R] how to make simulation faster

2012-10-26 Thread Jim Holtman
use Rprof to profile your code to determine where time is being spent. This might tell you where to concentrate your effort. Sent from my iPad On Oct 25, 2012, at 23:23, stats12 ska...@gmail.com wrote: Dear R users, I need to run 1000 simulations to find maximum likelihood estimates. I

Re: [R] how to make simulation faster

2012-10-26 Thread jim holtman
/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] how to make simulation faster

2012-10-26 Thread jim holtman
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] problem in finding sizes of objects using a for loop

2012-10-25 Thread jim holtman
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r

Re: [R] creating a function using for if

2012-10-22 Thread jim holtman
]] __ R-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What

Re: [R] Error: not 'a real'?

2012-10-20 Thread Jim Holtman
how about supplying the context of the error. Show the lines in the file where the error occurred. Sent from my iPad On Oct 20, 2012, at 7:21, Brian zenli...@gmail.com wrote: Hi List, when supplying a vector of atomic vector classes to read.table, I get: # column classes

Re: [R] can't find the error in if function... maybe i'm blind?

2012-10-20 Thread Jim Holtman
Learn how to debug your programs. Start with options(error = recover) this will give you control at the point of the error so you can examine values. Most likely one of the variables in the 'if' expression is an NA. Sent from my iPad On Oct 20, 2012, at 6:27, Janosch janosch1...@web.de

Re: [R] frequency table with custom bands

2012-10-17 Thread jim holtman
#3 10-152 #4 15-202 #5 20-256 #6 25-302 A.K. - Original Message - From: jim holtman jholt...@gmail.com To: jcrosbie ja...@crosb.ie Cc: r-help@r-project.org Sent: Tuesday, October 16, 2012 8:52 PM Subject: Re: [R] frequency table with custom bands ?cut

Re: [R] frequency table with custom bands

2012-10-16 Thread jim holtman
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] Autofilling a large matrix in R

2012-10-12 Thread jim holtman
://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. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do

Re: [R] Constant Error in R

2012-10-10 Thread Jim Holtman
learn how to debug your program. I think the call is: options(error = recover) don't have R on my iPad so cannot check. When you do this, you drop into the 'browser' at which point you can examine the value and see that you have a non-numeric object. Sent from my iPad On Oct 10, 2012, at

Re: [R] Converting factors to bounded random numerical data

2012-10-10 Thread jim holtman
, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] practical to loop over 2million rows?

2012-10-10 Thread jim holtman
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] Convert COLON separated format

2012-10-09 Thread jim holtman
90095 __ R-help@r-project.org mailing list 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. -- Jim Holtman

Re: [R] R stickers

2012-10-09 Thread jim holtman
-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem that you are trying

Re: [R] Reshape2, melt, order of categorical variable and ggplot2

2012-10-08 Thread Jim Holtman
use the 'levels' option on 'factor' to define the explicit order of the factors. This mightbwork on you data: df$V1 - factor(df$V1, levels = unique(df$V1)) Sent from my iPad On Oct 7, 2012, at 16:40, Stathis Kamperis ekamp...@gmail.com wrote: Hello everyone, I have the following data

Re: [R] Error not found - for file retrieval with head()

2012-10-04 Thread jim holtman
. __ R-help@r-project.org mailing list 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. -- Jim Holtman Data

Re: [R] create new column in a DF according to values from another column

2012-09-26 Thread jim holtman
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. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want

Re: [R] Change in order of names after applying plyr package

2012-09-26 Thread jim holtman
mailing list 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. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me

Re: [R] add a data frame to my data frame

2012-09-25 Thread jim holtman
-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] small negative values instead of zeros in nested loop

2012-09-25 Thread Jim Holtman
FAQ 7.31 then look at 'all.equal' Sent from my iPad On Sep 25, 2012, at 19:39, Cristina Fdez. Aragón cf_ara...@hotmail.com wrote: Hi,I am trying to run a code with a series of nested for loops, here is a simplified version of it: J-seq(0,1,0.2)D-seq(0,1,0.2)

Re: [R] POSIXct coerced into numeric when filling a data frame

2012-09-24 Thread jim holtman
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] write.table: strange output has been produced

2012-09-19 Thread jim holtman
-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve

Re: [R] where are these NAs coming from?

2012-09-19 Thread jim holtman
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] download truncating large files

2012-09-17 Thread jim holtman
commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Question about R performance on UNIX/LINUX with different memory/swap configurations

2012-09-16 Thread jim holtman
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] please comment on my function

2012-09-14 Thread jim holtman
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] please comment on my function

2012-09-14 Thread jim holtman
You can alway convert to lower case afterwards with probably a shorter vector. You did not indicate that you needed that conversion; it only looked like you did it for the regular expression. On Fri, Sep 14, 2012 at 3:13 PM, Sam Steingold s...@gnu.org wrote: * jim holtman wubyg...@tznvy.pbz

Re: [R] Parsing back to API strcuture

2012-09-12 Thread jim holtman
and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https

Re: [R] Identifying duplicate rows?

2012-09-10 Thread jim holtman
://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. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you

Re: [R] Sum of column from another df based of row values of df1

2012-09-09 Thread jim holtman
commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Apply a function to columns of a matrix

2012-09-08 Thread jim holtman
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r

Re: [R] Why the error is coming, can anyone help?

2012-09-07 Thread Jim Holtman
'paste' does not return a matrix, so trying to extract with the '[' is incorrect. what did you expect from that expression? Sent from my iPad On Sep 7, 2012, at 2:41, Sri krishna Devarayalu Balanagu balanagudevaray...@gvkbio.com wrote: Thank you for the answer. It's working. But the

Re: [R] Why the error is coming, can anyone help?

2012-09-06 Thread jim holtman
]] __ R-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem

Re: [R] Common elements in columns

2012-09-03 Thread jim holtman
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. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want

Re: [R] How to average time series data around regular intervals

2012-08-28 Thread Jim Holtman
Any ideas how to fix this? Thanks again! Jason On Mon, Aug 27, 2012 at 1:40 PM, jim holtman jholt...@gmail.com wrote: try this: x - read.table(text = 2012-07-22 12:12:00, 21 + 2012-07-22 12:15:00, 22 + 2012-07-22 12:18:00, 24 + 2012-07-22 12:39:00, 21 + 2012-07-22 12:45:00

Re: [R] simplest way (set of functions) to parse a file

2012-08-27 Thread jim holtman
]] __ R-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem

Re: [R] String Handling() for Split a word by a letter

2012-08-27 Thread jim holtman
-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve

Re: [R] How to average time series data around regular intervals

2012-08-27 Thread jim holtman
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] write.matrix.csr data conversion

2012-08-27 Thread jim holtman
useful. __ R-help@r-project.org mailing list 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. -- Jim Holtman

Re: [R] find and replace

2012-08-27 Thread jim holtman
code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] POSIXct-coerced NA's not considered NA by is.na()

2012-08-25 Thread jim holtman
On Fri, Aug 24, 2012 at 2:26 PM, Alexander Shenkin ashen...@ufl.edu wrote: Thanks for your reply, Jim. On 8/24/2012 12:14 PM, jim holtman wrote: I think your first problem is the coersion done by 'c' when you are mixing objects of various types: you have POSIXct and character. Yes, that's

Re: [R] (no subject)

2012-08-24 Thread jim holtman
commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] POSIXct-coerced NA's not considered NA by is.na()

2012-08-24 Thread jim holtman
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] irregular splits in dataframe

2012-08-21 Thread jim holtman
list 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. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you

Re: [R] Big Data reading subsample csv

2012-08-16 Thread jim holtman
and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https

Re: [R] Reading one column .csv file

2012-08-15 Thread jim holtman
://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. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do

Re: [R] pass by reference

2012-08-13 Thread jim holtman
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] pass by reference

2012-08-13 Thread jim holtman
:19 AM, jim holtman jholt...@gmail.com wrote: You have to return the value of 'data' from the function. Functions do not have side effects. data-data.frame(col1=c(1,2,3,4,5)) getcol2-function(data){ + data$col2[data$col1=2]=L + data # return value + } getcol2(data) col1

Re: [R] pass by reference

2012-08-13 Thread jim holtman
the value back is the same as passing by value. This is rather inefficient if you ever have to deal with large datasets. You dont want to keep having a local copy within the scope of the function and then copying over the original. On Tue, Aug 14, 2012 at 11:25 AM, jim holtman jholt...@gmail.com

Re: [R] How to write % in pie chart?

2012-08-12 Thread jim holtman
://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. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how

Re: [R] if else elseif for data frames

2012-08-12 Thread jim holtman
]] __ R-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem

Re: [R] help counting in data

2012-08-11 Thread jim holtman
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. [[alternative HTML version deleted

Re: [R] Extracting desired numbers from complicated lines of web pages

2012-08-05 Thread jim holtman
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

Re: [R] Can any one help me on this Issue

2012-08-01 Thread jim holtman
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r

Re: [R] A matching problem

2012-07-30 Thread jim holtman
-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem that you are trying

Re: [R] replace values in vector from a replacement table

2012-07-30 Thread jim holtman
code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] how to sort huge ( 2^31 row) dataframes quickly

2012-07-30 Thread jim holtman
@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem that you are trying

Re: [R] Possible bug in class 'POSIXlt' when including microseconds?

2012-07-30 Thread jim holtman
. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] sprintf doesn't care of escape characters

2012-07-30 Thread jim holtman
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do

[R] Latest version of R on Ubuntu

2012-07-30 Thread jim holtman
version 2.14.1 (2011-12-22) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i686-pc-linux-gnu (32-bit) How do I get the latest version (2.15.1) installed on Ubuntu? -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me

Re: [R] Error in for-loop

2012-07-29 Thread jim holtman
, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Collapsing a vector/data-frame based on the previous values

2012-07-24 Thread jim holtman
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R

Re: [R] Help from DOS Command Prompt

2012-07-24 Thread jim holtman
, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Regular Expression

2012-07-24 Thread jim holtman
]] __ R-help@r-project.org mailing list 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. -- Jim Holtman Data Munger Guru What is the problem

Re: [R] ERROR : cannot allocate vector of size (in MB GB)

2012-07-24 Thread jim holtman
and provide commented, minimal, self-contained, reproducible code. -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. __ R-help@r-project.org mailing list https

<    1   2   3   4   5   6   7   8   9   10   >