Displaying 20 results from an estimated 2000 matches similar to: "R CMD Rdconv drops sections: arguments, seealso, examples (PR#9606)"
2007 Apr 30
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9645)
On Tue, 10 Apr 2007 timh at insightful.com wrote:
> 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"
2007 May 01
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9649)
On Mon, 30 Apr 2007 bill at insightful.com wrote:
> On Tue, 10 Apr 2007 timh at insightful.com wrote:
>
> > 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
2007 Apr 10
0
(PR#9606) R CMD Rdconv drops sections: arguments, seealso,
Ny understanding was that Insightful had been asked to provide patches fo
this.
We look forward to receiving them.
On Tue, 10 Apr 2007, timh at insightful.com wrote:
> 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
2006 Jul 01
1
Rdconv --type=Ssgm drops singleton keywords (PR#9051)
If an Rd file has only one keyword entry then
the Splus sgm file made with Rdconv --type=SSgm
has no keyword entries.
To reproduce:
Use prompt() to make a skeleton help file
R> f<-function(x)log(1+x)-log1p(x)
R> prompt(f)
Created file named 'f.Rd'.
Edit the file and move it to the appropriate directory.
R> q()
It has 2 \keyword entries in it
2003 Jul 15
2
Undefined subroutine &R::Rdconv::fill (PR#3485)
Full_Name: michael klinglemsith
Version: R-1.7.1
OS: linux
Submission from: (NULL) (134.134.136.4)
I run: (note: ] is my unix prompt)
]./configure
It seems to work, here are the messages I get from the end of configure:
R is now configured for i686-pc-linux-gnu
Source directory: .
Installation directory: /usr/local
C compiler: gcc -D__NO_MATH_INLINES
2004 Jan 28
1
\link{\url{anything}} gives Rdconv trouble (PR#6496)
Full_Name: David Firth
Version: 1.8.0
OS: Mac OS 10.2.8
Submission from: (NULL) (80.177.12.48)
In .Rd files, we use \url{stuff} to refer to a URL on the web. Just as the
documentation says.
Perhaps this isn't a bug, then, but certainly it's a trap for the unwary. If
the construction
\link{url{something}}
appears in a .Rd file, then
Rdconv --type=html ...
gets stuck and appears
2001 Aug 20
1
Rdconv.pm errors while installing R
I have just compiled and installed R-patched on a Sparc 20 running
Solaris 2.5.1. The compilation and installation went fine except for
the message:
Bare word found where operator expected at
/usr/src/R/R-patched/share/perl/R/Rdconv.pm line 1491, near "$txtout
txt_header" (Missing operator before txt_header?)
I get similar messages for lines 1390, 1405, 1420, and 1448 in
Rdconv.pm.
2009 Mar 05
1
Bug in Rdconv(.pm) (PR#13575)
For the record (and as privately discussed with Brian Ripley), happens
with all recent versions of R including R-devel from today:
Consider a simple a.Rd file containing the lines
==================
\name{a}
\title{a}
\value{\code{a} \code{\link[a]{a}} \pkg{a}
\item{a}{a}
}
==================
with these lines, I get, e.g.:
==================
R CMD Rdconv --type="txt" a.Rd
a
2010 Mar 26
2
More efficient alternative to combn()?
Hi,
i am working on a problem where i need to compute the products of all
possible combinations of size m of the elements of a vector. I know that
this can be achieved using the function combn(), e.g.:
> vector <- 1:6
> combn(x = vector, m = 3, FUN = function(y) prod(y))
In my case the vector has 2000 elements and i need to compute the values
specified above for m = 32. Using combn() i
2007 Apr 20
1
simply this loop?
Hi, anyone interested in this:
I tried to simply this loop with lapply or something but haven't figured it out:
mapt = c("203929_s_at", "203930_s_at", "203928_x_at", "206401_s_at")
mapt.combn <- lapply(1:4, function(i) combn(mapt, i))
out = list()
k = 1
for (i in 1:length(mapt.combn)){
for (j in 1:ncol(mapt.combn[[i]])){
out[[k]] =
2012 Nov 16
1
pairing data using combn with criteria
Dear All,
I have a dataframe made up of individual beetles consisting of individual
number, family number, mother's family number, father's family number, and
sex of the beetle. I would like to pair up the individuals for breeding. I
would, however, like to avoid breeding beetles of the same sex (obviously),
the same family, and with the same mother's family or father's family,
2013 Sep 06
1
Importing function that is previously imported by other package
Dear developeRs,
I encounter the following problem: in the current version of my package
FrF2, certain calls to a functioni do not work when package combinat is
loaded, because function combn from combinat masks the function from
utils that my package uses.
I tried to solve this issue by importing function combn into the
namespace of FrF2; I don't need to export it, I just want to use it
2010 Nov 17
1
efficient conversion of matrix column rows to list elements
Hi List,
I'm hoping to get opinions for enhancing the efficiency of the following
code designed to take a vector of probabilities (outcomes) and calculate a
union of the probability space. As part of the union calculation, combn()
must be used, which returns a matrix, and the parallelized version of
lapply() provided in the multicore package requires a list. I've found that
2011 Aug 04
1
Rdconv LaTeX files
Hi,
I've written a package and converted my Rd files into LaTeX using
Rdconv. When I copy and paste these files in to my Sweave document I
get the?error message when compiling the Sweave file:
! Undefined control sequence.
l.32 \inputencoding
{utf8}
I also get the error message for the "\HeaderA", "\keyword".
Additionally I get an environment undefined
2010 May 08
2
apply a function on elements of a list two by two
Dear all,
I want to apply a function to list elements, two by two. I hoped that combn
would help me out, but I can't get it to work. A nested for-loop works, but
seems highly inefficient when you have large lists. Is there a more
efficient way of approaching this?
# Make some toy data
data(iris)
test <- vector("list",3)
for (i in 1:3){
x <- levels(iris$Species)[i]
tmp
2006 Jan 30
2
yet another vectorization question
Dear R-helpers,
I'm trying to develop a function which specifies all possible expressions that
can be formed using a certain number of variables. For example, with three
variables A, B and C we can have
- presence/absence of A; B and C
- presence/absence of combinations of two of them
- presence/absence of all three
A B C
1 0
2 1
3 0
4 1
5 0
6 1
2001 Sep 15
1
Solution to (well known) problem with Rdconv.pm on Sun Solaris (PR#1093)
Full_Name: Henrik Bengtsson
Version: 1.3.1
OS: Sun Solaris 8
Submission from: (NULL) (130.235.3.49)
I have been trying to install [R] v1.3.1 locally on a Sun Solaris 8 machine and
I ran into the (already known) perl problems that express theselves as:
Bare word found where operator expected at
/usr/matcent/hb/R/R-1.3.1/share/perl/R/Rdconv.pm line 1390, near "$txtout
mywrap"
2006 Mar 06
0
Problems with R CMD Rdconv and R CMD Sd2Rd (PR#8661)
I'm using R 2.2.0 on Windows.
Doing some conversions of help files. Internal comments indicate
that the Sd2Rd conversion is "Converted by Sd2Rd version 1.21."
I'm converting
.d -> .Rd
.sgml -> .Rd
using Sd2Rd, then checking by using Rdconv to
convert .Rd back to .d or .sgml.
Here are errors in some of the conversions.
The most significant errors are in .Rd to .sgml.
2006 May 09
1
combn(n, k, ...) and all its re-inventions
It seems people are reinventing the wheel here:
The goal is to generate all combinations of 1:n of size k.
This (typically) results in a matrix of size k * choose(n,k)
i.e. needs O(n ^ k) space, hence is only applicable to
relatively small k.
Then alternatives have been devised to generate the combinations
"one by one", and I think I remember there has been a
quiz/challenge about 20
2010 Apr 07
1
combn with factors
Dear list,
I have come across this issue:
combn(letters[1:5], 3)
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
[1,] "a" "a" "a" "a" "a" "a" "b" "b" "b" "c"
[2,] "b" "b" "b" "c" "c" "d" "c"