similar to: Power (^) 10x slower in R since version 1.7.1... What next?

Displaying 20 results from an estimated 4000 matches similar to: "Power (^) 10x slower in R since version 1.7.1... What next?"

2003 Aug 04
7
^ operation much slower in R 1.7.1 than in R 1.7.0 ???
I do not understand what happens here (under Win XP): a <- abs(matrix(rnorm(800*800)/2, ncol=800, nrow=800)) system.time(b <- a^1000)[3] took about 1 sec on my computer with R 1.7.0 and it takes now 4.59 sec with R 1.7.1 Similarly, phi <- 1.6180339887498949 a <- floor(runif(750000)*1000) system.time(b <- (phi^a - (-phi)^(-a))/sqrt(5))[3] took about 0.9 sec with R 1.7.0, and it
2003 Aug 04
7
^ operation much slower in R 1.7.1 than in R 1.7.0 ???
I do not understand what happens here (under Win XP): a <- abs(matrix(rnorm(800*800)/2, ncol=800, nrow=800)) system.time(b <- a^1000)[3] took about 1 sec on my computer with R 1.7.0 and it takes now 4.59 sec with R 1.7.1 Similarly, phi <- 1.6180339887498949 a <- floor(runif(750000)*1000) system.time(b <- (phi^a - (-phi)^(-a))/sqrt(5))[3] took about 0.9 sec with R 1.7.0, and it
2002 Dec 29
3
lowess + turnpoints = doubling integers?
Happy New Year, r-helpers! I am using lowess to smooth a scatter plot, xx<-lowess(xinput,f=.04) #defaults for other args followed by turnpoints(xx$y) #defaults for other args I plot the smoothed result as well as turnpoints (using yy$tppos) on top of raw data plot. Result is exactly as expected, graphically. For another purpose, I calcuate the difference between turnpoints (representing
2003 Feb 03
2
[Out off-topic] SJava under Windows
Sorry for this off-topic subject. I am fighting for running SJava under Windows. SJava_0.64 (compiled by Simon Urbanek, thanks), R 1.6.2, Java JDK 1.4.0_02, Windows XP pro: > library(SJava) > .JavaInit() Error in .JavaInit() : Couldn't start Java Virtual Machine: Cannot find the Omegahat interface manager class. Check you classpath! > # And the second time... > .JavaInit() It
2003 Jun 26
1
assignment in lists
Hello, I do not understand the following behaviour. Could someone explain me what happens? > a <- NULL > a$item <- 1:3 > a$item [1] 1 2 3 > rm(a) > a <- NULL > a[["item"]] <- 1:3 Error: more elements supplied than there are to replace Why do I get an error message using list[["item"]], and not using list$item? Best, Philippe Grosjean
2003 Jan 08
1
Tools for tree naviguation
Sorry for this out-of-topic message. A while ago, somebody mentioned a software (an R interface xas in development at that time) to graphically look inside classification/regression trees and calculate various statistics on their nodes. Unfortunatelly, I lost the link and do not remember at all the name of the software. Could someone refresh my poor memory,... or perhaps point me on other
2003 Jan 03
0
RE: stange behavior of subset [] (was: lowess + turnpoints = doubling integers?)
Tom Blackwell wrote: >... >I summarized this to myself as "computed subscripts need explicit >rounding in R, but not in S". Here's the sample code which gave >me different results with R than with Splus. I no longer have >Splus available, so I can't check it again. >look <- (10 * seq(14)) - 76 >chk.1 <- seq(1420)[ 10 * (73.1 + look) ] #
2003 Apr 22
2
Handling of upper/lowercase in package names (PR#2816)
Hi, This is (presumably?) a bug in R 1.7.0 under Windows. I have not tested it on other systems. Attachment of packages is case sensitive but not library(), resulting in multiple loadings of the same package if the library name is spelled differently. The following example loads the `tools' package, once as `tools' and once as `Tools'. This behavior is the same with all packages and
2003 Jan 10
3
manipulate all files in folder
Im just attempt writing a function which import manipulate and export spss data, my basic problem when i use the cat command that their is a space to much ? Perhaps here exist a better solution ? cat(paste(path),paste(file)) c:/Project/Allbus/ aprioriTotal.sav test <- function(dir) { for (i in 1:length(list.files)) path <- "c:/Project/Allbus/" file <- list.files()[4] tmpdata
2003 Apr 24
1
RMySQL crash under R 1.7.0, but not 1.6.2
Hi, I was able to connect to a MySQL database (called "zooscan" and with a table "serie" under Win XP with R 1.6.2 using: > library(DBI) > library(RMySQL) Warning message: DLL attempted to change FPU control word from 8001f to 9001f > drv <- dbDriver("MySQL") > con <- dbConnect(drv, dbname="zooscan") > dbExistsTable(con,
2006 Jun 05
2
Functions starting with underscores
I'm having problems with functions starting with underscores '_foo' <- function(x) {1} seems to work but I can't assign an attribute to this function attr('_foo', 'bar') <- 'pow' Any way of doing this? This is for a C++ -> R wrapping system so I'd like to keep the C++ names which start with underscores. (please cc: responses to me
2003 Apr 29
1
Feedback about SciViews?
Hello, This message is little off-topic in R-help. Sorry for that, but not all interested people are wired yet to r-sig-gui (http://www.stat.math.ethz.ch/mailman/listinfo/r-sig-gui). Thanks for your comprehension. A preview version of SciViews (a Graphical User Interface for R under Windows, http://www.sciviews.org) was released a few weeks ago. Since then, the Web site recorded several
2003 Jan 16
3
Announce: pmg -- menu driven GUI using RGtk
Hello all, I've put together a quick and dirty menubar + dialogs + spreadsheet GUI for R using the RGtk package. Performance is not great (OOP is a real memory hog?), the design may be worse, but the hope is that it will be useful in an introductory stats course while we await the arrival of a real gui with ObveRsive and SciViews. The package can be found at
2003 Jan 16
3
Announce: pmg -- menu driven GUI using RGtk
Hello all, I've put together a quick and dirty menubar + dialogs + spreadsheet GUI for R using the RGtk package. Performance is not great (OOP is a real memory hog?), the design may be worse, but the hope is that it will be useful in an introductory stats course while we await the arrival of a real gui with ObveRsive and SciViews. The package can be found at
2003 Mar 18
0
SciViews R GUI preview version available
Hi all, After being a long time off the R and R-SIG-GUI lists, because I was working hard on SciViews, I am happy to deliver the first public version of this program. It is still v. 0.1, that is, an incomplete alpha version. It currently installs only on Windows 2000 or XP (NOT on Windows 9X/ME/Millenium, nor any other platform!). You can download it at http://www.sciviews.org. Please, note that
2017 Jan 12
2
The most efficient way to implement an integer based power function pow in LLVM
> On Jan 12, 2017, at 12:58 PM, Friedman, Eli via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > On 1/12/2017 9:33 AM, Mehdi Amini via llvm-dev wrote: >>> On Jan 12, 2017, at 5:03 AM, Antoine Pitrou via llvm-dev <llvm-dev at lists.llvm.org> wrote: >>> >>> On Mon, 9 Jan 2017 11:43:17 -0600 >>> Wei Ding via llvm-dev <llvm-dev at
2007 Nov 22
2
[LLVMdev] llvm-gcc cannot emit @llvm.pow.* ?
2007/11/22, Duncan Sands <baldrick at free.fr>: > > Hi, > > > Current llvm-gcc cannot emit llvm intrinsic function like llvm.pow.* and > > llvm.sin.* > > For example: > > > > double foo(double x, double y) { > > return pow(x,y); > > } > > > > will compiled into ll: > > > > define double @foo(double %x, double %y) {
2007 Nov 22
0
[LLVMdev] llvm-gcc cannot emit @llvm.pow.* ?
Hi, > Current llvm-gcc cannot emit llvm intrinsic function like llvm.pow.* and > llvm.sin.* > For example: > > double foo(double x, double y) { > return pow(x,y); > } > > will compiled into ll: > > define double @foo(double %x, double %y) { > %tmp3 = tail call double @pow( double %x, double %y ) > ret double %tmp3 > } > > This is not
2000 Jul 24
1
scoping problems (PR#614)
I am resubmitting this to r-bugs, since Thomas Lumley indicates that it might be an error: On Wed, 5 Jul 2000, Thomas Lumley wrote: > On Wed, 5 Jul 2000, halvorsen wrote: > > > Hola! > > > > I have the following simple function: > > > > > testcar > > function(pow){ > > ob <- glm(Pound~CG+Age+Vage,data=car,weights=No, > >
2000 Jul 05
1
Scoping problem
Hola! I have the following simple function: > testcar function(pow){ ob <- glm(Pound~CG+Age+Vage,data=car,weights=No, subset=No>0,family=quasi(link=power(pow),var=mu^2)) deviance(ob) } But trying to run it gives: > testcar(1/2) Error in power(pow) : Object "pow" not found I have tried to use debug on testcar, but what I can find