Re: [Rd] rJava and RJDBC

2007-09-27 Thread Simon Urbanek
Joe, which version of R and RJDBC are you using? The behavior you describe should have been fixed in RJDBC 0.1-4. Please try the latest version from rforge install.packages("RJDBC",,"http://rforge.net/";) and please let me know if that solves your problem. Cheers, Simon

Re: [Rd] pairlist objects

2007-10-02 Thread Simon Urbanek
different objects. lists are generic vectors, pairlists are not vectors (c.f. the docs above). > Subsetting a pairlist with [] doesn't produce a pairlist: > >> class(.Options[1:3]) > [1] "list" > > Yes, this one is documented, but still... > As the docs say, on R level pairlists are usually converted to vectors as the use of pairlists is deprecated. Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] bnlearn package compilation failure on MacOSX

2007-10-04 Thread Simon Urbanek
onality of C99, it may be a good idea to change it to a more portable C code. > Is it safe to force gcc to use C99 with either -std=c99 o -std=gnu99? > Not in your package as cannot assume gcc in general, but temporarily for R 2.5.1 on OS X, yes. Thanks, Simon

Re: [Rd] R-2.6.0> problem to load library(stats) (PR#9956)

2007-10-10 Thread Simon Urbanek
was a binary featuring the problem you list, but it was fixed immediately. Cheers, Simon On Oct 10, 2007, at 10:35 AM, [EMAIL PROTECTED] wrote: > Hello, > > I just installed R-2.6.0 on my computer (OSX 10.4.10, ppc) and get > the following message when I try to load the library stats: &

Re: [Rd] Mac OS X Leopard and C compiling

2007-11-06 Thread Simon Urbanek
Daniel, please read R-SIG-Mac, it has all the details on Leopard support. There are several different fixes for this, possibly the easiest for you: PKG_LIBS="-mmacosx-version-min=10.4" R CMD SHLIB ... Cheers, Simon On Nov 5, 2007, at 8:18 PM, Daniel McDonald wrote: > I rece

Re: [Rd] Hmisc for Mac OSX.

2007-11-06 Thread Simon Urbanek
"3.4-3" [...] Repository "http://www.stathy.com/cran/bin/macosx/universal/contrib/2.6"; Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-07 Thread Simon Urbanek
installed just like the release version if people don't bother to read just a single web page ... [Insert the usual "please do your homework" part here that may be considered "vitriolic" ... (vitriol is a very useful substance by the way ...)] Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] 64-bit R-build on Mac OS X 10.4 - make check failures

2007-11-08 Thread Simon Urbanek
On Nov 8, 2007, at 2:22 AM, Prof Brian Ripley wrote: > I am not sure why Simon thought you should ask here mainly because of the d-p-q-r-test - I was wondering whether it falls in the category of too strict tests or is a more serious issue. I can't look into it myself right now,

[Rd] small performance enhancement suggestion (PR#10409)

2007-11-08 Thread simon . debernard
Full_Name: Simon de Bernard Version: OS: Submission from: (NULL) (140.77.34.213) In src/main/dotcode.c, function RObjToCPtr, test for naok should be transferred outside of the loops... __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Simon Urbanek
run. > They are shutting down R, and Brian finds that too extreme. > Me too. A package should never intentionally close the R session. If it does, it is a very severe design bug in the package (IMHO). Anything you use assert for can be gracefully handled (as opposed to let's say a segfa

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Simon Urbanek
On Nov 10, 2007, at 5:38 PM, Duncan Murdoch wrote: > On 10/11/2007 4:27 PM, Simon Urbanek wrote: >> On Nov 10, 2007, at 1:05 PM, Duncan Murdoch wrote: >>> On 10/11/2007 1:00 PM, Duncan Temple Lang wrote: >>>> -BEGIN PGP SIGNED MESSAGE- >>>> Has

Re: [Rd] slots of type "double"

2007-11-13 Thread Simon Urbanek
" > is(a,"double") [1] FALSE I think it comes from the fact that there is an S4 definition for the class "double" which is not valid. That is probably a bug and the class definition should be removed. Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] How to overload the assignment operator?

2007-11-13 Thread Simon Urbanek
xy objects to external data? (DB access, mem-mapped files, cross-language objects, etc.) That allows you to define your storage semantics very efficiently in C. You can still choose to define any syntactic sugar you want in either S3 or S4. Cheers, Simon

Re: [Rd] faqs

2007-11-15 Thread Simon Urbanek
tomatically if present, i.e. it shouldn't be necessary to have it in inst/NEWS, just plain NEWS should suffice. Cheers, Simon > > On Nov 14, 2007 10:15 PM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> On 14/11/2007 8:53 PM, Gabor Grothendieck wrote: >>> Another

Re: [Rd] NEWS file (was faqs)

2007-11-15 Thread Simon Urbanek
On Nov 15, 2007, at 10:53 AM, Duncan Murdoch wrote: > On 11/15/2007 9:57 AM, Simon Urbanek wrote: >> On Nov 14, 2007, at 11:55 PM, Gabor Grothendieck wrote: >>> inst/NEWS would have the advantage of consistency with R itself >>> which also has a NEWS file. >>

Re: [Rd] MacOSX 10.4.11 update breaks tests/lapack.R (R 2.6.0)? (PR#10454)

2007-11-23 Thread Simon Urbanek
s, you'll have to re-compile R. If the problem still persists after a re- compile, please send me your config.log. Cheers, Simon >> R > > R version 2.6.0 (2007-10-03) > Copyright (C) 2007 The R Foundation for Statistical Computing > ISBN 3-900051-07-0 > > R is free

Re: [Rd] R install problem on MacOS 10.5.1 (PR#10476)

2007-11-29 Thread Simon Urbanek
n_MacOS_10.5.1.png > That is not very helpful ;) - can you send me the full installer log, please? Also the screen shot doesn't look like automated install (that is just one command line) - what do you mean exactly? Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R install problem on MacOS 10.5.1 (PR#10476)

2007-11-30 Thread Simon Urbanek
On Nov 30, 2007, at 9:34 AM, Saleem Bhatti wrote: > Hello; > > Thanks for your reply. > > On 29 Nov 2007, at 14:44, Simon Urbanek wrote: > >> >> On Nov 28, 2007, at 4:55 PM, [EMAIL PROTECTED] wrote: >> >>> Full_Name: Saleem Bhatti >>> Ve

Re: [Rd] R install problem on MacOS 10.5.1 (PR#10476)

2007-12-03 Thread Simon Urbanek
On Nov 30, 2007, at 11:22 AM, Saleem Bhatti wrote: > Simon; > > On 30 Nov 2007, at 15:38, Simon Urbanek wrote: > >> Window -> Installer Log >> You can then use Save ... to save it in a file. > > OK - file is attached. > Thanks. Your system is broken - y

Re: [Rd] interaction with C++ code (PR#10487)

2007-12-03 Thread Simon Urbanek
int *nchars) { > std::ostringstream oss; > oss << "abcdefghij"; > const char *ltxt=oss.str().c_str(); > for (int j=0;j<*nchars;j++) *txt[j]=static_cast(ltxt[j]); As said above, you fail to terminate the string, you want to add something like:

Re: [Rd] R install problem on MacOS 10.5.1 (PR#10476)

2007-12-03 Thread Simon Urbanek
ller to start attempting to fix broken OS X. If we start doing so, we may as well replace entire the X11 on Leopard ;). Cheers, Simon > > Saleem Bhatti wrote: >> Simon; >> On 30 Nov 2007, at 15:38, Simon Urbanek wrote: >>> Window -> Installer Log >>>

Re: [Rd] R install problem on MacOS 10.5.1 (PR#10476)

2007-12-05 Thread Simon Urbanek
I didn't install MacPorts, so I'm pretty sure that Apple it creating this mess. And yes, moving "lib 1" to lib fixes it. Cheers, Simon On Dec 5, 2007, at 7:18 AM, dankelley wrote: > > Simon, quoted below, is correct about the /usr/local/lib infinite- > referenc

Re: [Rd] R-Cocoa Bridge

2007-12-06 Thread Simon Urbanek
"stand-alone-REngine" branch) and there is an ongoing project to get write a more general bridge as part of the Mac GUI 2.x initiative. There are also other alternatives, but I'm not sure how public or currently maintained they are these days. Cheers, Simon _

Re: [Rd] R-Cocoa Bridge

2007-12-06 Thread Simon Urbanek
R/ObjC bridge is not part of the framework yet. We're working on it, but we need some more cleanup of the old code. The current plan is to have it ready for R 2.7.0 (but you never know ...). Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] os x crash using rpanel and tcltk (PR#10495)

2007-12-06 Thread Simon Urbanek
ch R" in gdb while R is runningm then "c", then let it crash and then "bt". FWIW: I cannot reproduce the problem and I have tried 3 different machines... (you didn't even tell us what machine type this is ...). Cheers, Simon > Interestingly I don't get thi

Re: [Rd] os x crash using rpanel and tcltk (PR#10495)

2007-12-06 Thread simon . urbanek
t;attach R" in gdb =20 while R is runningm then "c", then let it crash and then "bt". FWIW: I cannot reproduce the problem and I have tried 3 different =20 machines... (you didn't even tell us what machine type this is ...). Cheers, Simon > Interestingly I don

Re: [Rd] R installer

2007-12-07 Thread Simon Urbanek
On Dec 4, 2007, at 9:11 PM, Hin-Tak Leung wrote: > Simon Urbanek wrote: > >> Because it *is* the gcc files? (Note the "/local" in the paths.) >> Full R comes with GNU Fortran 4.2.1, because Apple doesn't offer >> any Fortran compiler and most other Fo

Re: [Rd] R installer

2007-12-19 Thread Simon Urbanek
On Dec 19, 2007, at 12:49 PM, Hin-Tak Leung wrote: > Simon Urbanek wrote: > >>> If I were an Apple user (which I am not), there is a chance that I >>> might have my own gcc/gfortran in /usr/local and I surely do not >>> want R to temper with them

Re: [Rd] SHLIB steps on a Makefile

2007-12-20 Thread Simon Urbanek
rc: @PERL5LIB=$(RHOME)/share/perl $(PERL) $(RHOME)/src/gnuwin32/ makeDllRes.pl $(DLLNAME) > $@ Cheers, Simon PS: Given that you can override any rule, it is usually easier to just write your modifications in Makevars[.win] when fiddling with the compilation than to replicate the whole pro

Re: [Rd] 64-bit R build with Studio 12 on Sparc v9

2007-12-21 Thread Simon Urbanek
FLAGS=-G -lCstd' 'SHLIB_LDFLAGS=-shared' 'CPICFLAGS=-Kpic' 'FPICFLAGS=-KPIC' 'CXXPICFLAGS=-Kpic' 'FCPICFLAGS=- KPIC' Cheers, Simon PS: My tests so far show that R compiled wi

Re: [Rd] encoding question again

2007-12-27 Thread Simon Urbanek
like iconv(abt,"utf-8","latin1"): (in UTF-8 locale) > abt="nür" > cat(abt,"\n") nür > charToRaw(abt) [1] 6e c3 bc 72 > charToRaw(iconv(abt,"utf-8","latin1")) [1] 6e fc 72 Cheers, Simon On Dec 27, 2007, at 3:11 PM,

Re: [Rd] encoding question again

2007-12-29 Thread Simon Urbanek
Hallo Matthias, On Dec 27, 2007, at 3:52 PM, Matthias Wendel wrote: > Hi, simon, > i followed your advice by adding/changing the lines > abt = iconv(abt,"utf-8","latin1") > zz = file( paste("Itemtabelle/Itemtabelle", abt, ".html"), &

Re: [Rd] encoding question again

2007-12-29 Thread Simon Urbanek
iconv works as expected (see the example below). Cheers, Simon On Dec 29, 2007, at 11:11 AM, Simon Urbanek wrote: > Hallo Matthias, > > On Dec 27, 2007, at 3:52 PM, Matthias Wendel wrote: > >> Hi, simon, >> i followed your advice by adding/changing the lines >&g

Re: [Rd] encoding question again

2007-12-30 Thread Simon Urbanek
Brian, On Dec 29, 2007, at 12:28 PM, Prof Brian Ripley wrote: > On Sat, 29 Dec 2007, Simon Urbanek wrote: > >> Oops, this was supposed to be a private reply ;) - sorry about the >> noise. The essence in English: >> JGR uses all strings in UTF-8 encoding, but the system

Re: [Rd] some questions about startup Rserve

2007-12-30 Thread Simon Urbanek
d > many > method. Again - just read the documentation - all you need is correctly installed R and R.dll on your PATH. > For example, i tried to input "Rserve()" to the .Rprofile of R, but > when i run the R, hundreds of processes were started, then my computer >

Re: [Rd] Problem with dyn.load'ed code

2007-12-30 Thread Simon Urbanek
use external symbols that clash with other libraries (in particular widespread ones such as BLAS), especially if your function doesn't perform the same operation. It is a good idea to declare all functions that you use internally (i.e. that should not be visible to R) as static. However, all

Re: [Rd] Problem with dyn.load'ed code

2008-01-01 Thread Simon Urbanek
atter, you should probably have a look at libtool and --export-symbols - it allows you to control the visibility on most systems that support it. Note that there are systems that don't support it at all. Cheers, Simon > where ver.map is the file: > > { > global: R_func_*;

Re: [Rd] Problem with R.2.6.1 and JRI - All worked file wih R2.5.1

2008-01-31 Thread Simon Urbanek
p JRI.jar;. Driver D = 8.0 I suspect that you have some setting mismatch left over from your previous R version. Note that you may want to add System.exit(0) or terminate R, otherwise your application will be waiting for R to exit. Cheers, Simon On Jan 31, 2008, at 11:37 AM, Vladmir Makarov wrote:

Re: [Rd] Got *** caught segfault *** with Quantreg on Mac (PR#10699)

2008-02-05 Thread Simon Urbanek
rk. > The same dataset ran okay on STATA 10, tho. > > Would you please take a look at it? > sure, gladly, if you send us the data (or any other way to reproduce it) ... BTW: this is a crash in a contributed package, so you should ask the maintainer of the package and not file a

Re: [Rd] Vector binding on harddisk

2008-02-14 Thread Simon Urbanek
e limit by simply using multiple files (or using a more reasonable OS). Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Small encoding question

2008-02-14 Thread Simon Urbanek
On Feb 14, 2008, at 2:45 PM, Kurt Hornik wrote: >> Vincent Goulet writes: > >> Dear developeRs, >> Compilation of the latest version (0.9-5) of my actuar package fails >> with r-release MacOS_X ix86 on CRAN; see > >> >> http://www.R-project.org/nosvn/R.check/r-release-macosx-ix86/actuar

Re: [Rd] number formsat

2008-02-14 Thread Simon Urbanek
see ?DateTimeClasses and ? as.POSIXct). Please post help requests to R-help in the future. Thanks, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Small encoding question

2008-02-14 Thread Simon Urbanek
names) .. Hence all locale names are merely loose conventions... so I'm not sure how can R even make such a decision (other than parse the name?). Anyway - a quick fix would be to force en_US.UTF-8 locale in that check for Mac OS X, but I think that doesn't fix the underlying pr

Re: [Rd] Mac crash with installing packages (PR#10764)

2008-02-15 Thread Simon Urbanek
lity (Mac OS X 10.4.11), R crashes after the > installation. When I restart, the installed package seems to be > installed fine, just the annoying crash with each install. > I cannot reproduce the problem. When you see a crash, please send us

Re: [Rd] 'Esc' crashes R in MacOX 10.5.2 (PR#10839)

2008-02-24 Thread Simon Urbanek
g., aov, lm, etc.) command line >> causes the >> program to become non-responsive resulting in "Force Quit" to use >> the program >> again. > > ... and this is the xxx-th bug report about it! > Please check the

Re: [Rd] Problems in builtin editor -- memory leak? graphics plugin? (PR#10887)

2008-03-05 Thread Simon Urbanek
Timothy, those are problems in 3rd partly haxxies you are using (see R for Mac FAQ). You should remove them and/or get a fixed version. Please read the posting guide and do not fill R bug reports on broken 3rd party software. Thanks, Simon On Mar 4, 2008, at 6:41 PM, [EMAIL PROTECTED

Re: [Rd] Build options for R

2008-03-07 Thread Simon Urbanek
On Mar 7, 2008, at 11:20 AM, Scott Zentz wrote: > Hello Everyone, > > I had posted the message below to the r-help listserv... > >> Recently I was given a Java servlet based web calculator that will >> call R (libR.so to be exact) but I am having trouble trying to >> disable R >> from requiring

Re: [Rd] bug with R CMP SHLIB (PR#10945)

2008-03-13 Thread Simon Urbanek
her. Just in case that doesn't help, re-instal the full version of R. Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] 'merge' function: behavior w.r.t. NAs in the key column

2008-03-14 Thread Simon Anders
did not include any rows into the output with an "NA" in the key column. Maybe, one could add a flag argument to 'merge' to switch between this behaviour and the current one? A note in the help page might be nice, too. Best regards Simon +--- | Dr. Simon Anders, Dipl. P

Re: [Rd] 'merge' function: behavior w.r.t. NAs in the key column

2008-03-19 Thread Simon Anders
r as inconsistent, and hence ask R's 'merge' function to be fixed? Cheers Simon > On Fri, 14 Mar 2008, Simon Anders wrote: >> I recently ran into a problem with 'merge' that stems from the way how >> missing values in the key column (i.e., the column specifie

Re: [Rd] S4 slot with NA default

2008-03-26 Thread Simon Urbanek
On Mar 26, 2008, at 12:04 PM, Robin Hankin wrote: > Hi > > How do I specify an S4 class with a slot that is potentially numeric, > but NA > by default? I want the slot to be NA until I calculate its value > (an expensive operation, not needed for all applications). When > its value is > kno

Re: [Rd] R 64 on Intel Mac check problem

2008-03-26 Thread Simon Urbanek
ast time I looked a few days back Simon's 64 bit Intel builds > were failing. > Yes, the gcc-4.2 is known to be broken for x86_64 as you describe above (or in fact it miscompiles a few other things, too). Interestingly llvm-gcc-4.2 suffers from the same problem. Tha

[Rd] "by" speed improvement (PR#11064)

2008-04-01 Thread simon . debernard
Full_Name: Simon de Bernard Version: 2.7.0 (44733) OS: MacOS Submission from: (NULL) (140.77.34.213) "by" usually takes forever even on a "not so large" data structure. If one can do with a matrix instead of a data.frame, defining by.matrix as by.data.frame modified to co

[Rd] manual 'Writing R Extensions': bug in example

2008-04-06 Thread Simon Anders
l.i); 30break; 31 case STRSXP: 32Rprintf("[%d] '%s' %s\n", i+1, name, 33 CHAR(STRING_ELT(CAR(args), 0))); 34break; 35 default: 36Rprintf("[%d] '%s' R type\n", i+1, name); 37 } 38} 39return(R_N

Re: [Rd] && and ||

2008-04-14 Thread Simon Blomberg
Use the vector versions: & and | Cheers, Simon. On Sun, 2008-04-13 at 23:48 -0700, Yuan Jian wrote: > Hello there, > > I got a small problem about logical calculation: > we can get a sequene from a+b as below: > > > a<-c(1,2) > > b<-c(3,4) >

Re: [Rd] HOW TO AVOID LOOPS

2008-04-14 Thread Simon Urbanek
On Apr 14, 2008, at 4:22 PM, Stephen Milborrow wrote: >> Le sam. 12 avr. à 12:47, carlos martinez a écrit : >> Looking for a simple, effective a minimum execution time solution. >> >> For a vector as: >> >> c(0,0,1,0,1,1,1,0,0,1,1,0,1,0,1,1,1,1,1,1) >> >> To transform it to the following vector w

Re: [Rd] R-extension in unix system -- help to locate header files

2008-04-18 Thread Simon Urbanek
ou should not worry about it at all. Please read "Writing R Extensions" manual, but before you do that you should familiarize yourself with the basics of C and compilation in the first place. The process it the same on both Windows and unix, so you should

Re: [Rd] naive question regarding running parallel C code from R

2008-04-18 Thread Simon Urbanek
your own. > I'm running my current, sequential code, on a cluster that supports > both OpenMP and MPI, should I figure out how to use it. > You can save yourself all the hassle and just use snow + Rmpi - that allows you to parallelize even R code, so you don' t need any of the above. Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] (PR#11240)

2008-04-24 Thread Simon Urbanek
Please follow the posting guide before reporting bugs! You have failed to even follow the instruction from the page you got the image from - this is long fixed (the update was posted 5 days after the affected R 2.6.2 release). Cheers, Simon On Apr 22, 2008, at 10:15 AM, [EMAIL PROTECTED

Re: [Rd] RFC: What should ?foo do?

2008-04-25 Thread Simon Urbanek
way. That is what the new users will be using (and looking for) in the first place. If they have to count the question marks instead, they won't know about it (although I like the idea for advanced users). Cheers, Simon > __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] OSX R GUI visual interface tweak (PR#11318)

2008-04-28 Thread Simon Urbanek
workflow and I will have to think about where to save the file, what to call it etc. Anyway, I would vote to get rid of the dot, perhaps just for those users who have the "No" option selected for "save workspace on exit from R". See above, that's not our call. C

Re: [Rd] build packages with vignettes in Windows

2008-04-30 Thread Simon Urbanek
hy that should deter anyone. Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] build packages with vignettes in Windows

2008-04-30 Thread Simon Urbanek
On Apr 30, 2008, at 4:29 PM, Duncan Murdoch wrote: On 4/30/2008 4:01 PM, Simon Urbanek wrote: On Apr 30, 2008, at 2:31 PM, Duncan Murdoch wrote: On 4/30/2008 11:56 AM, Michael wrote: On 29 Apr 2008, Duncan Murdoch wrote: Right, you don't need to set the system path for everything,

Re: [Rd] ~/.Rprofile executed twice by R.app under Mac OS X (PR#11380)

2008-05-05 Thread Simon Urbanek
Thanks, fixed in r5128. (For completeness this happened if the open and startup directories were the same thus each of them triggered a .Rprofile load for the same directory). Cheers, Simon On May 4, 2008, at 2:50 PM, [EMAIL PROTECTED] wrote: All is in the title. My config is: Version

Re: [Rd] [R-SIG-Mac] Starting tcltk without Tk

2008-05-05 Thread Simon Urbanek
s-platform) way of specifying that it is ok to not load Tk - essentially make failure to load Tk non-fatal. Right now there is no (semantically correct) way to inhibit the loading of Tk (DISPLAY is a sort of abuse and not a solution). Cheers, Simon (CC to R-devel where this started...) On M

Re: [Rd] [R-SIG-Mac] Starting tcltk without Tk

2008-05-06 Thread Simon Urbanek
On May 6, 2008, at 3:06 AM, Philippe Grosjean wrote: Simon Urbanek wrote: It turns out that the behavior of starting just Tcl was actually a bug. Not completely. At least, loading of tcltk was correct when the "bug" was there, but I totally agree that the mechanism used (ac

Re: [Rd] Configure errors say to report here... (PR#11470)

2008-05-16 Thread Simon Urbanek
ltivec - mabi=altivec -mtune=970 -faltivec -O3 -c cpoly.c -o cpoly.o You're including /sw (Fink) - this is asking for trouble, because Fink contains incompatible versions of system libraries and headers (likely this causes the cpp problems above). Again, this is not the primary reason for the fa

Re: [Rd] var/sd and NAs in R2.7.0

2008-05-16 Thread Simon Urbanek
he rank methods but NA for the Pearson method: it now gives NA in all cases. cor(use="pair") for the rank methods gave a matrix result with dimensions > 0 even if one of the inputs had 0 columns. [sd(..,na.rm=TRUE) -> cov(..,use="complete.obs")] Cheer

Re: [Rd] quartz identify bug (PR#11491)

2008-05-20 Thread Simon Urbanek
e documentation correspondingly, thanks for the hint. On qqplots graphic, identify() does not find any points. Again - without an exact example it's impossible to tell whether it's a user error or something real. Thanks, Simon It is a serious problem, I can't identify points wit

Re: [Rd] interrupting native code

2008-05-20 Thread Simon Urbanek
similar to R_ProcessEvents that only dealt with keeping the GUI responsive. I don't understand what you mean by the last sentence - that is exactly what R_ProcessEvents is for - or am I missing something? Cheers, Simon Cheers, Kjell On 16 mai 08, at 13:54, Luke Tierney wrote: I&

Re: [Rd] image (PR#11493)

2008-05-21 Thread Simon Urbanek
of [short of disabling anti-aliasing] is to distort the original plot such that rectangles are aligned with the pixels of the output medium). Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Macintosh Transperancy (PR#11511)

2008-05-24 Thread Simon Urbanek
of semi-transparency. Therefore I fail to see any bug or unexpected behavior here. Cheers, Simon On May 24, 2008, at 10:55 AM, [EMAIL PROTECTED] wrote: Full_Name: Brad Vance Version: 2.7.0 OS: 10.5.2 Submission from: (NULL) (71.123.195.202) Problem : When drawing transperant points

Re: [Rd] Macintosh Transperancy (PR#11511)

2008-05-24 Thread Simon Urbanek
pressed with R, and am thinking of getting more involved in the r-project community, so figured I'd start with something I noticed was different across platforms... Again, I think you are missing something - it behaves consistently on Linux and Mac in the latest release and it's not a

Re: [Rd] image (PR#11493)

2008-05-27 Thread Simon Urbanek
Joseph, please try a more recent R, I have addressed the issue in R-devel/ R-2.7-patched after your report. Cheers, Simon On May 27, 2008, at 6:07 PM, Joseph Scandura wrote: Sorry for lack of clarity in my original message but I'm new to this list and I couldn't find away

Re: [Rd] problem building R packages on RHEL 4 Linux with Intel compilers

2008-05-29 Thread Simon Urbanek
nothing to do with the executable bit and/or permissions - this is about the compiler rejecting your flags. Have a look in config.log that's where you'll find out what the compiler didn't like (and the error clearly tells you that ;)). Cheers, Simon On Thu, May 29, 2008 at 4:

Re: [Rd] problem building R packages on RHEL 4 Linux with Intel compilers

2008-05-29 Thread Simon Urbanek
On May 29, 2008, at 5:45 PM, Mark Kimpel wrote: Simon, I scanned the config.log, which is too voluminous to insert below, but it seems that gcc is still being looked for as the compiler. See the lines from config.log below. Mark Thread model: posix gcc version 3.4.6 20060404 (Red Hat

Re: [Rd] problem building R packages on RHEL 4 Linux with Intel compilers

2008-05-29 Thread Simon Urbanek
On May 29, 2008, at 6:11 PM, Mark Kimpel wrote: Esmail and Simon, I would direct you to the very first sentence of my original post, "I would like to build R and packages with the Intel 10.1 compilers in RHEL4." I DO NOT want to build with gcc, that is the very point of this th

Re: [Rd] Reading an "unsigned long long" using R readBin()

2008-05-30 Thread Simon Urbanek
to get an approximate value. Otherwise C is your friend (and easy to call from R) for 64-bit calculations, bitwise operations and other tricks that are hard to do in R. Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailma

Re: [Rd] benchmarking R installations

2008-06-03 Thread Simon Urbanek
d test code at first glance but myyebe it is available on request??? http://www.sciviews.org/benchmark/ It's quite outdated and doesn't work with the current R versions, but I have an updated version that works. I have put some benchmarks I'm aware of at http://r.research

Re: [Rd] significant digits (PR#9682)

2008-06-03 Thread Simon Urbanek
may vary slightly but that's irrelevant here): x = 0.123454174439 l10 = -0.908508905732048899217546, e10 = 4 pow10 = 1.0000 x*pow10 = 1234.5000 Cheers, Simon but the actual arithmetic is being done by run-time libraries that are outside our control to

Re: [Rd] significant digits (PR#9682)

2008-06-03 Thread simon . urbanek
, yes, but Windows doesn't. In fact 1.0 is exactly representable and so is 1234.5 which is the correct result that all except Windows get. I don't have a Windows box handy, so I can't tell why - but if you go through fprec this is what you get on the platforms I tested (log

Re: [Rd] significant digits (PR#9682)

2008-06-03 Thread Simon Urbanek
On Jun 3, 2008, at 5:12 PM, Duncan Murdoch wrote: On 6/3/2008 4:36 PM, Simon Urbanek wrote: On Jun 3, 2008, at 2:48 PM, Duncan Murdoch wrote: On 6/3/2008 11:43 AM, Patrick Carr wrote: On 6/3/08, Duncan Murdoch <[EMAIL PROTECTED]> wrote: because signif(0.90, digits=2) == 0.9. Tho

Re: [Rd] significant digits (PR#9682)

2008-06-03 Thread simon . urbanek
On Jun 3, 2008, at 5:12 PM, Duncan Murdoch wrote: > On 6/3/2008 4:36 PM, Simon Urbanek wrote: >> On Jun 3, 2008, at 2:48 PM, Duncan Murdoch wrote: >>> On 6/3/2008 11:43 AM, Patrick Carr wrote: >>>> On 6/3/08, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >&

Re: [Rd] savePlot() no longer automatically adds an extension to the filename.

2008-06-03 Thread Simon Urbanek
;s not a bugfix and it changes the meaning of a function parameter. (And I usually don't mind disguising small features as bugfixes ;P) Whether the change in 2.7.0 could be done differently (e.g. using another parameter for a full file name) is a different story, but I suspect that it

Re: [Rd] prevent `R CMD INSTALL' from reading `.Rprofile'

2008-06-05 Thread Simon Urbanek
R startup (as a workaround to automatic opening of a `cairo' device when issuing a plotting command). That is not a good work-around (you are always forcing a device to open). You should consider using grDevices::X11.options(type="Xlib") instead. Cheers, Simon I now

[Rd] (PR#11064) how to reproduce...

2008-06-13 Thread simon . debernard
You can try this: data <- cbind("a"=sample(1:10), "b"=sample(1:10)) fact <- sample(rep(1:1, each=10)) system.time(std <- by(data, fact, colSums)) by.matrix <- function (data, INDICES, FUN, ...) { if (!is.list(INDICES)) { IND <- vector("list", 1) IND[[1]] <- INDIC

Re: [Rd] R truncated regularized iteratively re-weighted least squares (TR-IRLS)

2008-06-22 Thread Simon Blomberg
R can already do IRLS, conjugate gradient optimisation and ridge regression, so pulling all of them together may not be too hard. Care to contribute any code? Cheers, Simon. On Sun, 2008-06-22 at 13:58 -0400, DS wrote: > Hi, > > is there any R version of > > logistic regression

Re: [Rd] Autoconf / Windows package building problem for device package

2008-07-01 Thread Simon Urbanek
dimly remember that you can find manually created config.h for Windows in fixed-h directory under gnuwin32. It's a hack (and I'm not sure if it helps), though, so I'd strongly suggest Tadashi to fix his package to use official API as was suggested a few times already. Chee

Re: [Rd] Autoconf / Windows package building problem for device package

2008-07-02 Thread Simon Urbanek
On Jul 2, 2008, at 6:41 AM, Tadashi Kadowaki wrote: Simon, Now, pdf2 does not use "manually created config.h", I was referring to R - there is no configure step in the Windows build so config.h is created "manually" (or semi-automatically if you wish) and then

Re: [Rd] Embedded R, last errormessage, and stack smashing

2008-07-16 Thread Simon Urbanek
ferent threads (with appropriate care and synchronization), so it has no choice but to disable the check because the stack will change across threads. Cheers, Simon 2008/6/30 Laurent Gautier <[EMAIL PROTECTED]>: Dear list, I am having an embedded R, dying with *** stack smashing de

Re: [Rd] Clash between 'Cairo' and 'EBImage' packages on Windows

2008-07-21 Thread Simon Urbanek
er not maintain my own build of libcairo for Windows since I don't use it. I may consider renaming the DLL, but given that I'm not building it from sources I'm not sure whether there is a trivial way to do that. Best, Simon I don't really understand why this was posted

Re: [Rd] Clash between 'Cairo' and 'EBImage' packages on Windows

2008-07-23 Thread Simon Urbanek
igger a rebuild of his Cairo binary to pick up Simon's updated libcairo-2.dll -- the existing binary is not compatible with GTK 2.12.9. I have released a new version of Cario on Monday just to trigger this, so once CRAN is updated it should happen automatically. Thanks, Simon

Re: [Rd] Clash between 'Cairo' and 'EBImage' packages on Windows

2008-07-23 Thread Simon Urbanek
On Jul 23, 2008, at 11:47 , Uwe Ligges wrote: Simon Urbanek wrote: On Jul 23, 2008, at 6:21 , Prof Brian Ripley wrote: I updated one of by Windows' boxes to GTK 2.12.9, and replaced the libcairo-2.dll in the Cairo binary distribution by that from GTK 2.12.9. At that point Cair

Re: [Rd] [R] shQuote and cat

2008-07-23 Thread Simon Urbanek
right. Well, you input is not right ('\"' is parsed in R into '"') - you have to escape the backslash that you want to keep and all is well: > x <- 'echo "\\"a\\""' > cat(x, '\n') echo "\"a\"" &g

Re: [Rd] R, Macports and C++ streams

2008-07-30 Thread Simon Urbanek
you have to follow the unix R instructions and compile everything from sources. Cheers, Simon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R, Macports and C++ streams

2008-07-30 Thread Simon Urbanek
ong time ago when we had to use FSF-built gcc because of bugs in Apple's gcc). Its likely cause is a combination of incompatible ABIs and libstdc++ mismatch. Note that Apple's gcc build script goes into great pains to not mess up system stdc++ because it's asking for

Re: [Rd] R, Macports and C++ streams

2008-07-30 Thread Simon Urbanek
On Jul 30, 2008, at 12:32 , Ernest Turro wrote: On 30 Jul 2008, at 15:46, Simon Urbanek wrote: On Jul 30, 2008, at 9:45 , Ernest Turro wrote: Dear all, R on Macports relies on GCC 4.3 to build packages. I find that packages with shared objects that use C++ streams crash R if they&#x

Re: [Rd] R, Macports and C++ streams

2008-07-30 Thread Simon Urbanek
On Jul 30, 2008, at 13:16 , Ernest Turro wrote: On 30 Jul 2008, at 18:04, Simon Urbanek wrote: On Jul 30, 2008, at 12:32 , Ernest Turro wrote: On 30 Jul 2008, at 15:46, Simon Urbanek wrote: On Jul 30, 2008, at 9:45 , Ernest Turro wrote: Dear all, R on Macports relies on GCC 4.3 to

Re: [Rd] R, Macports and C++ streams

2008-07-30 Thread Simon Urbanek
On Jul 30, 2008, at 15:13 , Ernest Turro wrote: On 30 Jul 2008, at 19:23, Simon Urbanek wrote: On Jul 30, 2008, at 13:16 , Ernest Turro wrote: On 30 Jul 2008, at 18:04, Simon Urbanek wrote: On Jul 30, 2008, at 12:32 , Ernest Turro wrote: On 30 Jul 2008, at 15:46, Simon Urbanek

Re: [Rd] 'javareconf -e' as normal user (PR#12544)

2008-08-17 Thread Simon Urbanek
EMAIL PROTECTED]:~$ R CMD javareconf -e shift: 59: can't shift that many Can you tell us which shell you are using? It works fine for me with sh/bash. FWIW in general the syntax is "-e " (see -h) e.g. R CMD javareconf -e /bin/bash You can also use '

<    8   9   10   11   12   13   14   15   >