Re: [Rd] X11.options().

2011-08-08 Thread Martin Maechler
Hi Rolf, please excuse a short "top-reply": As I see you are using an operating system (instead of Win..), can you try in the shell echo 'X11.options()$type' | R --vanilla --slave and does that really *not* report [1] "cairo" ?? (and BTW: Your subject had tolower("LL") instead of

Re: [Rd] X11.options().

2011-08-08 Thread Rolf Turner
On 08/08/11 20:20, Martin Maechler wrote: Hi Rolf, please excuse a short "top-reply": No problema. Thanks for replying. As I see you are using an operating system (instead of Win..), can you try in the shell echo 'X11.options()$type' | R --vanilla --slave and does that really *not*

[Rd] Overwriting imported function in another package

2011-08-08 Thread Jeroen Ooms
I am running into a limitation of the grid::grid.newpage function, for which I would like to overwrite this function with a slightly modified one. Hopefully this is a temporary working solution until the package gets updated. I found a way to overwrite the function in the package:grid namespace. Ho

Re: [Rd] Overwriting imported function in another package

2011-08-08 Thread Duncan Murdoch
On 08/08/2011 7:02 AM, Jeroen Ooms wrote: I am running into a limitation of the grid::grid.newpage function, for which I would like to overwrite this function with a slightly modified one. Hopefully this is a temporary working solution until the package gets updated. I found a way to overwrite th

Re: [Rd] Overwriting imported function in another package

2011-08-08 Thread Jeroen Ooms
> Yes, modify the source and recompile R. That is what I am doing now, but can't expect that everyone who uses my code is willing to recompile R from src... __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Overwriting imported function in another package

2011-08-08 Thread Duncan Murdoch
On 08/08/2011 8:40 AM, Jeroen Ooms wrote: > Yes, modify the source and recompile R. That is what I am doing now, but can't expect that everyone who uses my code is willing to recompile R from src... But everyone who uses your code has a right to expect that other packages are not affected by

[Rd] OpenCL [Was: Tesla GPUs]

2011-08-08 Thread Simon Urbanek
I have created a small package called OpenCL which allows the use of OpenCL kernels in R. It supports both single and double precision and arbitrary number of input arguments. The kernel in the ?oclRun example is very close to what I used for the testing below (obviously you won't be able to run

[Rd] Adressing Problems: R with Fortran and OpenMP

2011-08-08 Thread Lars Wißler
Hello, I am programming an R program with nested Fortran calls for calculations and OpenMP for parallelization. I am getting a changing error corresponding to memory addressing problems, when using a 64-bit system. Using a 32-bit System the application runs without problems. The errors on 64-bit r

Re: [Rd] X11.options().

2011-08-08 Thread Uwe Ligges
On 08.08.2011 10:20, Martin Maechler wrote: Hi Rolf, please excuse a short "top-reply": As I see you are using an operating system (instead of Win..), can you try in the shell echo 'X11.options()$type' | R --vanilla --slave Martin, given the R on my non-OS had X11.options, I'd ra

[Rd] Making rmath.dll (or equivalent)

2011-08-08 Thread sgomori
I currently have R 2.12.1 installed, both 32 and 64 bit. I also have a file that was passed to me named rmath.dll. I do not know what version of R it was created from, but I do know it is 32-bit only. I am developing an application in C# that uses this library as a reference but I have to downgrade

Re: [Rd] X11.options().

2011-08-08 Thread Martin Maechler
> Uwe Ligges > on Mon, 8 Aug 2011 21:38:06 +0200 writes: > On 08.08.2011 10:20, Martin Maechler wrote: >> Hi Rolf, >> >> please excuse a short "top-reply": >> >> As I see you are using an operating system (instead of >> Win..), can you try in the shell

[Rd] NAMESPACE imports

2011-08-08 Thread Kasper Daniel Hansen
Is there some functionality for NAMSPACE files where I can import a package, except a couple of functions, something like importExcept The situation is that I import from two different packages, A and B . A (Biobase) is quite big and I essentially want to import all of the package. B (matrixSta

Re: [Rd] X11.options().

2011-08-08 Thread Rolf Turner
Uh, to get back to the (my) point --- anybody have any ideas as to why X11.options()$type is defaulting to "Xlib" rather than "cairo" even though cairo is available and apparently (???) ``reliable''? cheers, Rolf __ R-devel@r-project.org

Re: [Rd] Overwriting imported function in another package

2011-08-08 Thread Mark.Bravington
[Jeroen Ooms wrote:] > > I am running into a limitation of the grid::grid.newpage function, for > > which I would like to overwrite this function > > with a slightly modified one. Hopefully this is a temporary working > > solution until the package gets updated. I found a > > way to overwrite t

Re: [Rd] Making rmath.dll (or equivalent)

2011-08-08 Thread Prof Brian Ripley
It is Rmath.dll: case often matters in searching. You should look in the obvious manual in your (old) installation, the 'R Installation and Administration' manual. The current version is at http://cran.r-project.org/doc/manuals/R-admin.html#The-standalone-Rmath-library On Mon, 8 Aug 2011, sg

Re: [Rd] Overwriting imported function in another package

2011-08-08 Thread Joshua Wiley
> [Jeroen Ooms wrote:] >> > I am running into a limitation of the grid::grid.newpage function, for >> > which I would like to overwrite this function >> > with a slightly modified one. Hopefully this is a temporary working >> > solution until the package gets updated. I found a >> > way to overwr