[Rd] escaping 'comment' chars in example sections

2010-05-21 Thread Antonio, Fabio Di Narzo
Dear list, I've noticed that, when writing examples in an Rd file, you need to escape the '%' character, even if it is valid R code. I can see maybe this is the intended behaviour, but I found it a bit surprising, and leads to cryptic error messages from 'R CMD check'. The relevant section in the "

Re: [Rd] escaping 'comment' chars in example sections

2010-05-21 Thread Duncan Murdoch
Antonio, Fabio Di Narzo wrote: Dear list, I've noticed that, when writing examples in an Rd file, you need to escape the '%' character, even if it is valid R code. I can see maybe this is the intended behaviour, but I found it a bit surprising, and leads to cryptic error messages from 'R CMD chec

[Rd] S4 method defined but not used

2010-05-21 Thread Jombart, Thibaut
Dear R developers, I am having a slightly weird issue with a S4 method defined in my package adegenet 1.2-4, with R 2.11.0. As far as I know, the problem is new, and the code implementing the method has not changed for more than a year and worked well so far. The problem is the following. I d

[Rd] dyn.load() strange behavior

2010-05-21 Thread Dominick Samperi
Hello, I am observing the following strange behavior when I try to load a shared library using dyn.load() under Linux... The library foo.so refers to a symbol in another package bar (with shared library bar.so), I get: dyn.load('foo.so') # error message because I forgot to load bar library(bar)