[Rd] datalist and data objects in R Package building

2011-03-25 Thread andrew stewart
Hello all, I have,say 4 R objects... bar1, bar2, bar3, bar4.. that I'd like to include in an R package foobar. The desired functionality would be: library(foobar) data(foo) ls() [1] bar1 bar2 bar3 bar4 I've tried the following two approaches: 1) I created the file 'datalist' under

[Rd] Rd2pdf and Rd2dvi don't find texi2dvi

2011-03-25 Thread Tobias Erhardt
Hello everybody I'm am trying to build a pdf out of the Rd files that i wrote for a package, so that I can attach it to my thesis. if i Run Rd2pdf (or Rd2dvi) I get this error massage: Hmm ... looks like a package Converting Rd files to LaTeX . Creating pdf output from LaTeX ... Error in

[Rd] .Fortran successful, R locks up.

2011-03-25 Thread Daniel Fuka
Howdy, I am having a problem with a library compiled from some legacy fortran code. I can call the library, it runs as it should, returns a list, and gives a prompt, but then locks up the R session. Functions typed in return nothing. ctrl-c results in a new prompt that is still locked up, and R

Re: [Rd] .Fortran successful, R locks up.

2011-03-25 Thread Duncan Murdoch
On 24/03/2011 12:35 PM, Daniel Fuka wrote: Howdy, I am having a problem with a library compiled from some legacy fortran code. I can call the library, it runs as it should, returns a list, and gives a prompt, but then locks up the R session. Functions typed in return nothing. ctrl-c results in

Re: [Rd] Rd2pdf and Rd2dvi don't find texi2dvi

2011-03-25 Thread Duncan Murdoch
On 25/03/2011 4:23 AM, Tobias Erhardt wrote: Hello everybody I'm am trying to build a pdf out of the Rd files that i wrote for a package, so that I can attach it to my thesis. if i Run Rd2pdf (or Rd2dvi) I get this error massage: Hmm ... looks like a package Converting Rd files to LaTeX .

[Rd] two minor bugs in rowsum()

2011-03-25 Thread William Dunlap
(a) In R 2.12.2 rowsum can overflow if given an integer input: rowsum(c(2e9L, 2e9L), c(a, a)) [,1] a -294967296 2^32 + .Last.value [,1] a 4e+09 Should it be changed to coerce its x argument to numeric (double precision) so it always returns a numeric output? (b) When

Re: [Rd] Rd2pdf and Rd2dvi don't find texi2dvi

2011-03-25 Thread Tobias Erhardt
Okay, i did compare the versions of texi2dvi within R and the shell, they are both the same. Regarding the environmental variabels, this is what printenv gave me: TERM_PROGRAM=iTerm.app TERM=xterm SHELL=/bin/bash TMPDIR=/var/folders/3B/3BhLCRj+FISLJAbkj65bUU+++TI/-Tmp-/

[Rd] testing presence of pdflatex in R CMD check

2011-03-25 Thread Petr Savicky
The nodes of our cluster do not have pdflatex installed. When running R CMD check there on a package with no errors in documentation, then R-2.13.0-alpha and R-2.12.2 report a possible error in Rd files, while R-2.11.1 did not. The platform is 64 bit CentOS. The output of R CMD check