> ?prompt
[SNIP]
    ## Create a help file for each function in the .GlobalEnv:
    for(f in ls()) if(is.function(get(f))) prompt(name = f)

> foo <- function(x) { cat(x, '\n')}
> prompt(name="foo")
Error in utils:::prompt(object, filename = filename, name = name, ...) : 
  argument "object" is missing, with no default
> version
platform       x86_64-apple-darwin9.8.0                    
arch           x86_64                                      
os             darwin9.8.0                                 
system         x86_64, darwin9.8.0                         
status         Patched                                     
major          2                                           
minor          15.1                                        
year           2012                                        
month          07                                          
day            05                                          
svn rev        59734                                       
language       R                                           
version.string R version 2.15.1 Patched (2012-07-05 r59734)
nickname       Roasted Marshmallows

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to