Displaying 20 results from an estimated 21 matches for "etari".
Did you mean:
atari
2008 Sep 09
2
match problem by rownames
Hi all,
While dat['a1',] and dat['a10',] produce the same results in the
following example, I'd like dat['a1',] to return NAs.
dat <- data.frame(x1 = paste(letters[1:5],10, sep=''), x2=rnorm(5))
rownames(dat) <- dat$x1
dat['a1',]
dat['a10',]
> sessionInfo()
R version 2.7.2 (2008-08-25)
i386-pc-mingw32
locale:
2007 Feb 28
1
Removing directory?
Hi,
I'm trying to remove/delete a directory usingR. I've tried the
following with no success:
% Rterm --vanilla
> getwd()
[1] "C:/Documents and Settings/hb/braju.com.R/aroma.affymetrix/test"
> dir.create("foo")
> file.info("foo")
size isdir mode mtime ctime atime
foo 0 TRUE 777 2007-02-28 14:52:10
2006 Dec 22
5
substitute creates an object which prints incorrectly (PR#9427)
The function "substitute" seems to fail to make a genuine
substitution, although the printed verision seems fine. Here is an
example.
> m <- substitute(Y <- function(x) FUN(x+1),
+ list(Y = as.name("y"), FUN = as.name("sin")))
> m
y <- function(x) sin(x + 1)
> eval(m)
> y
function(x) FUN(x+1)
However the story doesn't end there. The
2008 Jul 19
1
Clash between 'Cairo' and 'EBImage' packages on Windows
Hi,
on Windows XP Pro with R version 2.7.1 Patched (2008-06-27 r46012) the
'Cairo' and the 'EBImage' packages does not play well together.
Loading EBImage before Cairo cause the following to happen:
# Rterm --vanilla
> library(EBImage);
> library(Cairo)
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared library
2007 Apr 07
1
R CMD install on R 2.5.0 alpha
Hi,
I've just downloaded the latest R v2.5.0 alpha (2007-04-04 r41043) for
WinXP. When I try to
install a package R tries to install it to a no-name (empty name)
directory (causing error downstream):
RCMD INSTALL R.oo
installing to ''
FYI: Package install perfectly on R v2.4.1 patched, and did so also on
earlier R v2.5.0 devel/alpha(?) versions.
Current directory is:
C:\tmp
with
2006 Sep 11
1
S4 Method dispatch in recent 2.4.0alpha
I use 2 packages that both implement a S4 plot method, where one package
depends on the other (the bioconductor package globaltest which depends
on multtest). When the plot method is used from within the package, it
seems the default plot method is used, and an error is generated. When
the method is invoked from the console, the plot is created correctly. I
have reproduced this with 2 small
2008 Jul 25
1
serialize() to via temporary file is heaps faster than doing it directly (on Windows)
Hi,
FYI, I just notice that on Windows (but not Linux) it is orders of
magnitude (below it's 50x) faster to serialize() and object to a
temporary file and then read it back, than to serialize to an object
directly. This has for instance impact on how fast digest::digest()
can provide a checksum.
Example:
x <- 1:1e7;
t1 <- system.time(raw1 <- serialize(x, connection=NULL));
2007 Apr 13
1
how to control which version of a package library() installs?
library() seems to remember the location of a package when I give it a
lib.loc, and then use that version thereafter, even if I don't supply
lib.loc again. Is there any way I can load different versions of a
package in one R session? -- I don't seem to able to simply detach the
package and then load a different version from a different library location.
$ R
[...startup info...]
>
2010 Jul 08
2
strsplit("dia ma", "\\b") splits characterwise
\b is word boundary.
But, unexpectedly, strsplit("dia ma", "\\b") splits character by character.
> strsplit("dia ma", "\\b")
[[1]]
[1] "d" "i" "a" " " "m" "a"
> strsplit("dia ma", "\\b", perl=TRUE)
[[1]]
[1] "d" "i" "a" " "
2007 Oct 10
2
slow load() in R2.6.0
I'm encountering excruciatingly slow load times for character vectors in
R 2.6.0-- up to 30sec for a 15K file that contains a no-attributes
character vector of length ~1e4 and object size ~0.5MB. In R 2.5.1,
repeated loads of the same set of files are near-instantaneous.
The problem is proving tricky to reproduce consistently from scratch, so
I have attached the 3 files used in the examples
2008 Nov 26
1
file.access() on network (mounted) drive on Windows Vista?
Hi,
I have a writable and readable file on a small network file system
(Cisco NSLU2 Unslung; non-NTFS) that I access via a mounted drive on
Windows Vista. My problem could be due to a "funny" file
system/server, but here it goes:
> pathname <- "Q:/foo.txt"
> cat(file=pathname, "Hello world!\n")
> readLines(pathname)
[1] "Hello world!"
>
2006 Jan 14
2
initialize expression in 'quasi' (PR#8486)
This is not so much a bug as an infelicity in the code that can easily
be fixed.
The initialize expression in the quasi family function is, (uniformly
for all links and all variance functions):
initialize <- expression({
n <- rep.int(1, nobs)
mustart <- y + 0.1 * (y == 0)
})
This is inappropriate (and often fails) for variance function
"mu(1-mu)".
2007 Nov 08
1
Mixing lty specifications in legend
Hi all
I have a plot with lines, one specified as (say) lty=1,
using standard line types, and another as (say) my
own spec: lty="51".
I can't get legend to display both. Toy example:
> plot(1~1)
> legend("topright", lty=c("51",1), legend=c("My own","Standard"))
Error in segments(x1, y1, x2, y2, ...) : invalid line type: must be
2006 Nov 07
0
rbind with auto-row-named data.frame + list (PR#9346)
There's a problem new to R2.4.0 when rbinding an auto-row-named
data.frame to a list:
> rbind( data.frame( x=1), list( x=2))
Error in attr(value, "row.names") <- rlabs :
row names must be 'character' or 'integer', not 'double'
Works OK with 2 data.frames or 2 lists.
Mark Bravington
CSIRO Mathematical & Information Sciences
Marine
2010 Jan 12
0
Wishlist: Function 'difftime' to honor 'tzone' attribute (PR#14182)
Full_Name: Suharto Anggono
Version: 2.8.1
OS: Windows
Submission from: (NULL) (125.165.84.118)
PR#14076 inspired me to write this.
> t1 <- as.POSIXct("1970-01-01 00:00:00", tz="GMT")
> t2 <- as.POSIXlt("1970-01-01 00:00:00", tz="GMT")
> t1 - t2
Time difference of 7 hours
Above, t1 and t2 represent the same time in the same specified
2007 Jan 07
1
substitute creates an object whichprints incorrectly (PR#9427)
> I think we should get rid of source attributes completely,
> since they are no longer needed, but your comment still
> applies to source references. We should strip them when code
> gets modified.
>
> Duncan Murdoch
I would be very concerned about losing source attributes-- it would
break a lot of my code :(! It's very useful to have a single portable R
object that
2007 Aug 28
1
R CMD check: Error in function (env) : could not find function "finalize"
Hi,
does someone else get this error message:
Error in function (env) : could not find function "finalize"?
I get an error when running examples in R CMD check (v2.6.0; session
info below):
> ### * invertMap
>
> flush(stderr()); flush(stdout())
> ### Name: invertMap
> ### Title: Inverts a read or a write map
> ### Aliases: invertMap
> ### Keywords: file IO
2009 Oct 29
0
In the result of applying 'bquote' to function definition with 2 or more arguments, first function argument disappears (PR#14031)
Full_Name: Suharto Anggono
Version: 2.8.1
OS: Windows
Submission from: (NULL) (125.165.81.124)
Sorry for repost. There is already PR#9602, but the problem is still there.
There is also a post "Re: [R] using bquote to construct function" in R-help
2008-10-02.
This illustrates the problem.
C:\Program Files\R\R-2.8.1\bin>R --vanilla
R version 2.8.1 (2008-12-22)
Copyright (C) 2008
2009 Oct 20
2
Problems importing Unix SAS .ssd04 file to R (Win)
Hello,
I'm trying to import a SAS file made using SAS on Unix. Currently I'm
using SAS on Windows and I'm trying to import that .ssd04 file to R.
The file name of the file is testfile.ssd04 and it is located in
'M:\sasuser'. I'm using Windows XP and R 2.91. Basically what I'm
doing is
############ r code ##############
> library(foreign)
> sashome <-
2009 Aug 07
0
Bug in nlm, found using sem; failure in several flavors (PR#13882)
Adam,
It seems that your attachment didn't make it through.
That aside, my experience with strange errors like those (random type
not implemented ones) has been that you may be looking at a memory
problem on you machine. Given that you can't replicate on another
platform (and the .csv file didn't come through), I would think it
wise to start there.
My 2c. And I love bacon too :)