Re: [Rd] symbolic linking to library files

2008-07-17 Thread Kasper Daniel Hansen
I agree with the other poster's advice to just give guru permission to write to the R library folder. But the thing you want is the following. Create a directory somewhere that guru has write permission, for example ~guru/library (although I guess I would recommend somewhere else than guru's

Re: [Rd] Checking package help file examples

2008-07-17 Thread Arne Henningsen
On Friday 18 July 2008 02:19:14, Bill Dunlap wrote: > I am trying to figure out the sanctioned way for > 'R CMD check pkg' to make sure that the examples > in help files give the expected results. > > Writing R Extensions says that check runs the help > file examples (which INSTALL extracts from pk

Re: [Rd] rowSums()/colSums() don't preserve the 'integer' storage mode

2008-07-17 Thread Bill.Venables
OK, let's do it, if it could save memory. I can't see it breaking any sensibly written existing code. Bill. Bill Venables CSIRO Laboratories PO Box 120, Cleveland, 4163 AUSTRALIA Office Phone (email preferred): +61 7 3826 7251 Fax (if absolutely necessary): +61 7 3826 7304 Mobile:

Re: [Rd] Rcpp from C++

2008-07-17 Thread Peter Peyk
Hi Sri, I haven't really elaborated on it having other stuff to prepare first, but as far as I got you first assign data to a vector: #include #include #undef R_INTERFACE_PTRS #include #include "Rcpp.hpp" #include #include #include //assigning a vector SEXP ab; PROTECT(ab =

Re: [Rd] symbolic linking to library files

2008-07-17 Thread Latchezar (Lucho) Dimitrov
It seems not the whole path /home/guru/Blaster is accessible to the intended users. Since guru has read access to the R install dirs why don't you try putting real Blaster dir there and giving guru the ownership or at least necessary permissions so that (s)he can really actually install Blaster th

Re: [Rd] rowSums()/colSums() don't preserve the 'integer' storage mode

2008-07-17 Thread Henrik Bengtsson
Hi, there is one more thing to consider: the risk of getting integer overflow. Should that be ignored? How is this handled by sum()? I think it is good if {col|row}Sums() would return the same data type as the input object. Cheers Henrik On Thu, Jul 17, 2008 at 6:32 PM, Herve Pages <[EMAIL P

Re: [Rd] rowSums()/colSums() don't preserve the 'integer' storage mode

2008-07-17 Thread Herve Pages
Hi Bill, [EMAIL PROTECTED] wrote: I don't see the cost of doing so paying off. The cost seems rather small. For the "if" block that is tagged /* columns */ in the do_colsum() function (src/main/array.c), that would give something like: if (OP == 0 || OP == 1) { /* columns */ int a

[Rd] symbolic linking to library files

2008-07-17 Thread egc
I handle SysAdmin for a multi-user Linux box, with R 2.7.1 compiled and installed to make usee of ACML (Opteron chips). The library files (packages) are installed to /usr/local/lib64/R/library Everything works as it should, except for the following. Say I have a user (an R developer) who has devel

[Rd] Checking package help file examples

2008-07-17 Thread Bill Dunlap
I am trying to figure out the sanctioned way for 'R CMD check pkg' to make sure that the examples in help files give the expected results. Writing R Extensions says that check runs the help file examples (which INSTALL extracts from pkg/man/*.Rd and puts into files in pkg/R-ex). It looks like che

[Rd] spss endianness bugfix

2008-07-17 Thread Kurt Van Dijck
Hi, We just upgraded the MacOSX R with foreign package 0.8.27 with CRAN to have SPSS long variable names. Script tests/spss.R runs fine. Thanks for importing the spss long labels patch & having this available for MacOSX! The first real-life datafile does not get loaded with "Unexpected end of file

Re: [Rd] Snow or alternative MPI packages on Windows

2008-07-17 Thread giuseppe1 . milicia
:) Actually it turns out that DeinoMPI & Rmpi & the new version of snow do the trick. Jay Emerson suggested NetWorkSpaces which looks quite neat. For the time being I'll probably stick to snow/Rmpi though. So it seems that progress has been made! // Giuseppe

Re: [Rd] Snow or alternative MPI packages on Windows

2008-07-17 Thread Jeffrey Horner
[EMAIL PROTECTED] wrote on 07/16/2008 08:52 AM: Guys, I'm running R on both Windows & Linux. I'm looking at a number of packages for parallel execution. It seems that the most used packages are "snow" and "Rmpi". snow seems more user friendly, but it doesn't run on windows. I see from searching

Re: [Rd] AIX 5.3 --enable-R-shlib --with-x ---with-iconv make error with R-2.7.0 and R-2.7.1

2008-07-17 Thread Fán Lóng
Thank you, Ei-ji. I haven't tried the aix_R-2.7.1_Rshlib_include_configure.patch for two reason: #1 I have to compile R2.7.0 although I can reproduce the trouble on R-2.7.1. #2 Actually, I don't know how to use this patch to R-2.7.1. Does this need AIX admin permission? And thanks for telling me

Re: [Rd] rowSums()/colSums() don't preserve the 'integer' storage mode

2008-07-17 Thread Henrik Bengtsson
I had a look at the source code and the coercion to double is only done one the sum of each row/column, so the "overhead" (e.g. memory) is only on the summed result. The integer matrix is *not*coerced to double before summing, which could be case if done before calling the native code. The latter

Re: [Rd] AIX 5.3 --enable-R-shlib --with-x ---with-iconv make error with R-2.7.0 and R-2.7.1

2008-07-17 Thread Ei-ji Nakama
Hi, sorry buggy English. Did you cook this patch? http://prs.ism.ac.jp/~nakama/AIX/aix_R-2.7.1_Rshlib_include_configure.patch However, cooking of this patch is bad on AIX. Therefore I put the thing which was finished with cooking. http://prs.ism.ac.jp/~nakama/AIX/R-2.7.1.aix080701.tar.gz I do a

Re: [Rd] Snow or alternative MPI packages on Windows

2008-07-17 Thread Jay Emerson
Giuseppe, I've been able to use NetWorkSpaces on all platforms, and have used snow under Linux. It's possible to use snow under windows, but you'll need to build the binary yourself I think. As an aside, I think this makes it impossible to write a CRAN-friendly package that Requires: or Suggests

Re: [Rd] Checking package vignettes: WARNING

2008-07-17 Thread Arne Henningsen
On Wednesday 16 July 2008 18:28:07, Friedrich Leisch wrote: > > On Wednesday 16 July 2008 14:16:05, Bernhard Pfaff wrote: > >> I do not know if this matters, but have you used 'results = verbatim' > >> in your R code chunk? See page 13 in: > >> http://www.statistik.lmu.de/~leisch/Sweave/Swe

[Rd] AIX 5.3 --enable-R-shlib --with-x ---with-iconv make error with R-2.7.0 and R-2.7.1

2008-07-17 Thread Fán Lóng
Hi guys, I am trying to compile a 64bit version of R 2.7.0 on AIX 5.3. And I am running into some troubles. I also try the latest version 2.7.1 and get the very similar errors. The machine info: --- $uname -srvp AIX 3 5 powerpc -- My configuration is th

Re: [Rd] Problems with snowfall

2008-07-17 Thread Arthur Allignol
Hello, Problem is fixed in version 1.52, which is on CRAN for some days now. That missing object was saved in an rda file which somehow got lost on the first release version. Sorry for this. Best, Arthur Allignol [EMAIL PROTECTED] wrote: Guys, Is anyone using snowfall? It seems that the last