Re: [Rd] suggestion of new API function for embedded programming.

2008-09-04 Thread Simon Urbanek
hat is what most of use use to achieve exactly what you describe... For something that even mimics the continuation behavior of the R console have a look at parseString function in Rserve. Cheers, Simon I think this would be a useful addition to the embedding interface, and hopefully not dif

Re: [Rd] Rterm.exe, windows event loop running in multiple threads?

2008-09-18 Thread Simon Anders
t.) Could this be the problem for you as well? [Thinking a bout this again: Why, actually, do we need a second thread. Could we not set up a Windows timer that dispatches a message to the main thread's event handler peridoically to trigger a polling of the Gtk event loop?] Simon +---

Re: [Rd] quartz device (PR#13115)

2008-10-03 Thread Simon Urbanek
uce any output until you press on the console. Start with a simple example like "plot(1:10)" to verify that there is really an issue with Quartz. Thanks, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] ?foo to fall back to help(package="foo") [Was: why is \alias{anRpackage} not mandatory?]

2008-10-06 Thread Simon Urbanek
On Oct 6, 2008, at 8:47 , Duncan Murdoch wrote: On 06/10/2008 8:06 AM, Thomas Petzoldt wrote: Duncan Murdoch wrote: Thomas Petzoldt wrote: Dear R developers, if one uses package.skeleton() to create a new package, then a file anRpackage.Rd with the following entries is prepared: \name{a

Re: [Rd] ?foo to fall back to help(package="foo") [Was: why is \alias{anRpackage} not mandatory?]

2008-10-06 Thread Simon Urbanek
On Oct 6, 2008, at 11:18 , Duncan Murdoch wrote: On 10/6/2008 11:00 AM, Simon Urbanek wrote: On Oct 6, 2008, at 8:47 , Duncan Murdoch wrote: On 06/10/2008 8:06 AM, Thomas Petzoldt wrote: Duncan Murdoch wrote: Thomas Petzoldt wrote: Dear R developers, if one uses package.skeleton() to

[Rd] Arith ops dropping S4 bit [Was: S4 object does not commute? (PR#13209)]

2008-10-27 Thread Simon Urbanek
On Oct 27, 2008, at 12:25 , [EMAIL PROTECTED] wrote: Hello all, It appears that for the simplest of S4 objects, z+1 does not equal 1+z. Presumably this is a bug, as 1+z seems to make a malformed object (at least malformed as an input to str). FWIW the difference is that z+1 has the S4 bit

Re: [Rd] A question about the API mkchar()

2008-10-28 Thread Simon Urbanek
"hu". It doesn't exist in US-ASCII so unicode designation is all you can display. All I want to get is just a SEXP object containing the original utf-8 string, no matter what locale is set currently. Normally what can I do? mkChar(X, CE_UTF8); Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] writting null (\000 or ^@) to an external text file without the new warning

2008-10-28 Thread Simon Urbanek
On Oct 28, 2008, at 14:23 , Greg Snow wrote: I have some functions that write an external text file for postprocessing by another program. Some instructions to the other program need to be indicated by null values (\000 or ^@). The function currently uses code like: writeChar(rawToChar

Re: [Rd] writting null (\000 or ^@) to an external text file without the new warning

2008-10-28 Thread Simon Urbanek
because your output string was always irrelevant (just try nchar(rawToChar(as.raw(0))). Cheers, S -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] 801.408.8111 -----Original Message- From: Simon Urbanek [mailto:[EMAIL PROTECTED] Sent: Tue

Re: [Rd] problems installing rJava with R-2.8.0

2008-10-29 Thread Simon Urbanek
On Oct 29, 2008, at 11:51 , Christian Kohler wrote: Dear R-developers, I am having trouble installing rJava on R 2.8.0 / debian etch. What goes wrong? Please send me the config.log. Also make sure you have configured R with Java support (sudo R CMD javareconf). Cheers, S install.p

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

2008-11-06 Thread Simon Urbanek
mptoms since I think you actually failed to send us the part of code that triggers the problem. Cheers, Simon On Nov 6, 2008, at 10:04 , Adrian Dragulescu wrote: 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 successf

Re: [Rd] Issue with Mac OSX version of R (PR#13275)

2008-11-11 Thread Simon Urbanek
Please do your homework before posing invalid bug reports -- apparently the mirror you're using is not currently working - so just pick another one. Also "Other Directory URL" is NOT for repositories as the name implies (ever wondered why there is a "Other Repository" entry?). Thanks, S

Re: [Rd] what does negative indexing in a matrix mean?

2008-11-12 Thread Simon Urbanek
On Nov 12, 2008, at 11:28 , Itziar Frades Alzueta wrote: Hi, Does anyone know what the negative indexing of a matrix mean? ?`[` For '['-indexing only: 'i, j, ...' can be logical vectors, indicating elements/slices to select. Such vectors are recycled if neces

Re: [Rd] Dynamic linking to binary code from other packages??

2008-11-13 Thread Simon Urbanek
it the complicated way above is if you want to do some extra processing in the wrapper function so your function pointer is not visible from outside the function. Cheers, Simon The above is far from obvious, so I will try my best to explain. With respect to the R_GetCCallable call, Writing R

Re: [Rd] Package install problem on Windows (PR#13284)

2008-11-13 Thread Simon Urbanek
On Nov 13, 2008, at 6:11 PM, Tony Plate wrote: Thanks for the response. Are the problems with versioned installs fundamental, or are they just a case of incomplete implementation and rough edges? If the latter, would fixes be considered? I ask because we would find versioned installs very

Re: [Rd] problem in downloading the rimage package

2008-11-14 Thread Simon Urbanek
On Nov 14, 2008, at 5:53 PM, Shantanu D wrote: I am using a 64 bit machine with CentOS5. I am getting the following errors when I try to install the rimage package g++ -shared -L/usr/local/lib64 -o rimage.so equalize.o fftw_access_func.o freqfilters.o interface.o jpegio.o laplacian.o matri

Re: [Rd] Strategy for downloading packages

2008-11-19 Thread Simon Urbanek
On Nov 19, 2008, at 15:52 , Duncan Murdoch wrote: I have a client who wants to install R and a custom package on a machine with no internet connection, so he wants to put everything needed on a CDROM and install from there. I've told him how to work out what is needed, but it seems that to

Re: [Rd] unrelated software install triggering an error from R's install script on Mac OS X 10.5

2008-11-30 Thread Simon Urbanek
On Dec 1, 2008, at 6:11 AM, Laurent Gautier wrote: Stefan Evert wrote: The steps needed to generate the error are: - install a binary distribution of R (default location) - add R to the PATH Did you actually add /Library/Frameworks/R.framework/Resources/bin/ to your PATH? You're not supp

Re: [Rd] unrelated software install triggering an error from R's install script on Mac OS X 10.5

2008-12-01 Thread Simon Urbanek
On Dec 1, 2008, at 6:38 PM, Laurent Gautier wrote: Simon Urbanek wrote: On Dec 1, 2008, at 6:11 AM, Laurent Gautier wrote: Stefan Evert wrote: The steps needed to generate the error are: - install a binary distribution of R (default location) - add R to the PATH Did you actually add

Re: [Rd] rscproxy version conflict

2008-12-22 Thread Simon Urbanek
use R x.y.0 as the base for compilation until R x.y+1.0 is released). Cheers, Simon meerman wrote: After installing the package 'rscproxy' downloaded from the CRAN server, I get the following error message from R 2.8.0 about a version conflict : package 'rscproxy&#x

Re: [Rd] rscproxy version conflict

2008-12-23 Thread Simon Urbanek
On Dec 23, 2008, at 11:29 AM, Thomas Baier wrote: Simon Urbanek wrote: FWIW: technically, you don't have to match the patch level version. Although default DLL checks usually require perfect match, it should be safe to require that R version lies in [x.y.z, x.y+1.0) where x.y.z is

Re: [Rd] MacOS X - R crashes & import problem (PR#9005)

2009-01-06 Thread Simon Urbanek
t;not-reproducible". I can send the full crash report if someone is interested. Please do, send it to me and include your sessionInfo(). Thanks, Simon gr. Herwig Below my systems details: Date/Time: 2009-01-05 23:38:29 +0100 OS Version: 10.5.6 (Build 9G55) Architecture: i

Re: [Rd] R as a scripting engine

2009-01-13 Thread Simon Urbanek
Oh, well, now that the post count is growing I guess I have to respond ;). On Jan 11, 2009, at 15:50 , Dirk Eddelbuettel wrote: On 11 January 2009 at 20:18, Prof Brian Ripley wrote: | Those of you tracking R development will have noticed that we are | moving towards using R as a scripting en

Re: [Rd] particulars of importing/loading libraries

2009-01-13 Thread Simon Urbanek
Oleg, On Jan 13, 2009, at 11:00 , Sklyar, Oleg (London) wrote: Dear List: Sorry for posting maybe a trivial question, but I have a basic understanding problem. If I have say pack1 and pack2, two R packages, and pack2 depends on and imports pack1 fully (as in the code below), is there a way

Re: [Rd] particulars of importing/loading libraries

2009-01-14 Thread Simon Urbanek
On Jan 14, 2009, at 4:24 , Sklyar, Oleg (London) wrote: Sorry Simon, you are right. I tried to recreate a problem that I had with other packages where the packages were added to Depends but made a mistake. However the problem remains if I do the following. Added: pack1 to Depends of pack2

Re: [Rd] particulars of importing/loading libraries

2009-01-14 Thread Simon Urbanek
9:50 UTC" Dr Oleg Sklyar Research Technologist AHL / Man Investments Ltd +44 (0)20 7144 3107 oskl...@maninvestments.com -Original Message- From: Simon Urbanek [mailto:simon.urba...@r-project.org] Sent: 14 January 2009 15:38 To: Sklyar, Oleg (London) Cc: r-devel@r-project.org Subject: Re: [Rd] par

Re: [Rd] Documentation suggestions for vignettes

2009-01-15 Thread Simon Urbanek
inters from package help indices to the installed documents are automatically created" has nothing to do with vignettes (note that it's talking about documents, not vignettes). However, AFAICT it's no longer true (at least 00Index.dcf seems to be ignored), so that may need so

Re: [Rd] Embeding R

2009-01-20 Thread Simon Urbanek
On Jan 20, 2009, at 10:37 , Sylvain Loiseau wrote: Hi, I'm planning to embed R into an application, with the following context: - This application is written in Java (and managed with maven). I plan accessing R using JRI. - This application must be installable on several plateform (linux

Re: [Rd] Embeding R

2009-01-20 Thread Simon Urbanek
On Jan 20, 2009, at 12:28 , Sylvain Loiseau wrote: Yes. Since you mentioned JRI - it gives you all of the above for free (there are CRAN binaries for Windows and OS X; it installs on unix system with Java; you can link arbitrary libraries from R - that's how R works). Good pointers are Jav

Re: [Rd] [R] can't load rJava in R 2.8.1 on Windows XP

2009-01-26 Thread Simon Urbanek
soon. Thanks, Simon On Jan 26, 2009, at 8:13 , Duncan Murdoch wrote: On 1/26/2009 7:04 AM, Duncan Murdoch wrote: Dieter Menne wrote: Duncan Murdoch stats.uwo.ca> writes: I don't know what's going wrong on your system. I added a browser() call to the .onLoad function in R/win

Re: [Rd] small bug in base::formatC (PR#13474)

2009-01-27 Thread Simon Urbanek
On Jan 27, 2009, at 8:20 , bernd_bis...@gmx.net wrote: Full_Name: Bernd Bischl Version: 2.8.1 OS: Windows XP Professional Submission from: (NULL) (129.217.207.95) Hi, there seems to be a small bug in formatC: formatC("foo", format="s", mode="charcacter") Error in formatC("foo", format = "s

Re: [Rd] (PR#13487) Segfault when mistakenly calling [.data.frame

2009-01-30 Thread Simon Urbanek
On Jan 30, 2009, at 10:30 , Christian Brechbühler wrote: On Thu, Jan 29, 2009 at 4:44 PM, Prof Brian Ripley >wrote: What did your actual application do? This seems a very strange thing to do, and the segfault is in trying to construct the traceback. Only by using do.call on the object (an

Re: [Rd] R.home() of R 2.8.1 Mac OS X is wrong (PR#13494)

2009-02-01 Thread Simon Urbanek
On Feb 1, 2009, at 1:50 PM, andreas.fisch...@env.ethz.ch wrote: Full_Name: Andreas Fischlin Version: 2.8.1 OS: Mac OS X 10.5.6 Submission from: (NULL) (84.75.178.229) R.home() returns "/Library/Frameworks/R.framework/Resources" although there is no such directory present. Then your instal

Re: [Rd] JGR extension not working (PR#13501)

2009-02-05 Thread Simon Urbanek
revent AWT from starting since it's not supported on Mac OS X 10.5 inside single- threaded applications (such as R). Cheers, Simon On Feb 5, 2009, at 3:15 , er...@phonetik.uni-muenchen.de wrote: Full_Name: Erik Lukac Version: R version 2.8.1 (2008-12-22) OS: Mac OS 10.5 Submiss

Re: [Rd] Google Summer of Code 2009

2009-02-19 Thread Simon Urbanek
On Feb 19, 2009, at 6:38 , Sklyar, Oleg (London) wrote: Two ideas: 1) A library for interactive plots in R R lacks functionality that would allow displaying of interactive plots with two distinct functionalities: zooming and panning. This functionality is extremely important for the analy

Re: [Rd] Google Summer of Code 2009

2009-02-19 Thread Simon Urbanek
Oleg, On Feb 19, 2009, at 9:47 , Sklyar, Oleg (London) wrote: Simon, I would not like to take it offline as I disagree with your points and think it is fair to let other users know why. I didn't say offline, I said other thread, since this is not really about GSOC so I think th

[Rd] Interactive Graphics in R [Was: Google Summer of Code 2009]

2009-02-19 Thread Simon Urbanek
phics. This is something we still lack in R --- but I hope we will get there sooner or later... Cheers, Simon For example (using keys +/-/Left/Right/Up/Down/* to zoom and pan): ## # a demo for zooming and panning in

Re: [Rd] Interactive Graphics in R [Was: Google Summer of Code 2009]

2009-02-19 Thread Simon Urbanek
On Feb 19, 2009, at 16:36 , hadley wickham wrote: What we need is a more general framework for interactive graphics - this requires more than just a graphics subsystem - you have to depart from the concept of graphics objects and include "statistical objects" in the mix such that the under

Re: [Rd] Fontconfig warning with X11() on MAC OS X 10.4

2009-03-04 Thread Simon Urbanek
On Feb 25, 2009, at 10:27 , MerliseClyde wrote: I posted previously about problems with X11() on my MAC using R 2.8.1 . After installing the securilty update for Tiger this morning, X11() now works from an xterm :-) However, I receive the following warnings with any plotting command us

Re: [Rd] surprising behaviour of names<-

2009-03-11 Thread Simon Urbanek
and hence NAMED(x) = 0. Cheers, Simon On Mar 10, 2009, at 18:16 , Wacek Kusnierczyk wrote: i got an offline response saying that my original post may have not been clear as to what the problem was, essentially, and that i may need to restate it in words, in addition to code. the problem is

Re: [Rd] surprising behaviour of names<-

2009-03-11 Thread Simon Urbanek
On Mar 11, 2009, at 10:52 , Simon Urbanek wrote: Wacek, Peter gave you a full answer explaining it very well. If you really want to be able to trace each instance yourself, you have to learn far more about R internals than you apparently know (and Peter hinted at that). Internally x=1

Re: [Rd] surprising behaviour of names<-

2009-03-12 Thread Simon Urbanek
On Mar 12, 2009, at 11:12 , Wacek Kusnierczyk wrote: Simon Urbanek wrote: On Mar 11, 2009, at 10:52 , Simon Urbanek wrote: Wacek, Peter gave you a full answer explaining it very well. If you really want to be able to trace each instance yourself, you have to learn far more about R

Re: [Rd] R freeze when loading dll with dyn.load

2009-03-17 Thread Simon Urbanek
On Mar 17, 2009, at 8:24 , Morel Didier wrote: Good morning, I am investigating dll import in R under Windows XP. Using examples I found on the internet, I started with a very simple dll, e.g. including only the basic function: void { *x2 = x*x; }sqr(doublex, double*x2) This is not a

Re: [Rd] question on "row.names" attribute of dataframe when called from a compiled package

2009-03-17 Thread Simon Urbanek
a frame. This is not exposed at the R level, though, since it's an implementation optimization. .Call("print_class_of_rownames", x, package = "test") length(x): 10 TYPEOF(x): 13 R_ClassSymbol is null. NULL is this the intended behaviour? Yes - it saves a lot of sp

Re: [Rd] Embedding R Engine in Cocoa

2009-03-17 Thread Simon Urbanek
ith make R CMD ./test The default setup is now OS X but there are instructions in the Makefile on how to use it on other unices and I have tested it successfully with Linux and libFoundation. Cheers, Simon So, is there a simple project or tutorial out there that will allow me to int

Re: [Rd] R thread safe

2009-03-18 Thread Simon Urbanek
it needs to be better documented. Can you elaborate on the last sentence, please? Things cannot happen if you don't ask ... Cheers, Simon -- Regards Rune Schjellerup Philosof __ R-devel@r-project.org mailing list https://stat.eth

Re: [Rd] R thread safe

2009-03-18 Thread Simon Urbanek
On Mar 18, 2009, at 9:45 , Rune Schjellerup Philosof wrote: Simon Urbanek wrote: On Mar 18, 2009, at 8:59 , Rune Schjellerup Philosof wrote: A simple example of use: data1 <- data2 <- matrix(0, r, c) dataFiller <- function(i) { tmp <- someCalculation(i) data1[, i] <<-

Re: [Rd] R thread safe

2009-03-18 Thread Simon Urbanek
On Mar 18, 2009, at 10:11 , Ted Byers wrote: On Wed, Mar 18, 2009 at 9:28 AM, Simon Urbanek wrote: Things cannot happen if you don't ask ... Cheers, Simon Then I have two questions. 1) What multicore package? I didn't know there was one, and would be interested in seeing wh

Re: [Rd] R thread safe

2009-03-18 Thread Simon Urbanek
not sure how far he got. Luke Tierney has written up some thoughts on the issue and despite the document being quite dated I think it's still very applicable to today's R: http://www.stat.uiowa.edu/~luke/R/thrgui/thrgui.pdf Cheers, Simon If so, are they looking for volunteers. Wo

Re: [Rd] using R with java

2009-03-19 Thread Simon Urbanek
ugsburg.de/mailman/listinfo/stats-rosuda-devel so feel free to ask there for help. Cheer, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] More Embedding REngine in Cocoa

2009-03-25 Thread Simon Urbanek
in a UTF-8 locale. [Note: Finally, I was also unable to find any sort of implementation of this in RGui. Is this even necessary from XCode? See above. Cheers, Simon I hope this is enough detail. Thanks in advance. David Zwerdling zwerd...@gmail.com ___

Re: [Rd] Error in FrF2 example on Mac OS

2009-03-25 Thread Simon Urbanek
e round and all is well :). > which(floor(log2(2^x))!=x) [1] 4 7 8 13 14 15 25 27 29 49 53 57 64 97 > which(round(log2(2^x))!=x) integer(0) Cheers, Simon View this message in context: http://www.nabble.com/Error-in-FrF2-example-on-Mac-OS-tp22675998p22681913.h

Re: [Rd] get_all_vars fails with matrices (PR#13624)

2009-03-26 Thread Simon Wood
29 4 9 14 > > 5 30 5 10 15 > > > >> get_all_vars(~z+X,dat) > > > > [1] zX > > <0 rows> (or 0-length row.names) > > > > -- the equivalent works ok if there are no matrices involved. > > > > I'm using R versi

Re: [Rd] Console colors do not stick (PR#13625)

2009-03-27 Thread Simon Urbanek
*before* closing the window to prevent this from happening. It's still a bug, though, and I'll see if we can do something about it (the swatch reverts to its default color when queried on the close...). Cheers, Simon All custom colors are replaced by blue. I've tri

Re: [Rd] Console colors do not stick (PR#13625)

2009-03-27 Thread Simon Urbanek
On Mar 27, 2009, at 12:36 , Simon Urbanek wrote: On Mar 26, 2009, at 4:00 PM, lave...@math.utah.edu wrote: Full_Name: Sean Laverty Version: R version 2.8.1 (2008-12-22) OS: os x 10.5.6 Submission from: (NULL) (155.101.41.13) In the console colors window, colors do not stick when palettes

Re: [Rd] Compile R Library with GCC garbage collection on or supported

2009-03-31 Thread Simon Urbanek
to use it if it wishes to use the gc. Finally, you can always add flags via the usual environment variables for example OBJCFLAGS (see B.3 in R- admin and ./configure --help). Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R in standalone application

2009-04-01 Thread Simon Urbanek
ou can still use R CMD though], see for example Rserve on how to find the R settings from the registry on Windows). Cheers, Simon If that is of any importance, I am working on unix but aim for full portability (i.e Windows too) Thanks for any assistance. _

Re: [Rd] Assignment to string

2009-04-01 Thread Simon Urbanek
umentation error or an implementation error? Neither - what you're missing is that you are actually quoting foo namely with double-quotes. Hence both the documentation and the implementations are correct. (Technically "name" as referred above can be either a symbol or a

Re: [Rd] Problem building DLL under Windows

2009-04-03 Thread Simon Urbanek
- the current tools are smart enough with gcc. There are some issues when importing variables from R itself, but that should not be related to your code (unless you use this feature outside of the standard R headers). Cheers, Simon In the only thread I found which appeared to have an

Re: [Rd] RJava question(class not found with rJava's vm, though found with alternate vm)

2009-04-05 Thread Simon Urbanek
he system class loader but that is not the loader used by R code. Since R needs to modify the class path on the fly (as packages are loaded) it uses its own class loader. It seems as if you are bypassing that loader and thus running into problems (without exact details we can't tell for su

[Rd] Possible bug: How does libR.so find RHOME?

2009-04-06 Thread Simon Anders
e: An application (let alone a shared library) should not rely on the names of symlinks in the user's search path. Best regards Simon +--- | Dr. Simon Anders, Dipl. Phys. | European Bioinformatics Institute, Hinxton, Cambridgeshire, UK | office phone +44-1223-492680, mobile phone +44-7505-8

Re: [Rd] Possible bug: How does libR.so find RHOME?

2009-04-06 Thread Simon Anders
Hi please disregard the previous mail; I realized that my conclusion that the bug is in R and not in Rpy2, was quite wrong, as I just noticed after abit more thinking. The problem is at a pretty obvious place in RPy2's initialization routine. I'll ask the RPy2 mailing list for help

Re: [Rd] Problem cross-compiling on Ubuntu

2009-04-14 Thread Simon Urbanek
ment. I've spent a lot of time failing to build from source on Windows, Hmm.. it's should be really easy those days - just get the Rtools29.exe from http://www.murdoch-sutherland.com/Rtools/ and you should be set ... Cheers, Simon and would prefer not to name myself as maintain

Re: [Rd] R console freezes after several runs of compiled C code

2009-04-14 Thread Simon Urbanek
) and not R_ProcessEveents() because the latter is not available on all platforms. Cheers, Simon I am using R-2.8.1 on Windows XP service pack 3. The Rtools is version 2.9. I have the following C code: void rx(int *n, int *m, int *rxmax,int *rxdate, int *refills,int *rxs) { int i,j,k, total;

Re: [Rd] HTML help

2009-04-15 Thread Simon Urbanek
e building process. Latex output is right, but the HTML output is not good for math formula. I guess this issue is not so difficult. Well, then fix it and send us the patch please ... Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.

Re: [Rd] export C++ array to R

2009-04-19 Thread Simon Urbanek
has to be allocated by R. If you are allocating the memory yourself, you can simply use allocVector instead of malloc/new to allocate the array in the first place - that saves you the copying and is the more usual approach for such R packages. Cheers, Simon _

Re: [Rd] R build fails during make when configured with "--with-x=no" (PR#13665)

2009-04-25 Thread Simon Urbanek
It should be fixed now. Cheers, Simon On Apr 20, 2009, at 6:58 AM, Peter Dalgaard wrote: j...@ku.edu wrote: If R is configured using the "--with=x=no" option, then the make fails with the following error: make[1]: *** [R] Error 1 make[1]: Leaving directory `/home/jeet

Re: [Rd] Closed-source non-free ParallelR ?

2009-04-26 Thread Simon Urbanek
#x27;m not so sure about that ... Ted, the key word here is "copyright" law. That is entirely different from patents and IP (that was Stavros' point I think). Cheers, Simon back in 2002/2003, National Instrument sued the MathWorks (MatLab proprietors) on the grounds th

Re: [Rd] Problems building R 2.9.0... on SGI and Sun once again

2009-04-29 Thread Simon Urbanek
t;$FOO" != "" && for i in $FOO : do ; done in all of the Makefiles where this can be an issue. That is one of the possible ways in which R developers could, I suppose, address the issue. You could check, I suppose, that it has been

Re: [Rd] R CMD config --cppflags buglet

2006-02-20 Thread Simon Urbanek
ke things even more messy, and I'm wondering what Debian does in that case ... In fact I can't even find examples for either on my Debian machines (except for Sun's Java which seems to use /usr/ lib as R used to) ... Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R CMD config --cppflags buglet

2006-02-20 Thread Simon Urbanek
put in a kludge for that, but maybe we should work how JGR can get > this functionality via actually exported calls (as you rightly told > me that never that /usr/share/R/share/perl/build-help.pl was not > meant to be called directly). > Another hack I suspect, but I&#

Re: [Rd] R CMD config --cppflags buglet

2006-02-20 Thread Simon Urbanek
due - switching to help objects should possibly solve the whole issue, because R will handle all the paths then. Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] profiling C code

2006-02-21 Thread Simon Urbanek
oper.apple.com/tools/sharkoptimize.html It proves to be really useful and very flexible. Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] simple C function segfaults

2006-02-21 Thread Simon Urbanek
; keyword only tells the compiler to store the variable in a CPU register where possible - it is not necessary at all (most modern compiler will optimize it correctly anyway). Crucial mistake in your example was the improper use of function par

Re: [Rd] Spurious output white line in R script (PR#8631)

2006-02-22 Thread Simon Urbanek
157 012 012 > H e l l o \n \n > 007 > > > > The second newline is not wanted, and I would like if R was not > producing it. > If you don't want it, tell R to explicitly terminate in your script, e.g. with quit("no",0) - then there wi

[Rd] Problem during "make" with the devel version R-2.3.0 under Sun OS

2006-02-23 Thread Simon Penel
nel/R-devel/src/main' make[1]: *** [R] Error 1 make[1]: Leaving directory `/bge/penel/R-devel/src' make: *** [R] Error 1 I did not found any report about this problem in the R-devel archives . Should I wait and try a next version of R-devel? thanks for your help, I hope this mail

Re: [Rd] Spurious output white line in R script (PR#8631)

2006-02-23 Thread Simon Urbanek
On Feb 23, 2006, at 11:14 AM, Thomas Lumley wrote: > On Thu, 23 Feb 2006, Prof Brian Ripley wrote: > >> On Wed, 22 Feb 2006, François Pinard wrote: > [...] >>> So, I was not expecting R, running with that option activated, to >>> "volunteer" whit

Re: [Rd] Problem during "make" with the devel version R-2.3.0 under Sun OS

2006-02-24 Thread Simon Penel
Thank you very much for your help, and sorry for any inconvevience. Your are rigth my current compiler version is too old : 3.3.2. I will upgrade it immediately. All the best and thanks again Simon Prof Brian Ripley wrote: > This is a compiler error (generating invalid assembler), not a

Re: [Rd] Open .ssc .S ... files in R (PR#8690)

2006-03-17 Thread Simon Urbanek
gt; and show the corresponding files (including .SSC and .s files). > > I'll make this change in the Windows Rgui. Is this an issue in the > Mac gui too? > Yes, I was not aware of .ssc, either. Will fix that. Thanks, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Open .ssc .S ... files in R (PR#8690)

2006-03-17 Thread simon . urbanek
gt; and show the corresponding files (including .SSC and .s files). > > I'll make this change in the Windows Rgui. Is this an issue in the > Mac gui too? > Yes, I was not aware of .ssc, either. Will fix that. Thanks, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] collation order

2006-03-17 Thread Simon Urbanek
he problem is that "/" is defined in the "SPECIAL" section of the ISO-14651 template, which possibly causes / to be completely ignored in the "LATIN" part, which would explain the behavior (("1"<"10")==TRUE, ("12"<"102")==FALSE). I couldn't find anything on what the "offical" en_** collating should be so I have no idea whether this is a bug in the GNU/Linux locales or not... Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R make install and demo(graphics) issue

2006-03-17 Thread Simon Urbanek
o if test -z "${rdocdir}"; then and make the same modification to the subsequent two if statements as well. Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R make install and demo(graphics) issue

2006-03-24 Thread Simon Urbanek
you want. I don't know about your setup, so it's hard to tell which libraries are supposed to be where. Do you have binaries for multiple architectures on the same machine? I'm currently traveling so I can't check our AIX setup. Cheers, Simon ___

[Rd] gaussian family change suggestion

2006-04-11 Thread Simon Wood
(y <= 0 stop( "cannot find valid starting values: please specify some") mustart <- y if (family$link=="log") { iy <- y<=0 if (sum(iy)) mustart[iy] <- min(y[!iy])*.5 } else if (family$link=="inverse"

Re: [Rd] gaussian family change suggestion

2006-04-11 Thread Simon Wood
but I wouldn't have thought that zeros in data modelled using `gaussian("log")' is such a rare occurance is it? [Or did you mean that `gaussian("log")' is almost never used, and should hence be kept simple]. I suppose there are arguments both ways... best, Simon

Re: [Rd] Fwd: makeconf issue on R-devel 2006-03-12 r37524

2006-04-11 Thread Simon Urbanek
e >> treatment >> got things going again. If this reflects some idiosyncrasy in my >> setup, my apologies > > Well, no one else is reporting it, and that includes the daily > checks run > by Simon on MacOS X so it is not that no one has tested R-devel for > t

Re: [Rd] gaussian family change suggestion

2006-04-11 Thread Simon Wood
the linear predictor must tend to minus infinity? So there's probably an argument for handling it differently [although my proposed error message is not the most informative, since modifying the starting values won't help]. best, Simon > > >> We could try even harder, but code that

Re: [Rd] Stack checking, core dumps, and embedding R

2006-04-11 Thread Simon Urbanek
to not set it to something reasonable - even if we are not the main application, IMHO less harm is done setting it to something based on the current stack pointer than using -1. The status quo relies on the embedding application to set the stack base

Re: [Rd] cannot load rJava in R

2006-04-17 Thread Simon Urbanek
are no library paths and yet it compiles. Please make sure that the correct java, javac etc. are on your PATH before you compile the package. Also make sure that your Java is properly installed (preferably from a Debian package). If that doesn't help, please send me your config.log

Re: [Rd] R CMD check: non source files in src on (2.3.0 RC (2006-04-19 r37860))

2006-04-20 Thread Simon Urbanek
above distinction. I'm not saying anything about make check here - my point is that tar- balls and development sources are definitely two separate concepts. For simple packages it may be possible to just tar-up the development sources, but that's rather a

Re: [Rd] gsub + backslashes

2006-04-24 Thread Simon Urbanek
d one for the RE: > gsub("", "x", "\\alpha") [1] "xalpha" For illustration purposes: > cat("") \\ > cat("\alpha") lpha > cat("\\alpha") \alpha Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Installation problem of R.app GUI 1.15 for R 2.3.0 (PR#8828)

2006-05-02 Thread Simon Urbanek
research.att.com/R-GUI-3114-2.3-Deployment.dmg Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Force action in package install?

2006-05-02 Thread Simon Urbanek
recently?) for the reasons discussed - IMHO it's much better to have a script build the package tar ball, stamping files as necessary. Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Force action in package install?

2006-05-02 Thread Simon Urbanek
On May 2, 2006, at 4:25 PM, Simon Urbanek wrote: > > On May 2, 2006, at 12:09 PM, Duncan Murdoch wrote: > >> I tried putting a target that depends on FORCE into Makefile or >> Makevars in the src directory, but it is not being built. What >> sort of make magic do

Re: [Rd] Data editor in Mac OS X (PR#8837)

2006-05-05 Thread Simon Urbanek
port such issues to the maintainer - that is NOT a bug in R! Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R 2.3.0 and rgl on OS X 10.4.6 (PR#8833)

2006-05-05 Thread Simon Urbanek
pens most often if you install libraries in your home directory. On OS X it's usually much safer to use system- wide packages, because that prevents cross-version problems, version- confusion and the GUI allows you to re-install them automatically. That doesn't work for your local p

Re: [Rd] suppressing "global" cppflags in an individual package

2006-05-09 Thread Simon Urbanek
possible, because most writers of Makefiles get the shlib compilation wrong). Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] suppressing "global" cppflags in an individual package

2006-05-11 Thread Simon Urbanek
Kasper, On May 11, 2006, at 12:37 AM, Kasper Daniel Hansen wrote: > Thank you Simon, a little comment below > > On May 9, 2006, at 2:49 PM, Simon Urbanek wrote: > >> On May 9, 2006, at 1:11 PM, Kasper Daniel Hansen wrote: >> >>> It is indeed the case that af

Re: [Rd] Memory allocator on OS/X

2006-05-19 Thread Simon Urbanek
speed up is to be expected. I hope to have a quiet minute during the weekend so I can test the various hypotheses... (There are two separate issues to be addressed: system malloc/free and BLAS performance). Cheers, Simon > [...] > > Would it make sense for the build process that

Re: [Rd] 2.3 issues on Mac (PR#8915)

2006-05-30 Thread Simon Urbanek
guess this is an ARD bug. (Installation using both command line and Installer.app works fine). Unless someone donates an ARD license (it's rather costly) I can't do much - but if you find the cause feel free to share it with us. Cheers, Simon (PS: please don't open two bug-re

<    9   10   11   12   13   14   15   >