[Rd] isFALSE

2009-10-10 Thread Romain Francois
Hello, Just wondering why there is "isTRUE" and not "isFALSE". Romain -- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://romainfrancois.blog.free.fr |- http://tr.im/BcPw : celebrating R commit #5 |- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc `- http:

Re: [Rd] Help with OCaml bindings for R interpreter.

2009-10-10 Thread Guillaume Yziquel
Simon Urbanek a écrit : On Oct 10, 2009, at 3:53 PM, Guillaume Yziquel wrote: However, as it now stands, the binding is not fully functional: When an OCaml program is compiled with this binding, to generate, say, myprog.byte, it is necessary to run R CMD ./myprog.byte in order for the pr

Re: [Rd] Help with OCaml bindings for R interpreter.

2009-10-10 Thread Simon Urbanek
On Oct 10, 2009, at 3:53 PM, Guillaume Yziquel wrote: Hello. I've made out a Debian package out of Maxence Guesdon's OCaml/R bindings: http://yziquel.homelinux.org/topos/debian-ocamlr.html http://yziquel.homelinux.org/debian/pool/main/o/ocaml-r/ The upstream software itsel

[Rd] Help with OCaml bindings for R interpreter.

2009-10-10 Thread Guillaume Yziquel
Hello. I've made out a Debian package out of Maxence Guesdon's OCaml/R bindings: http://yziquel.homelinux.org/topos/debian-ocamlr.html http://yziquel.homelinux.org/debian/pool/main/o/ocaml-r/ The upstream software itself is on the following page: http://home.gna.org/oca

Re: [Rd] Possible bug in the Rd parser?

2009-10-10 Thread Duncan Murdoch
On 10/10/2009 2:25 PM, Duncan Murdoch wrote: On 10/10/2009 8:07 AM, Mathieu Ribatet wrote: Dear list, I got an automatic email complaining than some of my packages didn't pass 'R CMD check' for R-2.10.0 alpha anymore. Both of them make use of the "cases" LaTeX environment. Inspecting the log o

Re: [Rd] Possible bug in the Rd parser?

2009-10-10 Thread Duncan Murdoch
On 10/10/2009 8:07 AM, Mathieu Ribatet wrote: Dear list, I got an automatic email complaining than some of my packages didn't pass 'R CMD check' for R-2.10.0 alpha anymore. Both of them make use of the "cases" LaTeX environment. Inspecting the log outputs I got: LaTeX errors when creat

Re: [Rd] [R-SIG-Mac] rnorm.halton

2009-10-10 Thread Simon Urbanek
Christophe, I forgot to answer the second part of your e-mail -- see below. On Oct 10, 2009, at 12:04 PM, Christophe Dutang wrote: Hi all, I need to transform classic 32bit Fortran code to 64bit Fortran code, see the discussion [R-SIG-Mac] rnorm.halton. But I'm clearly a beginner in Fortr

Re: [Rd] Possible bug in the Rd parser?

2009-10-10 Thread Duncan Murdoch
On 10/10/2009 8:07 AM, Mathieu Ribatet wrote: Dear list, I got an automatic email complaining than some of my packages didn't pass 'R CMD check' for R-2.10.0 alpha anymore. Both of them make use of the "cases" LaTeX environment. Inspecting the log outputs I got: LaTeX errors when creat

Re: [Rd] [R-SIG-Mac] rnorm.halton

2009-10-10 Thread Simon Urbanek
Christophe, you're looking at the wrong docs -- normally there is nothing you need to change FORTRAN code when switching between 32-bit and 64-bit. There is no separate "64-bit code" or "32-bit code". None of the scalar types used by R in interfaces changes (int, double and INTEGER, REAL*8

Re: [Rd] [R-SIG-Mac] rnorm.halton

2009-10-10 Thread Christophe Dutang
Hi all, I need to transform classic 32bit Fortran code to 64bit Fortran code, see the discussion [R-SIG-Mac] rnorm.halton. But I'm clearly a beginner in Fortran... Does someone already do this for his package? From here, http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=linux&db=

Re: [Rd] installing any package fails using 'install.packages()' (PR#13996)

2009-10-10 Thread edd
On 10 October 2009 at 05:25, lmra...@gmail.com wrote: | Dear all, | I installed my R-2.9.2 on my ubuntu version 9.04 successfully using= the | command |=20 |sudo apt-get install r-base-dev |=20 | The problem is that I cannot install any package. Huh? This has _nothing_ to do with the erro

Re: [Rd] Setting a mirror "permanently" on R on ubuntu (PR#13995)

2009-10-10 Thread Dirk Eddelbuettel
On 10 October 2009 at 05:55, lmra...@gmail.com wrote: | Dear all, | | I seem to have many problems as I run R on my ubuntu system. | want to set a mirror so that anytime I use the command "install.packages", | it does not ask me for which mirror to use but go direct. | This is because of the erro

Re: [Rd] rJava downloads but cannot load, (PR#13997)

2009-10-10 Thread edd
On 10 October 2009 at 05:40, lmra...@gmail.com wrote: | > library(rJava) | Error in library(rJava) : there is no package called 'rJava' | > install.packages("rJava") | Warning in install.packages("rJava") : | argument 'lib' is missing: using '/usr/local/lib/R/site-library' | --- Please select a

Re: [Rd] rJava downloads but cannot load, when I run R as root (PR#13994)

2009-10-10 Thread Dirk Eddelbuettel
On 10 October 2009 at 05:40, lmra...@gmail.com wrote: | > library(rJava) | Error in library(rJava) : there is no package called 'rJava' | > install.packages("rJava") | Warning in install.packages("rJava") : | argument 'lib' is missing: using '/usr/local/lib/R/site-library' | --- Please select a

Re: [Rd] installing any package fails using 'install.packages()' (PR#13993)

2009-10-10 Thread Dirk Eddelbuettel
On 10 October 2009 at 05:25, lmra...@gmail.com wrote: | Dear all, | I installed my R-2.9.2 on my ubuntu version 9.04 successfully using the | command | |sudo apt-get install r-base-dev | | The problem is that I cannot install any package. Huh? This has _nothing_ to do with the error belo

Re: [Rd] Errors in installing package "rJava" on Ubuntu (PR#13992)

2009-10-10 Thread Dirk Eddelbuettel
On 10 October 2009 at 04:15, lmra...@gmail.com wrote: | *Hello, | I have had this serious problem while trying to install package rJava. It is | a requirement by the package JGR and it cannot be downloaded due to the | error indicated below. a) Problems with packages should go to the maintainer,

[Rd] Setting a mirror "permanently" on R on ubuntu (PR#13995)

2009-10-10 Thread lmramba
Dear all, I seem to have many problems as I run R on my ubuntu system. want to set a mirror so that anytime I use the command "install.packages", it does not ask me for which mirror to use but go direct. This is because of the error I keep on getting below and I dont know how to solve it. Please

[Rd] rJava downloads but cannot load, when I run R as root (PR#13994)

2009-10-10 Thread lmramba
> library(rJava) Error in library(rJava) : there is no package called 'rJava' > install.packages("rJava") Warning in install.packages("rJava") : argument 'lib' is missing: using '/usr/local/lib/R/site-library' --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ..

[Rd] installing any package fails using 'install.packages()' (PR#13993)

2009-10-10 Thread lmramba
Dear all, I installed my R-2.9.2 on my ubuntu version 9.04 successfully using the command sudo apt-get install r-base-dev The problem is that I cannot install any package. See my details below: > install.packages("epicalc") Warning in install.packages("epicalc") : argument 'lib' is mis

[Rd] Errors in installing package "rJava" on Ubuntu (PR#13992)

2009-10-10 Thread lmramba
*Hello, I have had this serious problem while trying to install package rJava. It is a requirement by the package JGR and it cannot be downloaded due to the error indicated below. I have googled and looked at the FAQ but no solution yet. Please advise. Kind regards, Lazarus > install.packages("r

[Rd] Possible bug in the Rd parser?

2009-10-10 Thread Mathieu Ribatet
Dear list, I got an automatic email complaining than some of my packages didn't pass 'R CMD check' for R-2.10.0 alpha anymore. Both of them make use of the "cases" LaTeX environment. Inspecting the log outputs I got: LaTeX errors when creating PDF version. This typically indicate

[Rd] as.matrix.data.frame( Date ) -> character

2009-10-10 Thread Romain Francois
Hello, Is this intended: > m <- data.frame( date = seq.Date( as.Date("2000-01-01"), as.Date("2000-01-05"), by = "day" ) ) > sapply( m, typeof ) date "double" > as.matrix( m ) date [1,] "2000-01-01" [2,] "2000-01-02" [3,] "2000-01-03" [4,] "2000-01-04" [5,] "2000-01-05" > typeof( as.ma