Re: [Rd] Small bug in install.packages?

2011-06-28 Thread Duncan Murdoch
On 28/06/2011 8:17 PM, Duncan Murdoch wrote: On 28/06/2011 5:42 PM, Hadley Wickham wrote: Isn't R.home() 8.3 path anyway? I don't think so: R.home("bin") [1] "C:/Program Files/R/R-2.13.0/bin/i386" Weird. Like others, I see 8.3 pathnames. R gets those from a Windows call; what version of

Re: [Rd] Small bug in install.packages?

2011-06-28 Thread Duncan Murdoch
On 28/06/2011 5:42 PM, Hadley Wickham wrote: Isn't R.home() 8.3 path anyway? I don't think so: R.home("bin") [1] "C:/Program Files/R/R-2.13.0/bin/i386" Weird. Like others, I see 8.3 pathnames. R gets those from a Windows call; what version of Windows are you using? Duncan Murdoch se

Re: [Rd] Small bug in install.packages?

2011-06-28 Thread Joshua Ulrich
It is 8.3 on my install of 2.13.0 (release) and I get the same results with the current R-patched. > R.home("bin") [1] "C:/PROGRA~1/R/R-213~1.0PA/bin/i386" > sessionInfo() R version 2.13.0 Patched (2011-06-20 r56188) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_United St

Re: [Rd] Small bug in install.packages?

2011-06-28 Thread Hadley Wickham
> Isn't R.home() 8.3 path anyway? I don't think so: > R.home("bin") [1] "C:/Program Files/R/R-2.13.0/bin/i386" > sessionInfo() R version 2.13.0 Patched (2011-06-09 r56106) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_United States.1252 [2] LC_CTYPE=English_United States

Re: [Rd] R CMD check --force-multiarch does not install all the archs for testing

2011-06-28 Thread Simon Urbanek
On Jun 28, 2011, at 5:11 PM, Hervé Pagès wrote: > Simon, > > On 11-06-28 01:44 PM, Simon Urbanek wrote: >> >> On Jun 28, 2011, at 3:45 PM, Hervé Pagès wrote: >> >>> Hi Simon, >>> >>> On 11-06-28 12:19 PM, Simon Urbanek wrote: On Jun 28, 2011, at 3:01 PM, Hervé Pagès wrote: >>

Re: [Rd] R CMD check --force-multiarch does not install all the archs for testing

2011-06-28 Thread Hervé Pagès
Simon, On 11-06-28 01:44 PM, Simon Urbanek wrote: On Jun 28, 2011, at 3:45 PM, Hervé Pagès wrote: Hi Simon, On 11-06-28 12:19 PM, Simon Urbanek wrote: On Jun 28, 2011, at 3:01 PM, Hervé Pagès wrote: Hi Uwe, On 11-06-28 01:44 AM, Uwe Ligges wrote: On 28.06.2011 01:31, Hervé Pagès wrot

Re: [Rd] R CMD check --force-multiarch does not install all the archs for testing

2011-06-28 Thread Simon Urbanek
On Jun 28, 2011, at 3:45 PM, Hervé Pagès wrote: > Hi Simon, > > On 11-06-28 12:19 PM, Simon Urbanek wrote: >> >> On Jun 28, 2011, at 3:01 PM, Hervé Pagès wrote: >> >>> Hi Uwe, >>> >>> On 11-06-28 01:44 AM, Uwe Ligges wrote: On 28.06.2011 01:31, Hervé Pagès wrote: > Hi, >>

Re: [Rd] R CMD check --force-multiarch does not install all the archs for testing

2011-06-28 Thread Hervé Pagès
Hi Simon, On 11-06-28 12:19 PM, Simon Urbanek wrote: On Jun 28, 2011, at 3:01 PM, Hervé Pagès wrote: Hi Uwe, On 11-06-28 01:44 AM, Uwe Ligges wrote: On 28.06.2011 01:31, Hervé Pagès wrote: Hi, Why isn't 'R CMD check --force-multiarch' installing the package for all the architectures tha

Re: [Rd] Small bug in install.packages?

2011-06-28 Thread Simon Urbanek
On Jun 28, 2011, at 3:03 PM, Hadley Wickham wrote: > When capturing the path to the current R binary, install.packages does: > > cmd0 <- paste(file.path(R.home("bin"), "R"), "CMD INSTALL") > > shouldn't that be > > cmd0 <- shQuote(paste(file.path(R.home("bin"), "R"), "CMD INSTALL")) > > to

Re: [Rd] R CMD check --force-multiarch does not install all the archs for testing

2011-06-28 Thread Simon Urbanek
On Jun 28, 2011, at 3:01 PM, Hervé Pagès wrote: > Hi Uwe, > > On 11-06-28 01:44 AM, Uwe Ligges wrote: >> >> >> On 28.06.2011 01:31, Hervé Pagès wrote: >>> Hi, >>> >>> Why isn't 'R CMD check --force-multiarch' installing the package >>> for all the architectures that are going to be checked? >

[Rd] Small bug in install.packages?

2011-06-28 Thread Hadley Wickham
When capturing the path to the current R binary, install.packages does: cmd0 <- paste(file.path(R.home("bin"), "R"), "CMD INSTALL") shouldn't that be cmd0 <- shQuote(paste(file.path(R.home("bin"), "R"), "CMD INSTALL")) to allow paths with spaces in them (which would be very common on window

Re: [Rd] R CMD check --force-multiarch does not install all the archs for testing

2011-06-28 Thread Hervé Pagès
Hi Uwe, On 11-06-28 01:44 AM, Uwe Ligges wrote: On 28.06.2011 01:31, Hervé Pagès wrote: Hi, Why isn't 'R CMD check --force-multiarch' installing the package for all the architectures that are going to be checked? Hervé, no, since it cannot know that that you need --merge-multiarch as an

Re: [Rd] (no subject)

2011-06-28 Thread Simon Urbanek
On Jun 28, 2011, at 9:58 AM, Michelle.Carey wrote: > Hi, > > > > I am trying to write code in C for an R package. I need high precision > in the form of the mpfr and gmp packages. gmp is available as R package http://cran.r-project.org/web/packages/gmp/index.html do you really need it at a lo

Re: [Rd] doMC - compiler - concatenate an expression vector into a single expression?

2011-06-28 Thread Rich Calaway
Dear Renaud, Thank you for the report. I see that Steve Weston has responded to your cross-posting on r-sig-hpc; I hope this helps with your immediate problem. We will investigate whether changes to doMC are warranted. Regards, Rich Calaway On Tue, Jun 28, 2011 at 2:58 AM, Renaud Gaujoux wrote:

[Rd] (no subject)

2011-06-28 Thread Michelle.Carey
Hi, I am trying to write code in C for an R package. I need high precision in the form of the mpfr and gmp packages. I have installed mpfr and gmp under the instructions of the following website http://pauillac.inria.fr/cdrom_a_graver/prog/pc/mpfr/eng.htm and I get no errors. I have put the hea

[Rd] Download R package on HP-UX ia64 Server

2011-06-28 Thread Zhou, Hong
Hi, I am new to R, is there R package for HP-UX ia64 server? In another word, is it possible to compile R from source on HP-UX ia64 system? Any advice would be greatly appreciated! Thanks, Hong Hong Zhou, MS, MIS Senior Systems Analyst Center for Outcomes Research The Children's Hospital of Ph

Re: [Rd] R CMD check --configure-args?

2011-06-28 Thread Roger Bivand
On Tue, 28 Jun 2011, Uwe Ligges wrote: On 28.06.2011 11:35, Roger Bivand wrote: R CMD INSTALL takes a --configure-args argument, but I cannot see how to pass the same values in R CMD check, which returns a: Warning: unknown option ‘--configure-args=... (R 2.13.0). What am I missing? Unte

Re: [Rd] R CMD check --configure-args?

2011-06-28 Thread Uwe Ligges
On 28.06.2011 11:35, Roger Bivand wrote: R CMD INSTALL takes a --configure-args argument, but I cannot see how to pass the same values in R CMD check, which returns a: Warning: unknown option ‘--configure-args=... (R 2.13.0). What am I missing? Untested: Can't you pass it via --install-arg

[Rd] doMC - compiler - concatenate an expression vector into a single expression?

2011-06-28 Thread Renaud Gaujoux
Hi, this post is about foreach operators, the compiler package and the last update of doMC that includes support for the compiler functionality. I am using a home-made %dopar%-like operator that adds some custom expression to be executed before the foreach loop expression itself (see sample

[Rd] R CMD check --configure-args?

2011-06-28 Thread Roger Bivand
R CMD INSTALL takes a --configure-args argument, but I cannot see how to pass the same values in R CMD check, which returns a: Warning: unknown option ‘--configure-args=... (R 2.13.0). What am I missing? Roger -- Roger Bivand Department of Economics, NHH Norwegian School of Economics, Helleve

Re: [Rd] R CMD check --force-multiarch does not install all the archs for testing

2011-06-28 Thread Uwe Ligges
On 28.06.2011 01:31, Hervé Pagès wrote: Hi, Why isn't 'R CMD check --force-multiarch' installing the package for all the architectures that are going to be checked? Hervé, no, since it cannot know that that you need --merge-multiarch as an additional install flag for this particular packa