similar to: foo2Args()

Displaying 20 results from an estimated 4000 matches similar to: "foo2Args()"

2006 Oct 24
2
as.missing
(I'm not sure if this is a request for a feature, or another instance where a feature has eluded me for many years.) Often I have a function which calls other functions, and may often use the default arguments to those functions, but needs the capability to pass along non-default choices. I usually do this with some variation on foo <- function(x, foo2Args=NULL or a list(foo2defaults),
2010 Feb 10
1
How to solve: Error in * unused argument(s) ?
Hi all, For some reason, I would like to use functions bellow (see example code bellow), but instead I get the following error message: *Error in foo2(...) : unused argument(s) (arg3 = 3)* #--------------------- # example code #--------------------- foo1 <- function(arg1,...) { print(arg1) foo2(...) foo3(...) } foo2 <- function(arg2) { print(arg2) } foo3 <- function(arg3) {
2008 Mar 25
1
Passing (Optional) Arguments
Dear List: In short, I am writing a number of functions as building blocks for other functions and have some questions about scoping and passing arguments. Suppose I have functions foo1, foo2, and foo3 such that: foo1<-function(a=1,b=TRUE,c=FALSE){#do stuff}; foo2<-function(x=1,y=FALSE,z=c(1,2,3,4)){#do stuff}; foo3<-function(lambda,...){lambda*foo1()*foo2()}; I want to be able to
2006 Jun 29
3
advice on arguments
I have a general style question about R coding. Suppose I'm writing a function (foo1) that calls other functions (foo2, foo3, ...) which have complicated argument lists (e.g. optim(), plot()), _and_ I may be calling several different functions in the body of foo1. Since foo2 and foo3 have different sets of arguments, I can't just use "..." ; I did write some code a while ago
2006 Mar 31
1
package?<pac>
When I use package?<pac> the author field gets reproduced twice, once with the \author{ } string and a secod time formatted. Also, would it be possible to make package?<pac> find the overview without the package being attached, or at least give a more informative error message. Paul Gilbert
2006 Apr 17
1
slot named C
"C" appears to be an illegal name for a slot in an S4 class (example below). If this is a known limitation, and not a bug, it would be nice if it were caught by setClass. Paul Gilbert > setClass("testobj", representation ( C = "numeric")) [1] "testobj" > new("testobj", C= 2) Error in methodsPackageMetaName("C", name) :
2008 Feb 04
1
r-release Windows x86_64
I was just looking at the daily checks and it seems the "r-release Windows x86_64 (32-bit)" column is running R2.6.0. Is that correct? Possibly related, an error is being flagged in that column for TSMySQL, which appears to be a problem that should be caught in the other columns too. It is something that has been fixed in my sources for awhile. (I think it was fixed in the
2006 Jun 02
2
task view errors
I am getting several errors about Windows only packages when I use task views. Is this suppose to be a Windows-centric utility? Also, I am sure there must be a simple way to tell which packages are in a view, but I haven't found it. If there isn't, it would be nice to have. Paul Gilbert _______ install.views(c( "Multivariate", "Econometrics", "Finance",
2008 Apr 21
4
key remapping
hello, im playin worms armageddon in opensuse with wine 0.9.44, so this works fine. but in windows i became very familar with my self made keyboard layout. i changed space to num 0 for example. i tried some progs now, like key tweak for windows, this doesnt work due to the missing registry entry, which key tweak uses. autohotkey has problems with finding my keyboard layout (showes me errors in
2009 Oct 15
1
R RSS feed
I was trying to subscribe to an RSS feed from <http://developer.r-project.org/RSSfeeds.html> but IE chokes on DTDs and Firefox also has trouble with this feed. (I'm not sure if it has trouble with DTDs in general.) I went to one of our web developers to see what I should use to read the feed, and he pointed out that the mix of RSS 2.00 and rss-0.91 looks like a mistake: <!--
2006 Sep 20
1
alpha, portable use
When I build one of my packages with alpha from yesterday I am getting * checking for portable use of $BLAS_LIBS ... WARNING apparently missing $(FLIBS) in 'PKG_LIBS=$(LAPACK_LIBS) $(BLAS_LIBS)' Is this something I should worry about? (Possibly I got this before and didn't notice.) Paul Gilbert ====================================================================================
2007 May 30
2
S4 assignment \alias and \usage
What is the Rd file alias and usage syntax for an S4 assignment method? I have been trying variations on \alias{TSdoc<-,default-method} \usage{ \S4method{TSdoc}{default}(x) <- value but so far I have not got it right according to various codoc, etc, checks. Paul Gilbert ==================================================================================== La version fran?aise
2008 Nov 24
0
CRAN - db backend testing
(thread renamed from Re: [R-sig-DB] RMySQL release candidate 0-7.0) Building on Uwe's comments and my own thoughts I suggest variables like SKIP_POSTGRESQL, SKIP_MYSQL, SKIP_SQLITE, SKIP_ORACLE, SKIP_ODBC, SKIP_FAME be used to signal that tests should not be run. If these are not set to something then the tests will be attempted, so skipping the tests is not likely to happen by accident.
2009 Oct 15
0
news() format
I am trying to reformat my NEWS file so it works with news() (in R-beta as of a few days ago). I have tried several variations around Changes in version 2009.10-1 o Standardized NEWS format for function news(). o Fixed a few documentation problems found by R-2.10.0 (beta) quality checks. But news() only picks up the second entry. Suggestions? Paul
2009 Nov 02
0
reg-tests-1 failing in Ubuntu 9.10
I upgraded one of my computers to Ubuntu 9.10 (Karmic) and when I do make check with R-2.10.0 reg-tests-1 is failing. The file reg-tests-1.Rout.fail is attached. I am having difficulty distinguishing what causes the error. Any suggestions would be appreciated. Paul ==================================================================================== La version fran?aise suit le texte
2008 Nov 05
0
Ottawa area R Users meeting
There will be a meeting of the Ottawa Gatineau R Users Group on Monday November 10 from 4pm to 6pm. More details are provided below. Please pass this message along to friends you think may be interested. Paul Gilbert _________ Dear R friends: To get OGRUG going again I've reserved room DMS 6160 in the Desmarais Building of the University of Ottawa for 1600-1800 November 10. This is the
2009 Jan 23
0
New international competition for the Digital Humanities
(Slightly off topic and outside my area - but this may be of interest to the R community) WASHINGTON (January 16, 2009) -- Today, a new international competition called the "Digging into Data Challenge" was announced by four leading research agencies: the Joint Information Systems Committee (JISC) from the United Kingdom, the National Endowment for the Humanities (NEH) and the
2009 May 06
0
remote browser and per-session dir
Running R on a remote system I can almost never get help.start() to work, because it passes the request to my local browser, which cannot see the "links in per-session dir" created in /tmp on the remote machine. Is there a way to put the "per-session dir" in my home dir (which is NFS mounted), or some other fix for this "feature"? Paul Gilbert
2009 Nov 07
0
new dse package
With the release of R-2.10.0 I have divided the dse bundle into packages. The bundled package dse1 and part of dse2 are now in the new package dse. The remaining part of dse2 is in a new package EvalEst. The package dse does multivariate ARMA and state space time series modelling and forecasting, while package EvalEst is now focused on the evaluation of estimation methods. To aid transition, there
2009 Nov 07
0
new dse package
With the release of R-2.10.0 I have divided the dse bundle into packages. The bundled package dse1 and part of dse2 are now in the new package dse. The remaining part of dse2 is in a new package EvalEst. The package dse does multivariate ARMA and state space time series modelling and forecasting, while package EvalEst is now focused on the evaluation of estimation methods. To aid transition, there