Re: [Rd] What do you call the value that represents a missing argument?

2010-10-09 Thread Vitally S.
Hadley Wickham had...@rice.edu writes: What's the correct way to create an object like this? (for example if you are manipulating the formals of a function to add an argument with no default value, as in http://stackoverflow.com/questions/3892580/).as.symbol() returns an error. Both

[Rd] symbol and symbols help files

2010-10-09 Thread Patrick Burns
I think it makes sense to have 'symbol' in the See Also of 'symbols' and vice versa. -- Patrick Burns pbu...@pburns.seanet.com http://www.portfolioprobe.com/blog http://www.burns-stat.com (home of 'Some hints for the R beginner' and 'The R Inferno')

Re: [Rd] What do you call the value that represents a missing argument?

2010-10-09 Thread Hadley Wickham
It is a 'dotted pair list' But: is.pairlist(formals(plot)$x) [1] FALSE Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/ __ R-devel@r-project.org mailing list

Re: [Rd] What do you call the value that represents a missing argument?

2010-10-09 Thread Peter Dalgaard
On 10/09/2010 01:51 PM, Hadley Wickham wrote: It is a 'dotted pair list' But: is.pairlist(formals(plot)$x) [1] FALSE Hadley Vitaly is right that it is implemented as as.symbol(), although there's a safeguard against doing just that (and it is not like it is imperative to have that