On 9/14/2006 3:49 PM, Robert Gentleman wrote:
>
> Duncan Murdoch wrote:
>> On 9/14/2006 3:01 PM, Seth Falcon wrote:
>>> Hi,
>>>
>>> Can someone help me understand why
>>>
>>> substitute(function(a) a + 1, list(a=quote(foo)))
>>>
>>> gives
>>>
>>> function(a) foo + 1
>>>
>>> and not
>>>
>>> f
On Thu, 14 Sep 2006, Robert Gentleman wrote:
> > > substitute(c( a = 1, b = a), list(a = quote(foo)))
> > c(a = 1, b = foo)
> >
> > The "a" in function(a) is the name of the arg, it's not the arg itself
>
> yes, but the logic seems to be broken. In Seth's case there seems to be
> no way to use su
Good afternood everybody,
I have a question about using "Rinternals.h": If I
need to evaluate a R expresion from my c++ code Do I
have to change my c++ code enterelly?, I'm thinking
about the way I allocate memory and the way I print
for example.
Thanks for any help in advance.
Patricia
Duncan Murdoch wrote:
> On 9/14/2006 3:01 PM, Seth Falcon wrote:
>> Hi,
>>
>> Can someone help me understand why
>>
>> substitute(function(a) a + 1, list(a=quote(foo)))
>>
>> gives
>>
>> function(a) foo + 1
>>
>> and not
>>
>> function(foo) foo + 1
>>
>> The man page leads me to believe thi
On Thu, 14 Sep 2006, Duncan Murdoch wrote:
> I think it's the same reason that this happens:
>
> > substitute(c( a = 1, b = a), list(a = quote(foo)))
> c(a = 1, b = foo)
>
> The "a" in function(a) is the name of the arg, it's not the arg itself
> (which is missing). Now a harder question to answ
On 9/14/2006 3:01 PM, Seth Falcon wrote:
> Hi,
>
> Can someone help me understand why
>
> substitute(function(a) a + 1, list(a=quote(foo)))
>
> gives
>
> function(a) foo + 1
>
> and not
>
> function(foo) foo + 1
>
> The man page leads me to believe this is related to lazy evaluation of
Hi,
Can someone help me understand why
substitute(function(a) a + 1, list(a=quote(foo)))
gives
function(a) foo + 1
and not
function(foo) foo + 1
The man page leads me to believe this is related to lazy evaluation of
function arguments, but I'm not getting the big picture.
Thanks,
+ s
On Thu, 2006-09-14 at 20:35 +0200, [EMAIL PROTECTED]
wrote:
> Full_Name: Mark O. Kimball
> Version: 2.1
> OS: Linux
> Submission from: (NULL) (128.253.11.148)
>
>
> When log="x" is used in a plot() function, the legend "title" option creates
> room for the text but does not display it. When the l
Full_Name: Mark O. Kimball
Version: 2.1
OS: Linux
Submission from: (NULL) (128.253.11.148)
When log="x" is used in a plot() function, the legend "title" option creates
room for the text but does not display it. When the log="x" function is
disabled, the text is again displayed. The symbols and/or
Hi,
there will be some fairly major changes in the lattice that will get
released with R 2.4.0. A first version is now available on CRAN, at
http://cran.r-project.org/src/contrib/2.4.0/Recommended/lattice_0.14-3.tar.gz
Although there is a dependency on R 2.4, the package passes R CMD
check on 2.
Dear all,
the number of significant digits in summary default is
digits = max(3, getOption("digits") - 3)
on my platform this results to be 4. The point is that if you have,
say, integer data of magnitude greater than 10^3 the command summary
will produce heavily rounded results.
A simple examp
11 matches
Mail list logo