I was bit by this before. row.names are supposed to be characters, and
they are until around 2.3 iirc. Then at 2.4, they started storing it
as integers presumably to save space (and probably because ints are
more low-maintenance data types than strings). So to the user (e.g.
through row.names() )
Thanks! Worked like a charm.
Regards,
M. Manese
On 7/11/07, Prof Brian Ripley [EMAIL PROTECTED] wrote:
formals(args(log))
$x
$base
exp(1)
gives what formals(log) used to.
On Wed, 11 Jul 2007, miguel manese wrote:
Hi,
In the latest R this does not work anymore
args - formals
Hi,
In the latest R this does not work anymore
args - formals(log)
because log is primitive. Is there any other way to get the argument
list? I just need the name of the parameter to display some error
message about it. I have looked at args() but I can't find anything to
extract the argument
On 11/2/06, Vladimir Dergachev [EMAIL PROTECTED] wrote:
On Tuesday 31 October 2006 9:30 pm, miguel manese wrote:
The slowness manifests itself for vectorized code as well. I believe it is due
to the code mucking about with row.names attribute which introduces a penalty
on any [,] operation
Hi,
Had experience with this on doing SQLiteDF...
On 11/1/06, Vladimir Dergachev [EMAIL PROTECTED] wrote:
Hi all,
I am working with some large data sets (1-4 GB) and have some questions
that I hope someone can help me with:
1. Is there a way to turn off garbage collector from within
Hello,
I created an S3 type w/c is actually a list that should look like a
matrix but whose data is actually in an external file. The SEXP just
contains info on how to retrieve the data from the file. When I get to
the part of creating the SEXP, I found out that SET_DIM SET_DIMNAME
checks the
Thanks for the fix. I'm guessing the rules are:
a. a non S3 method is bound to the global env, and will see the def'n
of an S3-ized method (e.g. I made is.list() generic and lapply, w/c
is not generic, gets the S3-ized is.list)
b. an S3 method implementation is bound to the namespace it was
Hello all,
In my package I made sort() generic as follows:
sort.default - sort; sort - function(x, ...) UseMethod(sort);
formals(sort.default) - c(formals(sort.default), alist(...=))
then added a sort for my S3 class
sort.sqlite.vector - function(x, decreasing=FALSE, ...) {
On 7/3/06, Martin Maechler [EMAIL PROTECTED] wrote:
miguel == miguel manese [EMAIL PROTECTED]
on Mon, 3 Jul 2006 09:43:12 +0800 writes:
miguel Hello, Do we have like an official unit testing
miguel framework for packages? Like we do R CMD check, and
miguel say the scripts
Hello,
Do we have like an official unit testing framework for packages? Like
we do R CMD check, and say the scripts in pkg/test are executed? Or
do we roll out our own outside the package?
Thanks,
M. Manese
__
R-devel@r-project.org mailing list
10 matches
Mail list logo