[R] R_alloc with structures with "flexible array members"
Ramon Diaz-Uriarte
rdiaz02 at gmail.com
Thu Mar 6 12:46:07 CET 2008
Hi Dirk,
Wow!!! That is really useful (and I was completely unaware of it). Thanks!
('sudo apt-get install littler' continued to work perfectly in all the
machines I use).
Thanks,
R.
P.D. One more reason to sign up for your tutorial on useR 2008.
On Thu, Mar 6, 2008 at 2:35 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> 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.
>
--
Ramon Diaz-Uriarte
Statistical Computing Team
Structural Biology and Biocomputing Programme
Spanish National Cancer Centre (CNIO)
http://ligarto.org/rdiaz
More information about the R-help
mailing list