Displaying 18 results from an estimated 18 matches for "rdname".
Did you mean:
dname
2008 Apr 13
1
promptFunctions() to handle multiple names
...to handle multiple functions correctly
promptFunctions <-
~ function (..., # objects to be documented
~ filename = NULL, # file name string or NA for
console
~ names = NULL, # character vector of object names
~ rdname = NULL, # name of the documentation
~ overwrite = FALSE # overwrite existing Rd file?
~ )
{
~ ## helper functions
~ paste0 <- function(...) paste(..., sep = "")
~ is.missing.arg <- function(arg) typeof(arg) == "symbol"...
2013 Jun 30
18
Xen 4.2.2 /etc/init.d/xendomains save and restore of domains does not work
...dating to 4.2.2 the autosave and autorestore of domains dos not
work any more.
The reason is that there are some bugs in /etc/init.d/xendomains
At the end of the mail there is a diff of my corrections. The
correction are only tested on my system under xl toolstack
1) @@ -182,7 +182,7 @@ The rdname does not report any domain name
2) @@ -254,8 +254,8 @@ The header of a saved domain does not contain
"LinuxGuestRecord" instead it contains "Xen saved domain".
3) @@ -365,11 +365,11 @@ The escape character `\´ in front of `$´ in
`case \"\$name\"´ in suspress Va...
2007 Jul 26
2
Rd2dvi (PR#9812)
Is this a bug--
-------------------------------------------------------------------------------
<234>% R CMD Rd2dvi base.Rd
Converting Rd files to LaTeX ...
base.Rd
Can't use an undefined value as filehandle reference at
/opt/R-2.5.1/lib/R/share/perl/R/Rdconv.pm line 78.
ENCS is
Creating dvi output from LaTeX ...
Saving output to 'base.dvi' ...
cp: cannot access
2014 Dec 06
1
Bug#772274: xen-utils-common: when upgrading package: insserv: Service xenstored has to be enabled to start service xendomains
...1
}
fi
if ! which usleep >&/dev/null
then
usleep()
{
if [ -n "$1" ]
then
sleep $(( $1 / 1000000 ))
fi
}
fi
rc_reset
contains_something()
{
if [ -d "$1" ] && [ `/bin/ls $1 | wc -l` -gt 0 ]
then
return 0
else
return 1
fi
}
rdname()
{
NM=$($CMD create --quiet --dryrun --defconfig "$1" |
sed -n 's/^.*(name \(.*\))$/\1/p;s/^.*"name": "\(.*\)",$/\1/p')
}
rdnames()
{
NAMES=
if ! contains_something "$XENDOMAINS_AUTO"
then
return
fi
for dom in $XEND...
2013 Jan 30
0
ROxygen2-Documenting of S4 Method
...nt replacing whatever \code{slot} in \code{object}
#' currently holds.
#' @return Returns an object of class \code{\link{rcfpdsuperclass}} with the
#' appropriate replacement.
#' @seealso \code{\link{rcfpdsuperclass}},\code{\link{get}}
#' @export
#' @docType methods
#' @rdname set-methods
#' @author Johannes Graumann
#' @keywords methods manip
#' @examples
#' rs <- new("rcfpdsuperclass")
#' str(rs)
#' get(rs,"RcfpdVersion")
#' # Works
#' set(rs,"RcfpdVersion") <- "4"
#' get(rs,"RcfpdVe...
2018 Sep 11
2
Modification-proposal for %% (modulo) when supplied with double
...l to the result for \%\%, unless the answer would be really close to y, in which case 0 is returned
#' @note To specify tolerance, use the call \code{`\%mod\%`(x,y,tolerance)}
#' @note The precedence for \code{\%mod\%} is the same as that for \code{\%\%}
#'
#' @name mod
#' @rdname mod
#'
#' @export
`%mod%` <- function(x,y, tolerance = sqrt(.Machine$double.eps)) {
stopifnot(is.numeric(x), is.numeric(y), is.numeric(tolerance),
!is.na(tolerance), length(tolerance)==1, tolerance>=0)
if(is.integer(x) && is.integer(y)) {
return(x %%...
2008 Sep 11
1
Error in /etc/init.d/xendomains if using option XEN_DOMAINS_AUTO_ONLY=true - saving of the domains always fails / shutdown is called
...f shut down, it affects also
the wished migration of the domain to another machine, etc. The error code
is in the beginning of the loop in the stop() procedure:
stop()
{
# Collect list of domains to shut down
if test "$XENDOMAINS_AUTO_ONLY" = "true"; then
rdnames
fi
echo -n "Shutting down Xen domains:"
while read LN; do
parseln "$LN"
if test $id = 0; then continue; fi
echo -n " $name"
if test "$XENDOMAINS_AUTO_ONLY" = "true"; then
case $name in...
2008 Sep 11
1
Error in /etc/init.d/xendomains if using option XEN_DOMAINS_AUTO_ONLY=true - saving of the domains always fails / shutdown is called
...f shut down, it affects also
the wished migration of the domain to another machine, etc. The error code
is in the beginning of the loop in the stop() procedure:
stop()
{
# Collect list of domains to shut down
if test "$XENDOMAINS_AUTO_ONLY" = "true"; then
rdnames
fi
echo -n "Shutting down Xen domains:"
while read LN; do
parseln "$LN"
if test $id = 0; then continue; fi
echo -n " $name"
if test "$XENDOMAINS_AUTO_ONLY" = "true"; then
case $name in...
2007 May 01
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9649)
...$complete_text =~ /(\\\w+{)/) {
+ $extra_info = "(\'$1\')" ;
+ }
+ foreach my $line (split /\n/, $complete_text) {
+ $badlineno++;
+ last if ($line =~ /[{}]/) ;
+ }
+ die "Rdconv(): mismatched braces $extra_info in help file $Rdname on or after line $badlineno\n" ;
+ }
}
sub unmark_brackets {
2018 Sep 11
1
Modification-proposal for %% (modulo) when supplied with double
...> >
> > #' @note To specify tolerance, use the call \code{`\%mod\%`(x,y,tolerance)}
> >
> > #' @note The precedence for \code{\%mod\%} is the same as that for \code{\%\%}
> >
> > #'
> >
> > #' @name mod
> >
> > #' @rdname mod
> >
> > #'
> >
> > #' @export
> >
> > `%mod%` <- function(x,y, tolerance = sqrt(.Machine$double.eps)) {
> >
> > stopifnot(is.numeric(x), is.numeric(y), is.numeric(tolerance),
> >
> > !is.na(tolerance), l...
2007 Apr 30
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9645)
...removed.
+ # Hence the 'on or after' in the message.
+ my $badlineno=0 ;
+ foreach my $line (split /\n/, $complete_text) {
+ $badlineno++;
+ last if ($line =~ /[{}]/) ;
+ }
+ die "Rdconv(): mismatched braces in help file $Rdname on or after line $badlineno\n" ;
+ }
}
sub unmark_brackets {
> \name{combn}
> \alias{combn}
> \title{ Generate combinations of m elements out of x }
> \description{
> Generate all combinations of \code{m} elements out of \code{x} or
> \code{1:n}, and optionally...
2011 Jul 24
0
roxygen2
...ctored roxygen, making it more maintainable and
robust; the changes are so significant that we decided to nominate it
roxygen2:
http://cran.r-project.org/web/packages/roxygen2/index.html
Some highlights:
* it's faster;
* usage has been improved (the @usage tag should be obsolete);
* @rdname merges documentation for multiple functions into one file.
For details, see:
https://github.com/klutometis/roxygen/blob/master/NEWS
_______________________________________________
R-packages mailing list
R-packages at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages
2011 Jul 24
0
roxygen2
...ctored roxygen, making it more maintainable and
robust; the changes are so significant that we decided to nominate it
roxygen2:
http://cran.r-project.org/web/packages/roxygen2/index.html
Some highlights:
* it's faster;
* usage has been improved (the @usage tag should be obsolete);
* @rdname merges documentation for multiple functions into one file.
For details, see:
https://github.com/klutometis/roxygen/blob/master/NEWS
_______________________________________________
R-packages mailing list
R-packages at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages
2018 Sep 11
0
Modification-proposal for %% (modulo) when supplied with double
...be really close to y, in which case 0 is returned
>
> #' @note To specify tolerance, use the call \code{`\%mod\%`(x,y,tolerance)}
>
> #' @note The precedence for \code{\%mod\%} is the same as that for \code{\%\%}
>
> #'
>
> #' @name mod
>
> #' @rdname mod
>
> #'
>
> #' @export
>
> `%mod%` <- function(x,y, tolerance = sqrt(.Machine$double.eps)) {
>
> stopifnot(is.numeric(x), is.numeric(y), is.numeric(tolerance),
>
> !is.na(tolerance), length(tolerance)==1, tolerance>=0)
>
>...
2010 Apr 19
0
redhat4.6-32bit DomU with pv driver can''t be saved
...work properly because of bash
version. So I modified it as follow:
root@r02k08027 # diff -up /etc/init.d/xendomains /etc/init.d/xendomains_31
--- /etc/init.d/xendomains 2010-04-08 00:12:04.000000000 +0800
+++ /etc/init.d/xendomains_31 2010-04-19 22:45:35.000000000 +0800
@@ -182,11 +182,11 @@ rdnames()
parseln()
{
- if [[ "$1" =~ ''(domain'' ]]; then
+ if [[ "$1" == ''(domain''* ]]; then
name=;id=
- else if [[ "$1" =~ ''(name'' ]]; then
+ else if [[ "$1" == ''(name...
2010 Apr 19
0
redhat4.6-32bit DomU with pv driver can''t be saved
...work properly because of bash
version. So I modified it as follow:
root@r02k08027 # diff -up /etc/init.d/xendomains /etc/init.d/xendomains_31
--- /etc/init.d/xendomains 2010-04-08 00:12:04.000000000 +0800
+++ /etc/init.d/xendomains_31 2010-04-19 22:45:35.000000000 +0800
@@ -182,11 +182,11 @@ rdnames()
parseln()
{
- if [[ "$1" =~ ''(domain'' ]]; then
+ if [[ "$1" == ''(domain''* ]]; then
name=;id=
- else if [[ "$1" =~ ''(name'' ]]; then
+ else if [[ "$1" == ''(name...
2007 Apr 10
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9606)
I've created a .Rd file (below), then converted that to .sgml using
R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml
The output (shown below) is missing some of the sections:
arguments
seealso
examples
If instead I convert to .d (below), the same sections are missing,
and the "note" section is included but without the necessary newline.
2012 May 06
1
Bug#671750: Configuration of domain save/restore broken
...tc.) was lost. I can't check exactly when because
there's no Vcs defined for this package.
4.1.2-3 had in /etc/init.d/xendomains for restore:
if [ "$XENDOMAINS_RESTORE" = "true" ] &&
contains_something "$XENDOMAINS_SAVE"
then ?
and for rdnames:
if ! contains_something "$XENDOMAINS_AUTO"
then
return
fi
etc.
4.1.2-5 has unconditionally for start restore:
for file in $XENDOMAINS_SAVE/*; do
if [ -f $file ] ; then
?
and for stop_save:
while read id name rest; do
log_action_begin_msg "...