Re: [Rd] alloca() on FreeBSD (PR#7890)

2005-06-07 Thread Simon Urbanek
On Jun 7, 2005, at 12:36 PM, Rainer Hurling wrote: One first reaction to your suggestions. [EMAIL PROTECTED] wrote: On Mon, 23 May 2005 [EMAIL PROTECTED] wrote: R-2.1.0 fails to compile on the newest release of FreeBSD, complaining about undefined references to __builtin_alloca. On FreeBS

Re: [Rd] could not open libRmath.so

2005-06-02 Thread Simon Urbanek
On Jun 2, 2005, at 5:52 PM, Tib wrote: Now I use this to compile my program g++ engine.cpp -o engine -lm -lRmath -I/Users/tib/R/lib/R/include/ -L/Users/tib/R/bin/ it did not report any error, however as I executed the program ./engine it reported: ./engine: error while loading shared libraries:

Re: [Rd] 1/tan(-0) != 1/tan(0)

2005-06-01 Thread Simon Urbanek
On Jun 1, 2005, at 5:50 AM, (Ted Harding) wrote: However, a query: Clearly from the above (ahich I can reproduce too), tan() can distinguish between -0 and +0, and return different results (otherwise 1/tan() would not return different results). But how can the user tell the difference betwe

Re: [Rd] crash in R OS X GUI (PR#7903)

2005-05-27 Thread Simon Urbanek
On May 27, 2005, at 3:25 PM, [EMAIL PROTECTED] wrote: When I type an open paren the (otherwise absolutely wonderful) help dialog at the bottom crashes R. Are you talking about the console or the editor? For example polygon(c( [all is well polygon(c(( 2005-05-27 14:13:14.843 R[478] **

Re: [Rd] R OS X

2005-05-25 Thread Simon Urbanek
On May 24, 2005, at 9:11 AM, Volker Runkel wrote: with newest R.app (1.11) / R2.1.0a if a package is installed for the current user, it is not installed properly (does not get an installed version entry and is not loadable). If installed system wide it works. As Rob mentioned, you likely

Re: [Rd] R2.1.0a.dmg fails to mount (PR#7886)

2005-05-22 Thread Simon Urbanek
Please check the list before submitting redundant reports, empty your cache and download the file from a different mirror. The file must be over 20MB bytes big if the download is complete. Thanks, Simon On May 22, 2005, at 3:59 AM, [EMAIL PROTECTED] wrote: Full_Name: Tim Cole Version: 2.1.

Re: [Rd] New R (2.1) not openable under emacs files (PR#7882)

2005-05-20 Thread Simon Urbanek
On May 19, 2005, at 5:24 PM, [EMAIL PROTECTED] wrote: Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library '/Library/Frameworks/R.framework/Resources/library/grDevices/libs/ grDevices.so': dlcompat: dyld: /Library/Frameworks/R.framework/Resources/bin/ exe

Re: [Rd] Light-weight data.frame class: was: how to add method to .Primitive function

2005-05-08 Thread Simon Urbanek
Vadim, On May 8, 2005, at 2:09 PM, Vadim Ogranovich wrote: # the naive "[.lwdf" = function (x, i, j) lapply(x[j], function (col) col[i]) Umm... what about his: "[.lwdf" = function(x, i, j) { r<-lapply(lapply(j,function(a) x [[a]]),function(x) x[i]); names(r)<-names(x)[j]; r } The subsetting oper

Re: [Rd] how to add method to .Primitive function

2005-05-07 Thread Simon Urbanek
On May 7, 2005, at 2:59 PM, Vadim Ogranovich wrote: But then mylist is not a list: x <- new("mylist", x = list(x = 1, y = 2)) x[[1]] Error in x[[1]] : subscript out of bounds This is probably solvable by a sprinkle of setIs or setAs spells, but each time I get into the S4 area I feel walking a m

[Rd] Workspace [Was: MacOS X: update.packages(type="mac.binary")]

2005-05-04 Thread Simon Urbanek
On May 4, 2005, at 2:30 AM, [EMAIL PROTECTED] wrote: but the sanguine(*) R in MacOS X refuses to start in GUI mode today with uninformative error message ("The application R has unexpectedly quit."). It's an OS X message, nothing R.app can do about it. See the Console for details - those woul

Re: [Rd] MacOS X 10.4 build problem

2005-05-02 Thread Simon Urbanek
Bill, On May 2, 2005, at 8:12 AM, Bill Northcott wrote: Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library '/Users/billn/Public/R/ R-2.1.0/build/library/grDevices/libs/grDevices.so': dlopen(/Users/billn/Public/R/R-2.1.0/build/library/grDevices/libs/

Re: [Rd] Re: Calling R functions from Java

2005-05-02 Thread Simon Urbanek
On May 2, 2005, at 2:55 AM, D0c wrote: Hey guys thanks for the help. I found Rserve to be a solution i can work with. i'll just use the JRClient to connect to Rserve. However i have another problem. How can i get a nice graph from Rserve using JRCLient using the plot() function? There are sev

Re: [Rd] Ctrl-c crashes R when run as sudo (PR#7819)

2005-04-26 Thread Simon Urbanek
On 26.04.2005, at 12:52, [EMAIL PROTECTED] wrote: Program received signal SIGINT, Interrupt. 0x006547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 Thanks you, however Marc omitted to mention that you need to type signal SIGINT before running the backtrace (bt), because gdb will catch the INT

Re: [Rd] dynamic array output by .C

2005-04-14 Thread Simon Urbanek
On Apr 14, 2005, at 6:01 PM, Tib wrote: from the examples of Writing R Extensions, I see one still has to declare the size of arrays by NEW_NUMERIC(n) or allocVector(REALSXP,n), how can I extend arrays? AFAIR you cannot extend vectors - it's like in C, you cannot extend allocated memory without

float vs double on Macs [was Re: [Rd] NaN and linear algebra]

2005-03-24 Thread Simon Urbanek
On Mar 24, 2005, at 6:59 AM, Bill Northcott wrote: PS This discussion has given me another thought. On MacOS X, it would be much faster to use floats instead of doubles because they can be directly processed by the Altivec section of the CPU. I can see no way to have R use floats. Would t

Re: [Rd] NaN and linear algebra

2005-03-23 Thread Simon Urbanek
On Mar 22, 2005, at 6:19 PM, Bill Northcott wrote: On 23/03/2005, at 12:55 AM, Simon Urbanek wrote: You may prefer the error, but it is not in the sprit of robust arithmetic. ie > d<-matrix(NaN,3,3) > f<-solve(d) Error in solve.default(d) : Lapack routine dgesv: system is exactly

Re: [Rd] NaN and linear algebra

2005-03-22 Thread Simon Urbanek
Bill, On Mar 21, 2005, at 10:31 PM, Bill Northcott wrote: As I see it, the MacOS X behaviour is not IEEE-754 compliant. I had a quick look at the IEEE web site and it seems quite clear that NaNs should not cause errors, but propagate through calculations to be tested at some appropriate (not to

Re: [Rd] .Call - applying setAttrib(x, R_DimSymbol, s) to a matrix being an element of a list

2005-03-17 Thread Simon Urbanek
Oleg, On Mar 16, 2005, at 8:34 PM, Oleg Sklyar wrote: Sorry, it is always a tradeoff - either to explain or put a relatively large code, Just posting all R related commands is sufficient ;) - in your case that would be the single imgSize alloc and the assignments- but the full code is fine, too.

Re: Write Barrier: was: [Rd] function-like macros undefined

2005-03-16 Thread Simon Urbanek
On Mar 16, 2005, at 1:34 PM, Vadim Ogranovich wrote: * suppose that inside a C function I have a SEXP vector x of integers and I want to increment each element by one. I understand that Please correct me if I'm wrong, but I thought that the write barrier applies to assignments of SEXP values only

Re: [Rd] .Call - applying setAttrib(x, R_DimSymbol, s) to a matrix being an element of a list

2005-03-16 Thread Simon Urbanek
Oleg, you gave us only a fragment of your code, so I can only guess what the problem is: On Mar 16, 2005, at 12:40 PM, Oleg Sklyar wrote: // converting element into a matrix setAttrib(element, R_DimSymbol, imgSize); What is imgSize? The behavior you describe seems as if you re-using the imgSize

[Rd] Customizable R_HOME at build time

2005-03-11 Thread Simon Urbanek
Currently there is no way to specify R_HOME at build time - it is hard-coded to ${prefix}/lib/R. This is slightly inconvenient for special setups (e.g. installing different versions of R in parallel). I was thinking of something like: ./configure --prefix=/usr --enable-custom-R-home=/usr/share/

Re: [Rd] [R][Rdev] any way to generate "bitmap" (tif, jpeg, png etc) files in R CMD BATCH

2005-02-25 Thread Simon Urbanek
On Feb 25, 2005, at 10:05 AM, Oleg Sklyar wrote: here is the problem, Linux problem (reported to work on Windows). I need to generate graphical output in any of bitmap format under the 'R CMD BATCH'. Whereas the script generating png-s works perfectly in the R session, such things as X11, png an

Re: [Rd] Re: [R-SIG-Mac] Bug running pbinom() in R-GUI?

2005-02-11 Thread Simon Urbanek
Brian, On Feb 11, 2005, at 4:14 PM, Prof Brian Ripley wrote: The problem rather is that if R_CheckUserInterrupt is so expensive, we need to redesign it, for it should not be I agree, that's why I named it a 'quick fix'. Unfortunately a more 'proper' fix is far from trivial. Talking of handling i

[Rd] Re: [R-SIG-Mac] Bug running pbinom() in R-GUI?

2005-02-11 Thread Simon Urbanek
On Feb 10, 2005, at 7:38 PM, George W. Gilchrist wrote: Today I was running a graduate level stats lab using R and we encountered a major problem while using the current build of the Cocoa GUI: From the GUI: system.time(pbinom(80, 1e5, 806/1e6)) [1] 14.37 4.94 30.29 0.00 0.00 From the comman

Re: [Rd] Re: Compiler-specific flags with PKG_CFLAGS

2005-02-09 Thread Simon Urbanek
On Feb 9, 2005, at 12:21 PM, Paul Roebuck wrote: On Wed, 9 Feb 2005, Kurt Hornik wrote: I think the simplest way to achieve this is to configure R locally (for yourself) with CFLAGS="-O2 -Wall -pedantic" but leave the corresponding PKG_CFLAGS etc variables in package src/Makevars alone. I can do th

Re: [Rd] Re: [R-SIG-Mac] Formatting of time zone for POSIXct

2005-01-19 Thread Simon Urbanek
On Jan 19, 2005, at 5:39 PM, Prof Brian Ripley wrote: There is _no_ tm_tzone component in a POSIX nor C99 tm structure (and I have just checked both), so if a system requires it to be set, the bug is not in R but in the standards-compliance of the system. I am happy to zero the structure, much l

[Rd] Re: [R-SIG-Mac] Formatting of time zone for POSIXct

2005-01-19 Thread Simon Urbanek
Don, thanks for your report. On Jan 19, 2005, at 12:41 PM, Don MacQueen wrote: I'm encountering a problem formatting POSIXct objects in R 2.0.1 on OS X. For reference, on a Solaris system, R 2.0.1 (2004-11-15), formatting is correct: Sys.time() [1] "2005-01-19 09:12:33 PST" format(Sys.time(),

[Rd] Fix for R-devel+Quartz

2005-01-19 Thread Simon Urbanek
Current R-devel doesn't compile on OS X, because "-framework Carbon" was (correcly) removed main_ldflags, but it was not added to flags for grDevices, where it is needed now. The following tiny patch remedies the issue (it is sufficient to include AppKit as only that subset of Carbon is needed)

Re: [Rd] Makefile vs Makevars vs configure

2004-12-29 Thread Simon Urbanek
On Dec 29, 2004, at 2:06 PM, Whit Armstrong wrote: The reason I need help with Makevars is because it needs jni.h from the user's JAVA_HOME/include and jni_md.h from the user's JAVA_HOME/include/OS_TYPE directory. In addition, it needs libjvm.so from the user's JAVA_HOME/jre/lib/ARCH/client directo

Re: [Rd] R and Gnumeric?

2004-12-20 Thread Simon Urbanek
On Dec 20, 2004, at 10:20 AM, Marc Schwartz wrote: I was just curious if anyone from R Core might comment on the nature and scope of the cooperation, as I could not find anything at the Gnumeric web site on this. I don't know about that, either, but as of R and Gnumeric i know that Duncan was wor

Re: [Rd] No window graphics on new binary installation for Mac OS 10.3 (PR#7427)

2004-12-17 Thread Simon Urbanek
On Dec 17, 2004, at 11:00 AM, [EMAIL PROTECTED] wrote: I loaded the binary for R, and most things work fine. The plot command defaults to a postscript file. If I type X11(), I get a message the X11 failed to load. However if I type capabilities(what="X11") I get TRUE back. What do I need to do

Hooks, docs [was [Rd] Multiple options for a package]

2004-12-13 Thread Simon Urbanek
Brian, thanks for the useful hints! In fact, that code features several interesting techniques. While reading one of the related docs I stumbled upon a slight problem in the UserHooks {base} docs: pkgname character string: the package/namespace name. If versioned install has been used, pkgname

Re: [Rd] Version names

2004-11-28 Thread Simon Urbanek
On Nov 28, 2004, at 11:58 PM, Gabor Grothendieck wrote: Quite so but unfortunately if I want to produce a script that has no dependencies then I need to use what is provided in Windows and Windows batch commands seem to be the best way to do that. Batch scripts are also quite dependent on the syste

Re: [Rd] Destructive str(...)?

2004-10-30 Thread Simon Urbanek
Thank you all for your replies. I wrapped the reference in a LISTSXP and everyone's happy (I know that the docs say one ought to do so right away, but I was curious what breaks ;)). On Oct 30, 2004, at 5:55 PM, Peter Dalgaard wrote: Anyways, Tcl objects do provide a rather nice illustration of w

[Rd] Destructive str(...)?

2004-10-29 Thread Simon Urbanek
I have encountered a strange behavior of the str function - it seems to modify the object that is displayed. Probably I'm using something unsupported (objects consisting just of an external reference), but still I'm curious as of why this happens. I create (in C code) EXTPTRSXP and associate a

Re: [Rd] R 1.9.1 fails to install for Mac 10.2.8 (PR#7190)

2004-08-20 Thread Simon Urbanek
t should perform the R installation without errors. Since I don't know what goes on with the libxml package, you could try it on that one, too. Cheers, Simon --- Simon Urbanek Department of computer oriented statistics and data analysis University of Augsburg Universitätsstr. 14 86135

Re: [Rd] R 1.9.1 fails to install for Mac 10.2.8 (PR#7190)

2004-08-19 Thread Simon Urbanek
On Aug 19, 2004, at 6:30 PM, [EMAIL PROTECTED] wrote: Was running R 1.9.0 on iMac (10.2.8) without problems. Tried to run installer for 1.9.1, but this stops after only several seconds, saying "There were problems installing the software." Problem is repeatable, even after repairing file permis

Re: [Rd] R + OS X + gcc 3.5 = not quite there ..

2004-08-01 Thread Simon Urbanek
On Jul 31, 2004, at 9:15 PM, Jan de Leeuw wrote: [cabledoc70:Developer/R/R-devel] deleeuw% bin/R Error in lazyLoadDBfetch(key, datafile, compressed, envhook) : internal error in decompress1 I forgot to post it here, but the problem I had was in libz (thanks to Luke for some tips). When I u

[Rd] cross-compile R darwin2win, almost there

2004-07-29 Thread Simon Urbanek
not compiled of course) ... Solving the above would allow us to provide binary packages for both platforms OS X and Windows using just one machine to automatically generate both... (for those interested I could put the cross-compile tools on my pages..) Any help is appreciated, Simon --- Simon

[Rd] libz>=1.2.1 requirement - necessary?

2004-07-20 Thread Simon Urbanek
I the course of cleaning up the build for OS X I wondered why R requires zlib 1.2.1+. Is there any specific reason for that? OS X comes with zlib 1.1.4, so I wonder if using the system library has any drawbacks... (it worked for me, but..). I found nothing in the archives, but maybe someone rem

Re: [Rd] some problems building a package using R CMD CHECK

2004-07-20 Thread Simon Urbanek
the INSTALL: You need the following in your path (with the first two first): . our toolset mingw\bin Perl\bin the latex bin directory zip.exe, unzip.exe, hhc.exe And, please, this is not a bug in R, so don't post it in R-bugs! Cheers, Simon --- Simon Urbanek Department of compu

Re: [Rd] R#7036 (PR#7095)

2004-07-15 Thread Simon Urbanek
On Jul 15, 2004, at 6:56 PM, [EMAIL PROTECTED] wrote: Full_Name: A.Boodoo Version: 1.9.1 OS: MacOS X 10.2.8 Submission from: (NULL) (217.35.120.113) Same problem identified as in report 7036 please don't open new bug reports, especially when you say that it's the same as an existing bug. - R icon

[Rd] R + OS X + gcc 3.5 = not quite there ..

2004-07-11 Thread Simon Urbanek
I tried to compile R (current R-patched to be more precise) with gcc 3.5 by Apple (which will be probably shipped with Tiger) and here's how far I got: 1) compilation itself was fine except for one exception: ../../../../../../R-patched/src/library/stats/src/starma.c: In function `forkal': ../.

Re: [Rd] library( ) and verbose=

2004-07-11 Thread Simon Urbanek
On Jul 11, 2004, at 1:07 PM, Frank E Harrell Jr wrote: The Hmisc package has in its .First.lib function a verbose argument, which I thought was the way to allow users to suppress certain messages, by issuing library(Hmisc, verbose=FALSE). But I see that library( ) does not pass verbose to .First.

Re: [Rd] AS_NUMERIC and as.numeric - Could someone explain?

2004-07-01 Thread Simon Urbanek
On Jul 1, 2004, at 6:09 AM, Douglas Bates wrote: AS_NUMERIC in C more closely corresponds to as.double() in R All that as.numeric() in R does is assure that the result is of a numeric mode. It does not coerce integer variables to doubles. Um... are you sure?? For the sake of lots of code I saw I

Re: [Rd] help.start() not able to run (PR#7040)

2004-07-01 Thread Simon Urbanek
On Jul 1, 2004, at 6:10 PM, [EMAIL PROTECTED] wrote: Full_Name: Matthew Krause Version: 1.9.1 OS: Mac OS 10.3.4 Submission from: (NULL) (194.78.187.114) dyld: /usr/bin/open version mismatch for library: /usr/local/lib/libxml2.2.dylib (compatibility version of user: 9.0.0 greater than library's ver

Re: [Rd] Installer package destroys permission settings on /Applcations (PR#7025)

2004-06-27 Thread simon . urbanek
On Jun 26, 2004, at 9:41 AM, stefano iacus wrote: > Thanks for raising this problem. I agree, the installer should not > change the permissions on /Applications (but user can decide to > install the application somewhere else and move it to /Applications > later as a temporary solution) I'd s

Re: [Rd] Installer package destroys permission settings on /Applcations (PR#7025)

2004-06-27 Thread Simon Urbanek
On Jun 26, 2004, at 9:41 AM, stefano iacus wrote: Thanks for raising this problem. I agree, the installer should not change the permissions on /Applications (but user can decide to install the application somewhere else and move it to /Applications later as a temporary solution) I'd say that it

Re: [Rd] Copyright issues question

2004-06-19 Thread Simon Urbanek
On Jun 16, 2004, at 12:08 PM, Philippe Grosjean wrote: P.S.: I am also concerned about JGR, because it is also not GPL. Any comment? All C code in JGR is GPL. Tha Java parts talking to R directly (JavaGD, Rengine) are, too. From what you posted here this seems to be sufficient. As of the other Ja

Re: R_Interactive {was '[Rd] stdout == 'Terminal' or 'File'}

2004-05-12 Thread Simon Urbanek
. Any thoughts on this? (btw: aqua uses a hack to circumvent this... whenever aqua needs a hack it may be worth thinking about something more general ;)) Cheers, Simon --- Simon Urbanek Department of computer oriented statistics and data analysis University of Augsburg Universitätsstr. 14 86135 A

Re: [Rd] eventloop

2004-04-26 Thread Simon Urbanek
ell us exactly which of the many versions of R GUI (raw stdin, readline, Tcl/Tk, Gtk, ...) you actually mean - since they use different event loops ... OT: Did you have a look at http://wsopuppenkiste.wiso.uni-goettingen.de/~dadler/rgl/ ? Although its' not really a GD, it provides a kind o

Re: [Rd] Script editor for Windows GUI

2004-02-26 Thread Simon Urbanek
ly since this is runtime-dependent, because in the editor you don't even know which packages are loaded at run-time ... --- Simon Urbanek Department of computer oriented statistics and data analysis University of Augsburg Universitätsstr. 14 86135 Augsburg Germany Tel: +49-821-598-2236 Fax: +49

Re: [Rd] Script editor for Windows GUI

2004-02-25 Thread Simon Urbanek
an interesting, flexible alternative. I know that the project is all but easy, nevertheless I believe that we got quite far by now. Simon --- Simon Urbanek Department of computer oriented statistics and data analysis University of Augsburg Universitätsstr. 14 86135 Augsburg Germany Tel: +49-821-59

Re: [Rd] Script editor for Windows GUI

2004-02-25 Thread Simon Urbanek
too. We are of course open for any further ideas or wishes. The official release is planned for the useR! 2004 conference in Vienna. Simon --- Simon Urbanek Department of computer oriented statistics and data analysis University of Augsburg Universitätsstr. 14 86135 Augsburg Germany Tel: +49-8

Re: [Rd] "Out of memory" while building R with perl 5.8.2 (PR#6596)

2004-02-21 Thread Simon Urbanek
t for the help files that were not built, afaik. Simon --- Simon Urbanek Department of computer oriented statistics and data analysis Universitätsstr. 14 86135 Augsburg Germany Tel: +49-821-598-2236 Fax: +49-821-598-2280 [EMAIL PROTECTED] http://simon.urbanek

Re: [Rd] Math Symbols in plots under Darwin/Panther

2004-02-21 Thread Simon Urbanek
On Feb 19, 2004, at 2:55 AM, stefano iacus wrote: I've just committed a new version of the quartz device to R-devel. This seems to fix the problem with displaying math symbols in plots under Panther. I gave it a shot on a Jag machine (darwin 6.8), here are my results. I can't not more test R und

Re: [Rd] Fixed width graphics font?

2004-02-14 Thread Simon Urbanek
On Feb 14, 2004, at 8:19 PM, Paul Murrell wrote: I have added fontfamily to the "graphics context" information that can be passed from the graphics engine to graphics devices. Two rather important things remain to be done: (i) the devices need to do something with this information. As Duncan

Re: [Rd] Fixed width graphics font?

2004-02-13 Thread Simon Urbanek
mily name - I just didn't check yet which parameter is used to set it (fontfamily?). Cheers, Simon --- Simon Urbanek Department of computer oriented statistics and data analysis University of Augsburg Universitätsstr. 14 86135 Augsburg Germany Tel: +49-821-598-2236 Fax: +49-821-598-2200 [E

[Rd] Graphics device API

2004-02-09 Thread Simon Urbanek
et in stone or are there any further plans to change the API? (If so, how far?) Also, is there any 'recommended' or 'official' way to provide compatibility (beside using wrappers in various #ifdef's..)? Thanks, Simon --- Simon Urbanek Department of computer oriente

Re: [Rd] programming with C++Builder 5

2003-12-31 Thread Simon Urbanek
r program. But before you plunge into writing some Win apps that interface to R, you should definitely look at other projects that use R.dll - there is a lot of issues you should be aware of, especially involving the initialization of R (Win32 version has no Rf_initEmbeddedR). Cheers, Simo

Re: [Rd] split.screen problem with jpeg/png device (PR#6223)

2003-12-30 Thread Simon Urbanek
On Dec 30, 2003, at 4:37 PM, [EMAIL PROTECTED] wrote: Full_Name: Steve Koehler Version: 1.8.1 OS: Solaris and Windows Submission from: (NULL) (192.55.214.50) In the following program, if output is sent to X11, you get all four graphs, but if output is sent to .jpeg, you only get the C and D graph

[Rd] R-devel with Darwin: some issues (mostly due to latest R.framework changes)

2003-12-22 Thread Simon Urbanek
arwin7.2.0 arch powerpc os darwin7.2.0 system powerpc, darwin7.2.0 status Under development (unstable) major1 minor9.0 year 2003 month12 day 22 language R --- Simon Urbanek Department of computer oriented statistics and data analysis Universi

[Rd] Re: [R-SIG-Mac] R as OS X Framework

2003-11-30 Thread Simon Urbanek
m Carbon in this way is important, and you don't have to learn Objective C to program in Cocoa. I guess that Quartz in Carbon is ok for now, because it actually doesn't use almost anything from Carbon except for the window creation routines ;). Everything else (especially widgets &

Re: [Rd] R as OS X Framework

2003-11-30 Thread Simon Urbanek
On Nov 29, 2003, at 9:33 PM, Prof Brian Ripley wrote: On Sat, 29 Nov 2003, Simon Urbanek wrote: BTW: This is not Mac specific - I was fighting this on Windows (and unix for that matter) as well - it is possible to run an .exe linked to R.dll from anywhere, if R.dll is in the PATH. But then, one

[Rd] R as OS X Framework

2003-11-29 Thread Simon Urbanek
might look into issues like using Tcl/Tk, placing libraries conveniently (in ~/Library/Application Support/R/library ?) etc. --- Simon Urbanek Department of computer oriented statistics and data analysis Universitätsstr. 14 86135 Augsburg Germany Tel: +49-821-598-2236 Fax: +49-821-598-2280 [EMAIL

[Rd] R-1.8.0 + IBM VisualAge/C for AIX compiler

2003-10-31 Thread Simon Urbanek
Additional capabilities: bzip2, PCRE Options enabled: shared library, R profiling Recommended packages: yes configure: WARNING: I could not determine SHLIB_CXXLDFLAGS --- Simon Urbanek Department of computer oriented statistic

[Rd] linking to R.dll on Win32 - issues with recent MinGW?

2003-10-23 Thread Simon Urbanek
lid Address specified to RtlSizeHeap( 003F, 0146008 ) and later a crash somewhere deep in libwsock32 (the trace is rather weird) ... I guess the problem is the heap, not wsock itself. Any idea what that could be? All the above was tested with MinGW-3.1. Any ideas? Is that a MinGW bug or something

Re: [Rd] latest beta + MinGW 3.1.0-1 = minor fix needed

2003-10-05 Thread Simon Urbanek
On Saturday, October 4, 2003, at 04:05 PM, Duncan Murdoch wrote: It compiles fine in 3.3.1 with change 2). I'll commit the change. I don't have 3.2.3 installed to test there, so could you try a build soon Simon? Thank you, Duncan, it compiles fine with MinGW 3.1.0-1 (@Peter: it uses [modified]

Re: [Rd] latest beta + MinGW 3.1.0-1 = minor fix needed

2003-10-03 Thread Simon Urbanek
On Friday, October 3, 2003, at 07:34 PM, Uwe Ligges wrote: Some thoughts: The first suggested fix seems to be forbidden during code freeze (might break other platforms, doesn't it?), the second one puts one more OS dependence into the sources. The neither fix affects any platform except for Win3

[Rd] latest beta + MinGW 3.1.0-1 = minor fix needed

2003-10-03 Thread Simon Urbanek
MinGW 3.1.0-1 is currently the latest official MinGW release, therefore I tried to compile the latest R beta (rsync today). There is one minor problem when trying that: gcc -O2 -Wall -pedantic -I../../include -I../../gnuwin32 -DHAVE_CONFIG_H -c internet.c -o internet.o In file included from i

Re: [Rd] Adding Tk extensions to R for windows

2003-09-30 Thread Simon Urbanek
On Tuesday, September 30, 2003, at 03:42 PM, Marsland, John wrote: necessary for win32 systems. I got more interested when I started thinking about Rpvm and all the spare win32 boxes sitting around - curently this package only works for unix/linux systems. My guess is that an awful lot more of t

Re: [Rd] R on BeOS

2003-09-17 Thread Simon Urbanek
On Sunday, September 14, 2003, at 06:01 PM, Ole Sieling wrote: Hello, I have compiled R-1.7.1 on Beos R5 (x86) and got it running. The modules x11 and internet dont work (so the only working display is postscript()). The libraries all compile, but there is a problem with methods. I get the followi

Re: [Rd] possible bug in diag()

2003-09-17 Thread Simon Urbanek
On Wednesday, September 17, 2003, at 06:51 PM, Marsland, John wrote: It concerns trival diagonal matrices: [...] diag(rnorm(1)) <0 x 0 matrix> diag(rnorm(1),nrow=1) [,1] [1,] 0.4843697 There's an obvious work around... but I thought it was worth notifying the list. I fail to see any re

Re: [Rd] RAqua too hungry of cpu time

2003-09-16 Thread Simon Urbanek
function returns almost immediately and is called again ... so in effect you are hogging 100% CPU. I'd suggest using either some sensible timeout or kEventDurationForever. Cheers, Simon --- Simon Urbanek Department of computer oriented statistics and data analysis Universitätsstr. 14 86135 Au

[Rd] configure problem in R-devel caused by conditionals

2003-09-14 Thread Simon Urbanek
elper docs it says that one should simply run autoconf .. but then such issues as the above won't become visible as autoconf doesn't call aclocal, whereas e.g. autoreconf does ...). So, how is the 'official' configure created? --- Simon Urbanek Department of computer oriented

Re: [Rd] about REPL and loops in general ...

2003-08-29 Thread Simon Urbanek
On Friday, August 29, 2003, at 12:11 PM, Peter Dalgaard BSA wrote: Simon Urbanek <[EMAIL PROTECTED]> writes: I think that something along the lines of a "light" REventLoop (i.e. [...] tricks. So, are there plans to replace the current REPL soon? (preferably in 1.8 ;)). If n

[Rd] about REPL and loops in general ...

2003-08-29 Thread Simon Urbanek
back for those who don't) and the above is fairly easy to implement in pthreads (and compatible) as well as Windows. I'm willing to provide code for the latter approach or to help with the first one if necessary. Cheers, Simon --- Simon Urbanek Department of computer oriented s

Re: [Rd] OpenBSD 3.[23] and R-1.7.1

2003-07-25 Thread Simon Urbanek
"s/.*\.\([^.][^.]*$\)/\1/"` +DYLIB_EXT=".so.${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}" ;; esac Of course you'll need to re-run autoconf after patching. Again, this is untested since I have no OpenBSD box here. Cheers, Simon --- Simon Urbanek Department of

Re: [Rd] OpenBSD 3.[23] and R-1.7.1

2003-07-23 Thread Simon Urbanek
ed library cannot be found (and the package 'methods' is the first to attempt to load an external shlib in R). You may want to check how your platform uses dlsym and also check the linker flags for module libraries. This is just a hint, I have no OpenBSD box here to test it. Cheers, S

Re: [Rd] Re: [R-SIG-Mac] R version on gifi

2003-06-17 Thread Simon Urbanek
equire that (and probably have to). G77 is really just a few files, so the installer could add it if necessary, but I'm not sure about latex. Is building packages w/o latex documentation an option? The direct use of source packages seems to me as the greatest benefit of OSX being unix-ba

Re: [Rd] Re: [R-SIG-Mac] R version on gifi

2003-06-17 Thread Simon Urbanek
pply it simply with R - such as pcre etc., all other libraries are optional. Cheers, Simon --- Simon Urbanek Department of computer oriented statistics and data analysis University of Augsburg Universitätsstr. 14 86135 Augsburg Germany Tel: +49-821-598-2236 Fax: +49-821-598-2200 [EMAIL PROTE

Re: [Rd] Re: Double-clicking Darwin-Aqua R-devel

2003-06-13 Thread Simon Urbanek
o the two processes communicate? 4) The GUI should set the option to make "quartz" the default device (so far options(device="quartz") works quite well). Cheers, Simon --- Simon Urbanek Department of computer oriented statistics and data analysis University of Augsburg Univer

Re: [Rd] predict in Pspline package (PR#2714)

2003-04-01 Thread Simon Urbanek
2003 month03 day 17 Cheers Simon --- Simon Urbanek Department of computer oriented statistics and data analysis University of Augsburg Universitätsstr. 14 86135 Augsburg Germany Tel: +49-821-598-2236 Fax: +49-821-598-2280 [EMAIL PROTECTED] http://simon.urbanek.info