Re: [Rd] Axis gives error message (PR#13259)

2008-11-06 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: Full_Name: G. Grothendieck Version: R version 2.8.0 Patched (2008-10-21 r46766) OS: Vista Submission from: (NULL) (69.63.56.110) Was posted here on r-devel https://stat.ethz.ch/pipermail/r-devel/2008-November/051173.html but got no replies. The list probably knows y

Re: [Rd] Two minor escaping issues using \preformatted{....} in Rd format

2008-11-06 Thread Duncan Murdoch
On 06/11/2008 1:26 PM, Peter Ruckdeschel wrote: Hi r-devels, I have two minor problems with special characters in Rd files when used within a \preformatted{} markup command: -- 1. issue: backslash + single brace --

Re: [Rd] Two minor escaping issues using \preformatted{....} in Rd format

2008-11-06 Thread Mark.Bravington
Hi Peter I've recently run into very similar phenomena, not just in \preformatted. After extensive experimentation, I've found some ugly but effective workarounds. The Rd problems can occur *after* either a backslash or a left brace; that's a necessary but not sufficient condition, as they only

[Rd] problems executing a bulk load with SQL server

2008-11-06 Thread Grey Moran Tzamouranis
Hello, New to this forum so I hope the content is appropriate... I was building a some code to maniputlate some data. Given the bulk of it (the csv is about a GB), I opted to use a database. The setup, which may be part of the issue is that the SQL is one remote machine (call it 'A'), the disk t

Re: [Rd] problem packaging S4 class that contains a slot of jobjRef class

2008-11-06 Thread Simon Urbanek
Adrian, my guess would be that you're trying to crate some Java objects at the top level of your package. That won't work, because R stores a serialized image of created objects for efficiency and hence the reference to any Java objects that you create will disappear as soon as you're don

Re: [Rd] Compile error when configured with (PR#13256)

2008-11-06 Thread Prof Brian Ripley
This was fixed in R-patched two weeks ago and is the *third* bug report filed on this topic. Do please follow the FAQ and not report on already reported and already fixed problems (which were not reported in the alpha/beta test period). On Thu, 6 Nov 2008, [EMAIL PROTECTED] wrote: Full_Name

Re: [Rd] .C(..., DUP=FALSE) memory costs depending on input size?

2008-11-06 Thread Jeff Ryan
Marcel, If you are writing the C code from scratch, take a look at either .Call or .External, as both make no copies of the input objects, and require no explicit conversion to the underlying storage type (numeric/integer/etc) within the function call. An even greater benefit is that you will als

Re: [Rd] 2.8.0 release bugs (PR#13210)

2008-11-06 Thread janek musek
Dear colleagues, Thank you very much for information, the application of patches will probably help. I apologize for answering delay due to my absence for some days and for bothering you with my asking. I simply followed the suggestion to report the possible troubles during the use of this R releas

[Rd] Compile error when configured with (PR#13256)

2008-11-06 Thread jon
Full_Name: Jon Hill Version: 2.8.1 OS: Linux Submission from: (NULL) (129.215.63.157) A semicolon is missing from src/main/platform.c line 1657 #ifdef Unix # ifdef HAVE_X11 int X11 = NA_LOGICAL; # else int X11 = FALSE <--- missing ; # endif #endif Results in a build error when compili

[Rd] problem packaging S4 class that contains a slot of jobjRef class

2008-11-06 Thread Adrian Dragulescu
Hello, I'm trying to package some source files that link R to a broker using a Java API and the rJava package. I am successful doing the connection and operate on it using my R code. I would like to package the files and release the package. I created some S4 classes to hold several Java obje

[Rd] Axis gives error message (PR#13259)

2008-11-06 Thread ggrothendieck
Full_Name: G. Grothendieck Version: R version 2.8.0 Patched (2008-10-21 r46766) OS: Vista Submission from: (NULL) (69.63.56.110) Was posted here on r-devel https://stat.ethz.ch/pipermail/r-devel/2008-November/051173.html but got no replies. __ R-deve

Re: [Rd] .C(..., DUP=FALSE) memory costs depending on input size?

2008-11-06 Thread William Dunlap
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of MarcelK > Sent: Thursday, November 06, 2008 12:06 PM > To: r-devel@r-project.org > Subject: [Rd] .C(..., DUP=FALSE) memory costs depending on input size? > > > Hello, > > I'm trying to create my own

Re: [Rd] .C(..., DUP=FALSE) memory costs depending on input size?

2008-11-06 Thread MarcelK
Sorry for spamming, legend with the plot is wrong: RED: DUP = TRUE GREEN: DUP = FALSE Pretty clear from the plot itself, but it's both wrong in the plot header and in the plot code (just swap 'h' and 'j'). -- View this message in context: http://www.nabble.com/.C%28...%2C-DUP%3DFALSE%29-memo

[Rd] .C(..., DUP=FALSE) memory costs depending on input size?

2008-11-06 Thread MarcelK
Hello, I'm trying to create my own C code for use within R. While optimizing the code I've noticed that even while only using pointers to get my data to C the time needed still depends on data (vector) size. To test this, I've created an empty C function to which I've send vectors containing var

Re: [Rd] Fwd: SWIG with R and C++ STL

2008-11-06 Thread Whit Armstrong
did you wrap your function prototype in extern "C" ? -Whit On Thu, Nov 6, 2008 at 1:16 PM, charlie <[EMAIL PROTECTED]> wrote: > Hi, all > > I didn't get any response from swig for my question. > see if I can get some help here > > Thanks > > -- Forwarded message -- > From: charli

[Rd] Two minor escaping issues using \preformatted{....} in Rd format

2008-11-06 Thread Peter Ruckdeschel
Hi r-devels, I have two minor problems with special characters in Rd files when used within a \preformatted{} markup command: -- 1. issue: backslash + single brace -- I would like to write "\

[Rd] Fwd: SWIG with R and C++ STL

2008-11-06 Thread charlie
Hi, all I didn't get any response from swig for my question. see if I can get some help here Thanks -- Forwarded message -- From: charlie <[EMAIL PROTECTED]> Date: Tue, Nov 4, 2008 at 1:55 PM Subject: SWIG with R and C++ STL To: [EMAIL PROTECTED] Hi all, I am new to SWIG. I en

Re: [Rd] [R] Building with MKL on Ubuntu

2008-11-06 Thread Anand Patil
On Thu, Nov 6, 2008 at 3:08 PM, Ei-ji Nakama <[EMAIL PROTECTED]> wrote: > Hi > > 2008/11/6 Anand Patil <[EMAIL PROTECTED]>: > > I tried that earlier, and it doesn't encounter the zdotu error (maybe it > was > > fixed in 10.0.5?) but I got a different error: > > no, see MKL manual. > Because fortra

Re: [Rd] [R] Building with MKL on Ubuntu

2008-11-06 Thread Ei-ji Nakama
Hi 2008/11/6 Anand Patil <[EMAIL PROTECTED]>: > I tried that earlier, and it doesn't encounter the zdotu error (maybe it was > fixed in 10.0.5?) but I got a different error: no, see MKL manual. Because fortran do not have compatibility, You appoint ABI of your Fortran in a link of MKL. > /opt/in

Re: [Rd] [R] Building with MKL on Ubuntu

2008-11-06 Thread Anand Patil
On Thu, Nov 6, 2008 at 2:01 AM, Ei-ji Nakama <[EMAIL PROTECTED]> wrote: > Hi > > If you want to use MKL10(no 8 or 9), you should obey instructions of > R-admin. > MKL10 needs openmp. This needs gcc4.2 or later. > OpenMP for Intel was necessary with MKL10.0.1.x (There was not it in a > manual of M

Re: [Rd] [R] Building with MKL on Ubuntu

2008-11-06 Thread Prof Brian Ripley
On Thu, 6 Nov 2008, Anand Patil wrote: On Thu, Nov 6, 2008 at 6:48 AM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: And how does that help you?  At some future point on a real problem you will get incorrect answers/segfault. That test was put there as a result of such incorre

Re: [Rd] puzzled by cat() behaviour when argument '...' is a vector (and argument 'sep' contains "\n")

2008-11-06 Thread Wacek Kusnierczyk
William Dunlap wrote: > > For what it is worth, S+ and R differ in how a vector sep argument > is treated. R uses the vector sep only if cat() is given a vector of > strings for the ... argument but S+ treats cat(c(...),sep=sep) > the same as cat(..., sep=sep). E.g., the following cat(...,sep=sep

Re: [Rd] [R] Building with MKL on Ubuntu

2008-11-06 Thread Anand Patil
On Thu, Nov 6, 2008 at 6:48 AM, Prof Brian Ripley <[EMAIL PROTECTED]>wrote: > And how does that help you? At some future point on a real problem you > will get incorrect answers/segfault. > > That test was put there as a result of such incorrect results found the > hard way. > I appreciate that.