Re: [Rd] R package BibTex entries: looking for a more general solution

2010-11-03 Thread Michael Friendly
On 11/3/2010 10:42 AM, John Fox wrote: Hi Michael, FWIW, I've added a CITATION file to the car package on R-Forge. When I composed a CITATION file for the heplots package, I had to root around in R/library to find something to use as a template. The main reason for doing this was to

Re: [Rd] [R-SIG-Mac] BLAS benchmarks on R 2.12.0

2010-11-03 Thread Michael Spiegel
My apologies. I finally noticed that the source files in src/extra/blas had changed. I had been looking at the diff file for a few days, until I remembered that the "c" at the beginning of a line signifies the line as a comment. OK, so the game plan for our specific R package will be to take the

[Rd] Request: kronecker to get a sep= argument

2010-11-25 Thread Michael Friendly
r(dnx[[i]], dny[[i]], FUN = "paste", sep = sep) } Otherwise, I have to reproduce the logic inside kronecker() in my application function. -Michael -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. York University Voice: 416 736-5115 x66249 Fax: 4

Re: [Rd] Terminology clarification (Re: GPL and R Community Policies (Rcpp)

2010-12-04 Thread Michael Sumner
hat you will continue to use my name and >> update the associated status as you see fit, whether or not I >> approve or consent to those changes? >> >> Please answer yes or no. >> >> Thanks, >> Dominick >> >> >> > >        [[alternative HTML version deleted]] >

Re: [Rd] Terminology clarification (Re: GPL and R Community Policies (Rcpp)

2010-12-07 Thread Michael Sumner
ge (how many on this list really knew the details before, or cared?) but have now immortalized your contribution in the loudest way here on a list where it's really not relevant. Cheers, Mike. On Sun, Dec 5, 2010 at 2:17 AM, Dominick Samperi wrote: > > > On Sat, Dec 4, 2010

[Rd] warning creating an as.array method in a package

2010-12-09 Thread Michael Friendly
dsratio* [9] vcov.loddsratio* Non-visible functions are asterisked > Is there some work-around so I can have an S3 as.array() method in my package and avoid this warning? -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. York University Voice: 416 736-

Re: [Rd] warning creating an as.array method in a package

2010-12-10 Thread Michael Friendly
States.1252 [3] LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_2.11.1 > On 12/9/2010 10:05 AM, Mich

[Rd] aperm() should retain class of input object

2010-12-27 Thread Michael Friendly
asterisked > > methods(class="array") [1] anyDuplicated.array as.data.frame.array as.raster.array* barchart.array* contourplot.array* dotplot.array* [7] duplicated.arraylevelplot.array*unique.array -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept

Re: [Rd] aperm() should retain class of input object

2010-12-29 Thread Michael Friendly
table [11] summary.table tail.table* Non-visible functions are asterisked methods(class="array") [1] anyDuplicated.array as.data.frame.array as.raster.array* barchart.array* contourplot.array* dotplot.array* [7] duplicated.arraylevelplot.array*unique.array -- Michael

[Rd] minor outdated link error in MkRules.dist

2010-12-30 Thread Michael Sumner
Hello, The file [R]/src/gnuwin32/MkRules.dist contains the following link: http://www.stats.ox.ac.uk/pub/Rtools/goodies/local.zip It seems this has been updated to be http://www.stats.ox.ac.uk/pub/Rtools/goodies/Win32/local.zip This in R-patched_2010-12-27_r53886. Cheers, Mike. -- Michael

[Rd] problem building R 2.12.1 64-bit on Windows 7

2010-12-30 Thread Michael Sumner
pret. All remaining arguments are names of input files; if no input files are specified, then the standard input is read. GNU sed home page: <http://www.gnu.org/software/sed/>. General help using GNU software: <http://www.gnu.org/gethelp/>. make[4]: *** [Rzlib.dll] Error 4 make[3]: **

Re: [Rd] problem building R 2.12.1 64-bit on Windows 7

2010-12-30 Thread Michael Sumner
. I don't have an override for SYMPAT or SYMPAT64. Cheers, Mike. On Fri, Dec 31, 2010 at 10:34 AM, peter dalgaard wrote: > > On Dec 30, 2010, at 23:19 , Duncan Murdoch wrote: > >> On 10-12-30 4:13 PM, Michael Sumner wrote: >>> Hello, >>> ... >>>

Re: [Rd] problem building R 2.12.1 64-bit on Windows 7

2010-12-30 Thread Michael Sumner
ke cd R-patched/src/gnuwin32 make all recommended On Fri, Dec 31, 2010 at 10:53 AM, Michael Sumner wrote: > Hello, thank you both - in an earlier test I turned off Kaspersky > completely to check that but saw no difference, but I'm only going on > my memory for that. > > I&

Re: [Rd] using rasterImage within image

2011-02-08 Thread Michael Sumner
le can contact me if it doesn't > go through and they want it.) > >  Ben Bolker > > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > > -- Michael Sumn

[Rd] subassignment does not always duplicate object from active binding

2011-02-09 Thread Michael Lawrence
} UNPROTECT(1); return expr; } Thanks, Michael [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] using rasterImage within image

2011-02-09 Thread Michael Sumner
ot;raster") ... > >  Thanks Simon! (Any reports on the SDI Windows raster rendering issue, > or do we need a warning/workaround there?) > >  I like "backend", or possibly "method" > >  One minor consideration: if "raster" eventually becomes the de

Re: [Rd] using rasterImage within image

2011-02-09 Thread Michael Sumner
he SDI Windows raster rendering issue, >> or do we need a warning/workaround there?) >> >>  I like "backend", or possibly "method" >> >>  One minor consideration: if "raster" eventually becomes the default >>

Re: [Rd] using rasterImage within image

2011-02-11 Thread Michael Sumner
Murrell wrote: > Hi > > Just committed another fix that solves this problem for me at least.  If you > want to test for yourself, the magic revision number that you are looking > for is r54330. > > Thanks again for your help. > > Paul > > On 10/02/2011 7:54 p.m.,

[Rd] hook for when R quits

2011-03-11 Thread Michael Lawrence
with .onUnload. Thanks, Michael [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] hook for when R quits

2011-03-11 Thread Michael Lawrence
Thanks for the suggestion, but I don't think that R finalizes all of its objects when it quits. At least a simple test suggests that on Linux. Michael On Fri, Mar 11, 2011 at 10:19 AM, Jeffrey Ryan wrote: > Take a look at reg.finalizer. You'd have to create an object > inter

[Rd] system.file() to read a text file from a vignette

2011-03-23 Thread Michael Friendly
e(system.file("inst","doc","extdata","tv.dat",package="vcdExtra")) head(tv.data,5) @ But I get the error: Error: processing vignette 'vcd-tutorial.Rnw' failed with diagnostics: chunk 23 (label=tv1) Error in read.table(system.file("inst

Re: [Rd] system.file() to read a text file from a vignette

2011-03-23 Thread Michael Friendly
of the source package, or using calls to system.file(), *noting that the "inst" directory is moved up a level when it is installed and should not be mentioned in the path used in system.file().* -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. York University

[Rd] Consistency of messages from R CMD {check,build,install}

2011-04-08 Thread Michael Friendly
or empty or unneeded directories * building 'heplots_0.9-8.tar.gz' Some checking/building processes take a while, so it would also be nice if more of the info lines ended with ... OK tia, -Michael -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. York Unive

Re: [Rd] Recursive objects

2011-05-04 Thread Michael Sumner
rsive objects. > > Barry > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Michael Sumner Institute for Marine and Antarctic Studies, University of Tasmania Hobart, Australia e-mail: mdsum...@gmail.co

[Rd] possibly invalid assertion in setRefClass?

2011-06-01 Thread Michael Lawrence
> setRefClass("Foo", fields = list()) Error in setRefClass("Foo", fields = list()) : A list argument for fields must have nonempty names for all the fields In my opinion, the above should not fail. There are no fields. Thanks, Michael [[alternati

Re: [Rd] Require of gWidgetsRGtk2 fails: RGtk2.dll can't be found, but it's there

2011-06-11 Thread Michael Lawrence
I'm working on a mechanism that will download GTK+ (the official zip files) into a predetermined location and put that location in front of the other paths at load time. Hopefully this will resolve these continuing issues. Michael On Fri, Jun 10, 2011 at 6:07 AM, Janko Thyson < janko.th

[Rd] invalid body argument for function

2011-06-29 Thread Michael Lawrence
Hi guys, Looks like mkCLOSXP cannot handle external pointers as the function body. Work around is obvious, but I guess it's a bug nonetheless. > library(RGtk2) > fun <- eval(substitute(function() x, list(x = gtkWindow( Error in eval(expr, envir, enclos) : invalid body argument for "function"

Re: [Rd] invalid body argument for function

2011-07-08 Thread Michael Lawrence
On Thu, Jun 30, 2011 at 9:35 AM, Duncan Murdoch wrote: > On 29/06/2011 9:09 PM, Michael Lawrence wrote: > >> Hi guys, >> >> Looks like mkCLOSXP cannot handle external pointers as the function body. >> Work around is obvious, but I guess it's a bug nonetheless

[Rd] one way to solve bad looking density plots in postscript

2011-08-03 Thread Michael Lachmann
t to overwrite part of the lines of the axes. But that is probably a change in the image() routine, not in the postscript driver Thanks for listening, Michael Lachmann __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] one way to solve bad looking density plots in postscript

2011-08-03 Thread Michael Lachmann
n image.default() the box is drawn, before or after .Internal(image(as.double(x), as.double(y), as.integer(zi), col)) is called, the resulting eps has the box in front. Michael On 3 Aug 2011, at 9:25AM, Michael Lachmann wrote: > When R generates density plots and these are exported

Re: [Rd] one way to solve bad looking density plots in postscript

2011-08-03 Thread Michael Lachmann
nd my code did not help... anyway, here is the plot.default function that does seem to put the box after the image is drawn. Michael The only change is adding box(...) at the end, and doing the first call to plot with bty="n". -- image.default = function (x = seq(0, 1, length.ou

[Rd] slightly speeding up readChar()

2011-08-04 Thread Michael Lachmann
changes are also not that hard - I'd do them if people think such changes should be included Thanks for listening, Michael Lachmann __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] slightly speeding up readChar()

2011-08-04 Thread Michael Lachmann
On 4 Aug 2011, at 11:50PM, Simon Urbanek wrote: > > On Aug 4, 2011, at 5:26 PM, Michael Lachmann wrote: > >> Hi, >> >> I was trying to have R read files faster with readChar(). That was before I >> noticed that readChar() is not that bad! In any case, below I

Re: [Rd] slightly speeding up readChar()

2011-08-05 Thread Michael Lachmann
e mmaps? I assume that once you mmap to a huge file, you do operations on it by working on chunks at a time... are there packages for that, or do I have to write my own code? Thanks! Michael __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

[Rd] Win7 x64 "device not ready" error when DLLpath passed to dyn.load

2011-08-10 Thread Michael Lawrence
Gtk2.dll': LoadLibrary failure: The device is not ready. For now I guess I will fall back to setting the PATH explicitly. Michael [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] relist.list broken for skeletons with empty elements

2011-08-11 Thread Michael Lawrence
e <- length(unlist(result[[i]])) result[[i]] <- relist(flesh[ind:(ind + size - 1L)], result[[i]]) ind <- ind + size } result } That should probably use seq(..., length=size) or something instead of the ":" function. Thanks, Michael

[Rd] autogenerated namespaces not initialized correctly

2011-08-11 Thread Michael Lawrence
call .First.lib, code could be rewritten on the fly, a useDynlib() could be added for a package that has one, etc. Nothing too appealing. Thanks, Michael [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.et

Re: [Rd] gsub("\\", "\\\\", "C:\Program Files\R")

2011-08-12 Thread Michael Lachmann
d from the clipboard. Michael On 12 Aug 2011, at 10:52AM, mafia88 wrote: > Hi, > > I think it is not possible in R but I rather ask before giving up: > > What I have: I have copied "C:\Program Files\R" into my clipboard. > What I want: setwd(transform("C:\Program Fi

[Rd] fitted valued should mention predict

2011-08-16 Thread Michael Lachmann
Hi, I think the help on fitted.values and fitted should mention predict in the "see also". (And maybe vice versa) Michael __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] An example of very slow computation

2011-08-17 Thread Michael Lachmann
I think one difference is that negll() is fully vectorized - no loops, whereas nlogL calls the function sol() inside sapply, i.e. a loop. Michael On 17 Aug 2011, at 10:27AM, John C Nash wrote: > This message is about a curious difference in timing between two ways of > computing the

Re: [Rd] An example of very slow computation

2011-08-17 Thread Michael Lachmann
user system elapsed 0.002 0.000 0.028 -- whereas > system.time({for(i in 1:2500) expm(m)}) user system elapsed 0.106 0.001 0.118 to sum it up, of 13 seconds, 11.5 were spent on conversions to dgeMatrix 0.5 are spent on multiplying a dgeMatrix by a double 0.5 are spent on

Re: [Rd] An example of very slow computation

2011-08-17 Thread Michael Lachmann
then from the 1.5 seconds change mentioned below. So, overall a ~40 fold improvement, though on my machine, the initial ratio was ~3200 times slower, so a ~80 fold slowdown is still present. Michael On 17 Aug 2011, at 11:27PM, Michael Lachmann wrote: > > On 17 Aug 2011, at 7:08PM, >

Re: [Rd] An example of very slow computation

2011-08-18 Thread Michael Lachmann
On my trials, after eliminating all the extra matrix<->dgeMatrix conversions, using expm() and the method below were equally fast. Michael On 19 Aug 2011, at 1:32AM, Ravi Varadhan wrote: > Which is why I said it applies when the system is "diagonalizable". It wo

Re: [Rd] CRAN packages maintained by you

2011-08-22 Thread Michael Friendly
the skeleton DESCRIPTION file generated, indicating the proper format as well as the use of role= to signal the creator and maintainer. - a comment to see ?person for descriptions of fields wouldn't hurt either best, -Michael On 8/8/2011 9:46 AM, Kurt Hornik wrote: Dear maintainers,

[Rd] S3 methods in default namespace

2011-08-26 Thread Michael Lawrence
Hi guys, Are there any plans for figuring out potential S3 methods and declaring them with S3method() in the automatic default NAMESPACE? Thanks, Michael [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https

Re: [Rd] How to safely using OpenMP pragma inside a .C() function?

2011-09-01 Thread Michael Lachmann
. you run almost the same task 100 times), where getting a speedup of 100 fold on 100 cores is easy, and multithreading would slow you down. Michael On 1 Sep 2011, at 8:34AM, Prof Brian Ripley wrote: > Note that currently R internals do not actually use multiple threads in > OpenMP, and

Re: [Rd] R CMD INSTALL configure.args and CC customization

2011-09-09 Thread Michael Spiegel
ues are clobbered by /etc/R/Makeconf. Will the following changes to Makeconf.in introduce any problems? --Michael Subject:[Rd] R CMD INSTALL configure.args and CC customization From: Paul Johnson (paul...@gmail.com) Date: Jan 20, 2010 11:30:44 am List: org.r-project.r-devel Hi, ev

[Rd] Saving Rcpp Objects for Future Use

2011-09-09 Thread Michael King
Hello, I have recently been doing some research regarding how to successfully save and load Rcpp Objects ( objects from modules ) for future use, but with little success. For example, to use the example package (from package skeleton) in Rcpp: >library(Rcpp) >Rcpp.package.skeleton("rdevelhelp", m

Re: [Rd] Link between Qt GUI and R

2011-09-12 Thread Michael Lawrence
is currently available through Bioconductor. See: http://www.bioconductor.org/packages/devel/bioc/html/qtbase.html. There is a binary for Mac OS X but not Windows yet, unfortunately. Michael On Sun, Sep 11, 2011 at 3:30 AM, typhoong wrote: > hi, > > i want to build a Qt front-end

[Rd] R license for a derived data-only package

2011-09-16 Thread Michael Friendly
N defines a wider range of licenses, including a bunch of non-free ones, http://ctan.mirror.rafal.ca/help/Catalogue/licenses.html But I don't know if any of these are acceptable in R packages (e.g., will pass R CMD check). I'd rather not have to consult a lawyer, so any guidance is welcome

[Rd] serialize/unserialize vector improvement

2011-09-28 Thread Michael Spiegel
observed performance improvements of about x2.4. In a real benchmark that is using the serialization interface to make MPI calls, I see about a 10% improvement in performance. Cheers, --Michael microbenchmark: input <- matrix(1:1, 1, 1) output <- serialize(input, NULL) for(i in

Re: [Rd] serialize/unserialize vector improvement

2011-10-03 Thread Michael Spiegel
Any thoughts? I haven't heard any feedback on this patch. Thanks! --Michael On Wed, Sep 28, 2011 at 3:10 PM, Michael Spiegel wrote: > Hi folks, > > I've attached a patch to the svn trunk that improves the performance > of the serialize/unserialize interface for vec

Re: [Rd] S4 inheritance and old class

2015-05-28 Thread Michael Lawrence
On Thu, May 28, 2015 at 2:49 AM, Julien Idé wrote: > Hey everyone, > > I would like to develop a package using S4 classes. > I have to define several S4 classes that inherits from each others as > follow: > > # A <- B <- C <- D > > I also would like to define .DollarNames methods for these class s

Re: [Rd] NEWS.md support on CRAN

2015-06-02 Thread Michael Dewey
> __ | >> R-devel@r-project.org mailing list | >> https://stat.ethz.ch/mailman/listinfo/r-devel | | > -- | > Peter Dalgaard, Professor, | > Center for Statistics, Copenhagen Business School | > Solbjerg Plads 3, 2000 Frederiksberg, Denmark | > P

Re: [Rd] Improving string concatenation

2015-06-17 Thread Michael Lawrence
Just to clarify, primitive (C-level) generics do not support dispatch on basic classes (like character). This is for performance (no need to consider dispatch on non-objects) and for sanity (in general, redefining fundamental behaviors is dangerous). It is of course possible to define a "+" method

Re: [Rd] Plans to improve reference classes?

2015-06-22 Thread Michael Lawrence
(Moved to R-devel) Niek, Would you please provide the details on this test case, including your benchmarks, and what you are trying to achieve at the high-level? Thanks, Michael On Wed, Jun 17, 2015 at 4:55 AM, Niek Bouman wrote: > Dear R-core team, > > I was wondering whether you

Re: [Rd] Plans to improve reference classes?

2015-06-23 Thread Michael Lawrence
lower than constructing a simple environment, but those timings are in microseconds, so one would need a thousand objects before it started to be noticeable. Some motivating use cases would help. Thanks, Michael On Mon, Jun 22, 2015 at 7:06 AM, Hadley Wickham wrote: > Apart from speed,

Re: [Rd] Graphical User Interface (GUI)

2015-07-08 Thread Michael Lawrence
On Wed, Jul 8, 2015 at 11:43 AM, vthokienj wrote: > I'd like to create a user interface for my R code and have only seen mostly > older posts on the subject. > I'm not looking for an IDE for development, but something that the end user > of the software would use. > So something that would involve

[Rd] Installing/updating packages on a lab network

2015-07-28 Thread Michael Friendly
rku.yorku.ca\HH\HOME\friendly with the latter mapped to the X: drive What is the code to be added to Rprofile.site to make this work? thanks, -Michael -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. & Chair, Quantitative Methods York University Vo

Re: [Rd] Installing/updating packages on a lab network

2015-07-29 Thread Michael Friendly
his path, so in a new R session, load(rockchalk) will work. However, once I logout, all that disappears, so I have to start over again to install or update a package. -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. & Chair, Quantitative Methods York Univ

Re: [Rd] update.packages(checkBuilt=TRUE, ask=FALSE): possible bug

2015-07-29 Thread Michael Friendly
led to work. IMHO, I consider this a major infelicity or design flaw, that will cause problems for naive and even experienced users. install.packages("foo") should always work unless package "foo" cannot cannot be found in getOption("repos") -Michael __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Mapping parse tree elements to tokens

2015-07-29 Thread Michael Lawrence
in addition to "text". It would contain the parsed object. Otherwise, to use the table, one is often reparsing the text, which just seems redundant and inconvenient. Michael On Wed, Jul 29, 2015 at 9:43 AM, Duncan Murdoch wrote: > On 29/07/2015 12:13 PM, Jim Hester wrote: >> &

Re: [Rd] Mapping parse tree elements to tokens

2015-07-29 Thread Michael Lawrence
ere one would want a reference from parse node to location. So neither of those involves code evaluation at first glance, though I guess one could use some sort of evaluation during analysis. On Wed, Jul 29, 2015 at 11:47 AM, Duncan Murdoch wrote: > On 29/07/2015 2:30 PM, Michael Lawrence wrote

Re: [Rd] Mapping parse tree elements to tokens

2015-07-29 Thread Michael Lawrence
y do so. I would be wary about committing to this sort of > implementation specific stuff -- we might want to go to completely > different parser technology at tome point, which would be harder if we > committed to these sort of details. > > Best, > > luke > > On Wed, 29 Jul

Re: [Rd] sequence divided by data.frame

2015-08-20 Thread Michael Lawrence
uot; the vector to fit the data.frame, even to the extent that the vector is truncated (a warning could be justified here). You should probably just be coercing to matrix in these situations. A heterogeneous table is not really meant for arithmetic. Michael On Thu, Aug 20, 2015 at 5:08 PM, Ott Toome

[Rd] Column name expansion in data.frame()

2015-08-27 Thread Michael Hahsler
t; cbind(foo = data.frame(items = 1:3), items = 1:3) items items 1 1 1 2 2 2 3 3 3 > cbind(foo = data.frame(items = 1:3), data.frame(items = 1:3)) items items 1 1 1 2 2 2 3 3 3 Any help would be appreciated. Thanks, Michael sessionInfo: > ses

Re: [Rd] Error generated by .Internal(nchar) disappears when debugging

2015-10-05 Thread Michael Weylandt
me, but don't use Windows so can't confirm) To Joris' initial question. I think the debug machinery calls the unoptimized (no-inline) function. Michael > On Oct 5, 2015, at 6:57 PM, Duncan Murdoch wrote: > >> On 05/10/2015 7:24 PM, Matt Dowle wrote: >> Jori

[Rd] Building R for AIX in 64-bit mode

2015-10-15 Thread Michael Felt
Hi. Just wanted to let you know I am getting close to packaging R for AIX in 64.bit mode. One comment - the libtool.m4 I see used is quite old. The one I have on my system is 2.4.6, and what I see in R says: I am hoping a new libtool will clean up most of the manual work now needed. # Which rel

Re: [Rd] Building R for AIX in 32-bit mode - as preparation for building in 64-bit mode (changed subject!) - INFO/FEEDBACK - do not read as a bug report!

2015-10-24 Thread Michael Felt
[/data/prj/cran/32/R-3.1.3.1/src/library/stats/src]ls -l stats.so -rwxr-xr-x1 root system 1456186 Oct 24 17:36 stats.so On Sun, Oct 18, 2015 at 9:06 PM, aixtools wrote: > On 2015-10-15 15:02, Prof Brian Ripley wrote: >> >> On 15/10/2015 13:32, Michael Felt wrote: >>

Re: [Rd] Building R for AIX in 32-bit mode - as preparation for building in 64-bit mode (changed subject!) - INFO/FEEDBACK - do not read as a bug report!

2015-10-24 Thread Michael Felt
PM, Michael Felt wrote: > I have determined why there are many "WARNING: Duplicate symbol:" messages. > > *** My apologies for the length *** There is a lot of detail - but I > hope the detail will help R - and others - setup correct options for > shared libraries. > ***

[Rd] navigation mode(s) in rgl

2015-11-04 Thread Michael Sumner
Hello, I've CCd' Duncan Murdoch as the rgl maintainer, but I'm also keen to hear from the broader community of any insights. In rgl my understanding is that there's only one rotation-navigation mode, where you left-click hold and the view pivots abound the centre of the scene. In other tools, inc

Re: [Rd] navigation mode(s) in rgl

2015-11-04 Thread Michael Sumner
On Thu, 5 Nov 2015 at 14:01 Duncan Murdoch wrote: > On 04/11/2015 6:56 PM, Michael Sumner wrote: > > Hello, I've CCd' Duncan Murdoch as the rgl maintainer, but I'm also keen > to > > hear from the broader community of any insights. > > > > In

Re: [Rd] Good practice for naming classes, builders, attributes, getters/setters for object composition

2015-11-20 Thread Michael Lawrence
On Fri, Nov 20, 2015 at 12:39 AM, Julien Idé wrote: > Hey everyone, > > I am developing a package and I am wondering if there is a good practice > for naming classes, builders, attributes getters and setters when dealing > with object composition. I know that it is usually a good practice to give

Re: [Rd] compile question

2015-11-25 Thread Michael Felt
On 2015-11-23 23:43, peter dalgaard wrote: On 23 Nov 2015, at 22:30 , aixtools wrote: ./configure --enable-maintainer-mode ... Two things here - possibly irrelevant, but I'd avoid building in the source directory. (mkdir ../BUILD ; cd ../BUILD; ../R/configure) I'll try this. It is a requir

Re: [Rd] compile question

2015-11-25 Thread Michael Felt
On 2015-11-23 23:33, Paul Grosu wrote: Hi Michael, I experienced the same thing in the past. After you get the R-3.2.2.tar.gz and uncompress it, enter the R-3.2.2 directory and run the ./configure and make from there, rather than a different one. I have been able to get a 32-bit build, easily

Re: [Rd] compile question - now status update

2015-11-25 Thread Michael Felt
On 2015-11-23 23:43, peter dalgaard wrote: On 23 Nov 2015, at 22:30 , aixtools wrote: ./configure --enable-maintainer-mode ... Two things here - possibly irrelevant, but I'd avoid building in the source directory. (mkdir ../BUILD ; cd ../BUILD; ../R/configure) - don't turn on mantainer mod

Re: [Rd] compile question

2015-11-26 Thread Michael Felt
And I expect the logf() failure is from a program that was dynamically linked but the symbol was ignored (as unref/unknown) for some reason. I'll continue looking for that. Regards, Michael p.s. is libR still exporting a libc defined symbol? Or is this just very old text? __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] compile question

2015-11-27 Thread Michael Felt
On 2015-11-26 17:15, peter dalgaard wrote: If you do want to play with maintainer-mode, first check out https://developer.r-project.org/R-build-prerelease it is what is done in the nightly builds on OSX. (Actually Mavericks. The comment is old.) -pd Very helpful. I only ran the "sync", aclo

Re: [Rd] compile question

2015-11-27 Thread Michael Felt
fic for AIX, to configure.ac how can I submit that. I shall hold back on changes to various Makefile.in (still need to learn how automake could help with platform specific things. I see comments of platform specific things (e.g., for Solaris), but not how they get activ

Re: [Rd] compile question

2015-12-07 Thread Michael Felt
e not acknowledged a reply, to (also) post to http://forums.rootvg.net/aixtools/r-for-aix/ - as I read/check those forums much more often than I am able to check mail. Regards, Michael __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listi

[Rd] R-devel, autotools and libtool

2015-12-11 Thread Michael Felt
s]) ## Hence the question - is there a real interest on someone (like me) to examine libtool usage on a slightly used platform? Michael __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Question about bug reporting, and the followup process

2015-12-16 Thread Michael Felt
Hi, I sent in three bug-reports (maybe should have been 4, because the second contains an "enhancement" as well as well as a bug). I do not set "Importance", ever - or, is that the custom here? Regards, Michael p.s. - maybe related - is it best practice to add [Rd] in t

[Rd] Building R in 64-bit mode

2015-12-16 Thread Michael Felt
x32 -mcpu=power5"| export AR="ar -X64" export CXX="g++ -maix32 -mcpu=power5" | export CC="gcc -maix64 -mcpu=power5" export F77="gfortran -maix32 -mcpu=power5" | export CXX="g++ -maix64 -mcpu=power5" export FC="gfortran -maix32 -mcpu=power5" | export F77="gfortran -maix64 -mcpu=power5" > export FC="gfortran -maix64 -mcpu=power5" export LDFLAGS="-L/opt/lib" export LDFLAGS="-L/opt/lib" root@x065:[/data/prj/cran/32/R-3.2.3] Thanks, Michael __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Building R in 64-bit mode

2015-12-16 Thread Michael Felt
werpc-ibm-aix5.3.7.0 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a colla

Re: [Rd] Question about bug reporting, and the followup process

2015-12-16 Thread Michael Felt
library, or libR own the symbol. Thanks, Michael p.s. Duncan, maybe my previous replies were to you only - my mistake and please forgive the double emails. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Building R in 64-bit mode

2015-12-16 Thread Michael Felt
On 2015-12-16 16:02, Michael Felt wrote: tools:::sysdata2LazyLoadDB("/data/prj/cran/R-3.2.3/src/library/tools/R/sysdata.rda","../../../library/tools/R") Error: Line starting 'Package: tools ...' is malformed! > warnings() Warning messages: 1: package "meth

Re: [Rd] Assistance much appreciated

2015-12-17 Thread Michael Felt
'Tools' > loadNamespace(tools) Error in loadNamespace(tools) : object 'tools' not found > loadNamespace("tools") Error: Line starting 'Package: tools ...' is malformed! > On 17-Dec-15 18:02, Michael Felt wrote: I have been struggling with this error

[Rd] Assistance much appreciated

2015-12-17 Thread Michael Felt
uot;tools:::foo". Where should I look next? It goes a bit beyond me to know where in R "tools:::foo" is being parsed. Guessing here - but might be related to the switch from 32-bit to 64-bit AND that PowerPC is BigEndian rather than LittleEndian? Could also be absolutely wrong,

Re: [Rd] Assistance much appreciated

2015-12-17 Thread Michael Felt
On 2015-12-17 18:56, Duncan Murdoch wrote: Error: Line starting 'Package: tools ...' is malformed! These both do a loadNamespace("tools"). > Tools:::foobar() Error in loadNamespace(name) : there is no package called 'Tools' > loadNamespace(tools) Error in loadNamespace(tools) : object 'tools'

Re: [Rd] Assistance much appreciated

2015-12-17 Thread Michael Felt
*/ line[20] = '\0'; error(_("Line starting '%s ...' is malformed!"), line); } } } } ... more lines to go... Thank

Re: [Rd] Assistance much appreciated

2015-12-17 Thread Michael Felt
ddress. p.s. are you also in a position to try on 64-bit Linux - and compare LE with BE (like AIX)? And maybe it is a bug in bison/yacc that has never been properly explained. So - we need to dissect re_regexecb() - looking in particular at differences that 32 vers

Re: [Rd] Assistance much appreciated

2015-12-18 Thread Michael Felt
On 2015-12-17 21:37, peter dalgaard wrote: As you're dying in an else clause, a previous if () must contain the clue. Unfortunately not necessarily the matching one. My guess is that your TRE library is broken. The line should have matched the RE "regline" defined as tre_regcomp(®line, "^

Re: [Rd] Assistance much appreciated

2015-12-18 Thread Michael Felt
On 2015-12-18 02:29, Simon Urbanek wrote: Michael, I got access to PDP AIX so I can try to replicate your problem. Can you, please, share exactly your setup - AIX version and well as how exactly you installed the compilers (=where from)? I can then try to replicate it. AFAICS there is no

Re: [Rd] Assistance much appreciated

2015-12-18 Thread Michael Felt
On 2015-12-18 10:58, Michael Felt wrote: c) ls -l 32/*.env 64/*.env sdiff -w ??/aix.env cat bin/my_shared.ksh Forgot this part: 2015-12-18 10:00 32 and 64 bit aix environments Page 1 export OBJECT_MODE=32export OBJECT_MODE=64

Re: [Rd] Assistance much appreciated

2015-12-18 Thread Michael Felt
On 2015-12-18 02:29, Simon Urbanek wrote: Michael, I got access to PDP AIX so I can try to replicate your problem. Can you, please, share exactly your setup - AIX version and well as how exactly you installed the compilers (=where from)? I can then try to replicate it. AFAICS there is no

Re: [Rd] Assistance much appreciated

2015-12-18 Thread Michael Felt
On 2015-12-18 14:21, Michael Felt wrote: root@x069:[/data/prj/cran/32/R-aix-3.2.3]ls -l /tmp/download total 622400 -rw-r--r--1 root system27482 Dec 18 12:34 .toc -rwxrwxr--1 199 33 828928 Sep 17 2012 aixtools.gmp.5.0.5.0.I -rw-r--r--1 root system

Re: [Rd] Assistance much appreciated

2015-12-21 Thread Michael Felt
On 2015-12-18 09:26, Michael Felt wrote: int tre_regcomp(regex_t *preg, const char *regex, int cflags) { return tre_regncomp(preg, regex, regex ? strlen(regex) : 0, cflags); } I wonder if it could be Looking here, I saw this line - and I am wondering if L'0' as 64-bit is too long, c

Re: [Rd] override pmin/pmax for my own matrix

2015-12-24 Thread Michael Lawrence
Yes, functions like c, min and max are special cases, as they are primitives. For ordinary functions, you just need to promote them with "..." as the signature: setGeneric("pmax", signature="...") setMethod("pmax", "Class", function(..., na.rm=FALSE) { }) One caveat is that all arguments passed v

[Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2015-12-29 Thread Michael Felt
oser to a resolution to an old concern. And, best wishes for the new year! Michael __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2015-12-30 Thread Michael Felt
On 2015-12-29 11:02, Michael Felt wrote: This seems to be a problem that goes back a long time - and I hope someone who understands what tre is suppossed to be doing will look at this. A short history of other people who have reported on this on different versions of AIX. I shall only add

<    1   2   3   4   5   6   7   >