Displaying 2 results from an estimated 2 matches for "radziejewski".
2006 Jun 20
2
Accessing date subfields
Hello,
I can't figure out a "proper" way to extract the month number from a Date class variable. I can do it like this:
> today <- as.Date(Sys.time())
> as.integer (format.Date (today, "%m"))
but it must be inefficient, since I convert a date to text and back to a number. I tried:
> months(today)
but the months() function returns the name of the month, not
2007 Mar 09
4
Using large datasets: can I overload the subscript operator?
Hello,
I do some computations on datasets that come from climate models. These data
are huge arrays, significantly larger than typically available RAM, so they
have to be accessed row-by-row, or rather slice-by slice, depending on the
task. I would like to make an R package to easily access such datasets
within R. The C++ backend is ready and being used under Windows/.Net/Visual
Basic, but I have