Hi Jim & Gabor -
Apparently, it was most likely a hardware issue (shortly after
sending my last e-mail, the computer promptly died). After buying a
new system and restoring, the script runs fine. Thanks for your help!
On Tue, Jan 19, 2010 at 2:02 PM, jim holtman - jholt...@gmail.com
<+nabble+m
I'm sure this has gotten some attention before, but I have two CSV
files generated from vmstat and free that are roughly 6-8 Mb (about
80,000 lines) each. When I try to use read.csv(), R allocates all
available memory (about 4.9 Gb) when loading the files, which is over
300 times the size of the ra
Hi -
I have a levelplot with positive and negative z-values. I'd like
to scale the levelplot rectangles proportional to the *absolute*
z-values to highlight the z-value extremes (while retaining the color
difference to track the positive/negative attribute). I've likely
missed something in the
On Thu, Nov 26, 2009 at 12:08 AM, jim holtman - jholt...@gmail.com
<+nabble+miller_2555+9dc9649aca.jholtman#gmail@spamgourmet.com>
wrote:
> An easy way is just to write your own function that will accept "NA",
> convert it to NA and then call as.Date.
>
I have written such a function, which ha
An easy way is just to write your own function that will accept "NA",
convert it to NA and then call as.Date.
R is a functional language, so write some functions. Don't try to
overload existing functions with new options that may break a lot of
existing code. If you have special requirements, th
On Wed, Nov 25, 2009 at 2:56 PM, jim holtman - jholt...@gmail.com
<+nabble+miller_2555+9dc9649aca.jholtman#gmail@spamgourmet.com>
wrote:
> Seems to work fine in my testing:
>
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-co
Hello -
I have a csv file with a few date columns. Some of the records have an
"NA" character string instead of the date. When I attempt to use
read.csv() and typecast the columns using colClasses, I receive the
following error:
Error in charToDate(x) :
character string is not in a stand
On Wed, Aug 26, 2009 at 12:47 PM, hadley wickham -
> I think you're missing some quotes:
> cat(do.call("paste",c(x2,sep='","'))[1], "\n")
Thanks - the strings are actually substrings of larger strings
(specifically, SQL statements), which will wrap with the leading and
trailing quotes (though I sh
Hi -
I have a list (call it 'mylist') with the following elements: (i) a
function (call it 'myfunc' and expressed as 'mylist$myfunc') and (ii)
a variable (call it 'myvar' and expressed as 'mylist$myvar'). Since I
use mylist as a pseudo-class (I assign mylist to multiple different R
objects), I wou
Hi -
I have attempted to use the fork::fork() function to perform
parallel processing. However, the child R function called needs to
know a given set of parameters to complete its task. Specifically, I
iterate through a vector, and output values based on the elements of
that vector to a databa
10 matches
Mail list logo