Displaying 20 results from an estimated 1000 matches similar to: "assignment in lists"
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 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,
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 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
2003 Nov 12
1
Power (^) 10x slower in R since version 1.7.1... What next?
OK, I have made a little search about this "problem" that apparently occurs
only on Windows platform... (but I am sure most of you are already aware of
it): the slow down is due to the adoption of a different algorithm for pow
in mingw 3.x. This is motivated by some other changes in mingw. Here is a
quote of Danny Smith that did this change:
>When mingw changed default FPU settings
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 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
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 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
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 Jun 19
3
sciViews
Bonjour,
J'ai t?l?charg? SciViews Insider que je trouve tr?s convivial.
Par contre, je n'arrive pas ? comprendre comment enregistrer un script R en type de fichier R justement.
Mes programmes fonctionnent tr?s bien, mais SciViews me propose uniquement de les enregistrer au format txt sous un type de fichier "bloc notes".
Comment les enregistrer avec l'extension .R comme le
2003 Jan 02
1
rounding errors in max.col()
Hello,
I suppose this is a general behavior with external function calls, so I do
not post (yet) a specific bug report. Could someone explain this?
a <- rep(1, 20) + rnorm(20, mean=0.00001, sd=0.0001)
b <- embed(a, 3)
# I want to know where the item in column 2 is greated than both col 1 and 3
(peak)
test1 <- max.col(b) == 2
# ... or I could use a less optimal code
test2 <- apply(b,
2003 Mar 13
3
Looking for GUI
Hi List,
i am locking for a GUI for R. I have a Debian Woody 3.0 and running R 1.5.1.
In office i am using SPSS 9.0 for several years now after Systat for short
time and now i would use a statistic software under Linux at home. It seems
that R could be that what i am looking for, but i have problems to understand
how it works or better explained i would prefer using a good grafic interface.
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 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 Jun 20
4
Spedd: R vs S-plus
Hi Folks,
Sorry to raise what has probably been discussed before,
but I an repeatedly struck by the comparative slowness
of S-plus for Windows compared with R for Linux when doing
much the same thing.
I don't have a direct comparison, because they're not
running on the same machine; but machine W has a faster
CPU and more RAM than machine L, yet S-plus on W seems
to take longer by quite
2003 May 07
3
how to order a dataframe ?
Hi,
I've got a problem which seemed simple to me at first view, but which I
haven't managed to solve yet. I have a dataframe, or a matrix, and I
would like to order it along with one of the variables/columns. I tried
to use order() but it remained quite unclear to me. How should I proceed ?
Thanks in advance (I guess that's not very difficult a question for most
of you)
Laurent
2003 Jan 08
2
Undocumented bahavior of as.integer() (PR#2430)
as.integer() truncates doubles toward zero, as Splus does (at least v. 6.1
under Windows does). Thus:
> look <- (10 * seq(14)) - 76
> 10 * (73.1 + look)
[1] 71 171 271 371 491 586 681 791 886 981 1101 1201 1301 1401
> as.integer(10 * (73.1 + look))
[1] 70 170 270 370 490 586 681 791 886 981 1101 1201 1301 1401
... It is not documented in R! I propose appending