Re: [R] R_alloc with structures with "flexible array members"

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Wed, 05 Mar 2008 19:35:09 -0600

Hi Ramon,

On 5 March 2008 at 22:00, Ramon Diaz-Uriarte wrote:
| Yes, of course! You are right. What a silly mistake on my part! I was
| using a standalone program for development of functions, debugging,
| etc, of what is part of a package.

That's another good use for littler's r. With a package foo, I just call

   $ r --package foo --eval 'print(summary(someFunctionIamTesting()))'

or in short form

   $ r -lfoo -e'print(summary(someFunctionIamTesting()))'    

right after a rebuild of the package in question. That way you get to keep the package code in the package, and have a light-weight testing wrapper.

Rscript can do the same (with slightly different calling syntax), in case 'sudo apt-get install littler' won't work for you ;-)

Hth, Dirk

-- 
Three out of two people have difficulties with fractions.

______________________________________________
R-help_at_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.
Received on Thu 06 Mar 2008 - 01:39:33 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 06 Mar 2008 - 12:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive