search for: assigninmynamespace

Displaying 6 results from an estimated 6 matches for "assigninmynamespace".

2013 Feb 12
2
Private environments and/or assignInMyNamespace
...ould it be an option to place the widgets in a private environment of my plugin package (then I would have to learn how to create one and work with it), or won't they be found that way? Alternatively, I could have unexported objects of all required names in my namespace and modify these via assignInMyNamespace (I don't think that anybody from somewhere else would import that namespace, it's not that kind of package). Would that be a viable alternative, and would the widgets be found that way? Any further ideas? Best regards, Ulrike -- ***************************************************** *...
2013 Jul 26
1
How to best implement package options?
...ons in the package name space. This avoids any name collisions, but users have to relate to several options interfaces (the ones I've seen work mostly the same as the standard options(), though). AFAIK, this solution neccessitates calling unlockBinding() on the option list, or using assignInMyNamespace() to update it. 3) Finally, I've found one package ('pkgmaker') that implements a general mechanism that can be used by other packages to create package options. The mechanism creates options()-like functions in the package's name space, and the optins are either stored as...
2012 Aug 07
2
Problem with global variable building a package
Hi,   My name is Eva and this is my first message here. My English is not very good, but I hope you can understand my question, in the context of an academic project.   I have developed several functions in R and the idea is that the user can access functions in order to:   1)      Alter parameters in relation with data and type of analysis. 2)      Run statistical analysis (Text and pdf
2014 Mar 05
1
[PATCH] Code coverage support proof of concept
...ot;C_") -export("?", .DollarNames, CRAN.packages, Rprof, Rprofmem, RShowDoc, +export("?", .DollarNames, CRAN.packages, Rcov_start, Rcov_stop, Rprof, Rprofmem, RShowDoc, RSiteSearch, URLdecode, URLencode, View, adist, alarm, apropos, aregexec, argsAnywhere, assignInMyNamespace, assignInNamespace, as.roman, as.person, as.personList, as.relistable, aspell, diff -ruN R-devel/src/library/utils/R/Rcov.R R-devel-cov/src/library/utils/R/Rcov.R --- R-devel/src/library/utils/R/Rcov.R 1970-01-01 01:00:00.000000000 +0100 +++ R-devel-cov/src/library/utils/R/Rcov.R 2014-03-03...
2012 Mar 30
0
R 2.15.0 is released
.... The "data.frame" method is more consistent with the default method: in particular it now applies zapsmall() to numeric/complex summaries. o The number of items retained with options(warn = 0) can be set by options(nwarnings=). o There is a new function assignInMyNamespace() which uses the namespace of the function it is called from. o attach() allows the default name for an attached file to be overridden. o bxp(), the work horse of boxplot(), now uses a more sensible default xlim in the case where at is specified differently from 1:...
2012 Mar 30
0
R 2.15.0 is released
.... The "data.frame" method is more consistent with the default method: in particular it now applies zapsmall() to numeric/complex summaries. o The number of items retained with options(warn = 0) can be set by options(nwarnings=). o There is a new function assignInMyNamespace() which uses the namespace of the function it is called from. o attach() allows the default name for an attached file to be overridden. o bxp(), the work horse of boxplot(), now uses a more sensible default xlim in the case where at is specified differently from 1:...