On Fri, 8 Oct 2010, Hadley Wickham wrote:
Hi all,
What's the official name for the value that represents a missing argument?
e.g.
formals(plot)$x
See ?list
It is a 'dotted pair list'
Are you looking for 'alist'?
"alist handles its arguments as if they described function arguments. So
the
Vitalie Spinu wrote:
On Fri, Oct 8, 2010 at 7:49 PM, Duncan Murdoch wrote:
On 08/10/2010 12:24 PM, Vitalie Spinu wrote:
On Fri, Oct 8, 2010 at 12:14 PM, Duncan Murdoch
wrote:
Vitalie Spinu wrote:
Hello Everyone!
NULL replacement will change expression
On 8 October 2010 at 15:11, Martin Morgan wrote:
| On 10/08/2010 01:25 PM, Dirk Eddelbuettel wrote:
| >
| > With several versions of R 2.12.0 I have been seeing this when running
| >
| > R CMD build Rcpp
| >
| > from the SVN sources:
| >
| > [...]
| > Transcript written on Rd2.log.
| >
Hi all,
What's the official name for the value that represents a missing argument?
e.g.
formals(plot)$x
str(formals(plot)$x)
deparse(formals(plot)$x)
is.symbol(formals(plot)$x)
What's the correct way to create an object like this? (for example if
you are manipulating the formals of a function t
On 10/08/2010 01:25 PM, Dirk Eddelbuettel wrote:
>
> With several versions of R 2.12.0 I have been seeing this when running
>
> R CMD build Rcpp
>
> from the SVN sources:
>
> [...]
> Transcript written on Rd2.log.
> Saving output to '/home/edd/svn/rcpp/pkg/Rcpp/build/Rcpp.pdf' ...
> W
With several versions of R 2.12.0 I have been seeing this when running
R CMD build Rcpp
from the SVN sources:
[...]
Transcript written on Rd2.log.
Saving output to '/home/edd/svn/rcpp/pkg/Rcpp/build/Rcpp.pdf' ...
Warning in file.create(to[okay]) :
cannot create file '/home/edd/svn
On Fri, Oct 8, 2010 at 7:49 PM, Duncan Murdoch wrote:
> On 08/10/2010 12:24 PM, Vitalie Spinu wrote:
>
>> On Fri, Oct 8, 2010 at 12:14 PM, Duncan Murdoch> >wrote:
>>
>> > Vitalie Spinu wrote:
>> >
>> >> Hello Everyone!
>> >>
>> >> NULL replacement will change expression object into list:
>> >>
On 08/10/2010 12:24 PM, Vitalie Spinu wrote:
On Fri, Oct 8, 2010 at 12:14 PM, Duncan Murdochwrote:
> Vitalie Spinu wrote:
>
>> Hello Everyone!
>>
>> NULL replacement will change expression object into list:
>>
>>
>>
>>> te<- expression(a=23*4, b=33-2)
>>> te
>>>
>>>
>> expression(a = 23 *
On Fri, Oct 8, 2010 at 12:14 PM, Duncan Murdoch wrote:
> Vitalie Spinu wrote:
>
>> Hello Everyone!
>>
>> NULL replacement will change expression object into list:
>>
>>
>>
>>> te <- expression(a=23*4, b=33-2)
>>> te
>>>
>>>
>> expression(a = 23 * 4, b = 33 - 2)
>>
>>
>>
>>> te[["a"]] <- quote(blab
At least for me, the problem is not to do with the length of
formula. You have a term in the formula with a very long name, and
there are several places that can go wrong. For example, for the N=20
version I get
model.frame(as.formula(temp2), tdata) -> foo
foo
Error in do.call("data.frame"
Hello all,
I've been working on a project involving clustering algorithms and I've hit a
bit of a snag.
I have my main data frame with is 31 X 1000, I have fed this into dif and
hclust in order to produce a 31 item vector stating the perceived grouping of
the columns.E.g.
1 1 1 1 2 2 2 2 1 1 1
Vitalie Spinu wrote:
Hello Everyone!
NULL replacement will change expression object into list:
te <- expression(a=23*4, b=33-2)
te
expression(a = 23 * 4, b = 33 - 2)
te[["a"]] <- quote(blabla) #ok
te
expression(a = blabla, b = 33 - 2)
te[["a"]] <- NULL #change to list
Hello Everyone!
NULL replacement will change expression object into list:
>
> te <- expression(a=23*4, b=33-2)
> te
expression(a = 23 * 4, b = 33 - 2)
> te[["a"]] <- quote(blabla) #ok
> te
expression(a = blabla, b = 33 - 2)
> te[["a"]] <- NULL #change to list
> te
$b
33 - 2
I am on w32, versio
13 matches
Mail list logo