Displaying 20 results from an estimated 10000 matches similar to: "listing datasets from all my packages"
2006 Jan 30
2
'all' inconsistent?
Hello,
I came across the following behavior, which seems illogical to me. I don't
know if it is a bug or if I'm missing something:
> all(logical(0))
[1] TRUE
> any(logical(0))
[1] FALSE
> isTRUE(logical(0))
[1] FALSE
This actually came up in practice when I did something like
> all( names(x) %in% vec )
as an error-handling, and I was hoping that it would work regardless
2004 Dec 02
3
Wishlist: simple legend options (PR#7400)
Full_Name: Elizabeth Purdom
Version: 1.9.1
OS: Windows XP
Submission from: (NULL) (171.64.102.199)
It would be nice if legend had the option of some default locations you could
choose instead of entering specific coordinates, like "topleft",
"topright","topcenter", etc. based on par("usr") coordinates. I know I've wanted
it so often I've made my
2006 Jan 19
2
Downloads -- possible bug?
Hi,
When I go to the CRAN page to download a new version of R, there are not
the same versions available depending on which mirror I pick. When I go to
http://cran.cnr.berkeley.edu/, for example, I get 2.2.1, but if I go
http://cran.stat.ucla.edu/ the option is 2.2.0 (I'm downloading the Windows
base file). Neither refreshing nor clearing my cache changes it. For future
reference, I'd
2005 Jun 10
1
Wishlist: axis( ) could take vector of colors (PR#7930)
Hi,
This is not a bug, but a simple enhancement suggestion: that axis( ) also
allow option "col" to take a vector of colors equal to the length of
"labels". Currently it allows it, in the sense that there is no error
message, but the function will use just the first element of the vector.
Example
> plot(1:5,exp(1:5),axes=F,type="o")
>
2004 Dec 09
2
wishlist -- names gives slotnames (PR#7410)
Full_Name: Elizabeth Purdom
Version: 1.9.1
OS: Windows XP
Submission from: (NULL) (171.64.102.199)
It would be nice if names(obj) would give slot names as well. Since for many
people slots are new, the first thing that happens is you try to access what's
in them and can't find how to do it. If you don't know that slotNames() exists,
it can be very frustrating. Moreover, if you
2004 Sep 28
3
sapply behavior
Hi,
I use sapply very frequently, but I have recently noticed a behavior of
sapply which I don't understand and have never seen before. Basically,
sapply returns what looks like a matrix, says it a matrix, and appears to
let me do matrix things (like transpose). But it is also a list and behaves
like a list when I subset it, not a vector (so I can't sort a row for
instance). I
2004 Dec 04
1
Wishlist: heatmap/image legend (PR#7402)
Full_Name: Elizabeth Purdom
Version: 1.9.1
OS: Windows XP
Submission from: (NULL) (171.64.102.199)
It would be great if heatmap and/or image had the option of printing a legend
bar on it somewhere that would indicate the ranges given by the colors in the
heatmap (i.e. a very small image rectangle with the same colors as in the
heatmap). Because heatmap is using layout, it seems pretty
2008 Feb 12
1
conflict within packages
Hi,
I am trying to use two contributed packages, both of which have a
function 'getNames'. So if I load them both they obviously conflict.
Currently I manually detach one package and then reload the other to be
able to use one function right after another. Is there anything else I
can do?
Best,
Elizabeth
2006 Jan 10
1
R CMD not recognized at command-line
Hi,
I am trying to run a batch command on Windows XP and R CMD is not
recognized. I get the error,
"'R' is not recognized as an internal or external command, operable program
or batch file."
I have "C:\Program Files\R\rw2010\bin" in my $PATH variable and Rcmd.exe
has been installed in that folder. I have restarted the computer to make
sure any changes in the $PATH
2009 Nov 18
1
bug in '...' of constrOptim (PR#14071)
Dear all,
There appears to be a bug in how constrOptim handles ... arguments that
are suppose to be passed to optim, according to the documentation. This
means you can't get the hessian to be returned, for example (so this is
a real problem, and not just a question of mistaken documentation).
Looking at the code, it appears that a call to the user-defined f
includes the ..., when the ...
2008 Feb 21
2
jpeg in batch mode
Hello,
I am running some commands in batch on a server that I SSH into; some of
the commands call jpeg(). If I continue to stay signed on (with my
xwindows working on my machine) then the jpeg() command works (with a
single caveat, below). If I leave it and sign off (with a nohup command
in front of my BATCH) then jpeg gives me an error like this:
Error in X11(paste("jpeg::",
2007 Dec 10
1
Question re: RWinEdt conflicting with my WinEdt
Hi,
This is a question regarding the RWinEdt package for R. I have WinEdt
5.5, RWinEdt 1.7-9, and R 2.6.0 on WindowsXP.
Somehow my configuration or start up files between RWinEdt and WinEdt
are getting confused. Usually when I open either one, the last files I
was working on *with that program* are opened automatically. So if I
last used mydoc.tex in WinEdt and myprogram.R in RWinEdt those
2004 Sep 09
1
hist( ) fails with 'Inf' values unlike plot( ) (PR#7220)
Full_Name: Elizabeth Purdom
Version: 1.9.1
OS: Windows
Submission from: (NULL) (171.64.102.192)
hist() fails if encounters 'Inf' value, rather than giving warning and removing.
Other graphics, like plot(), don't have this problem. It's actually rather
confusing if you are taking the log of data real valued data with a few
non-positive numbers. hist() works fine in this situation
2011 Mar 22
2
Problem with mclapply -- losing output/data
Hello,
I am running large simulations, which unfortunately I can't really
replicate here because the code is so extensive. I rely heavily on
mclapply, but I realize that I'm losing data somewhere.
There are two worrisome symptoms:
1) I am getting 'NULL' as a return value for some (but not all) elements
of the output when I use mclapply, but not if I use lapply
> tmp2[1:3]
2006 Jun 29
1
Internet Problem in R
Hi,
I have a student who's R seems to be unable to connect to the internet. I
have verified that her computer has internet access that's working fine,
but that R is not able to establish connections. For example, she cannot
download packages for R from the URL site, cannot source webpages, or
read.table from a webpage (all of these give errors of not being able to
establish a
2007 Apr 24
1
Problem opening connections to removable hard drive
Hi,
I have my files and R session on a portable hard drive to be able to
work across computers since I have some extremely large files. I have
just started doing this and generally it works as I expect. But after a
while of using my R session, certain types of calls to open connections
on the hard drive don't work. But I experience no problems
opening/saving files on the portable hard
2006 Feb 27
2
Question about Sweave
Hi,
I'm not sure if Sweave questions should go to the general list, but it
seems to be part of the core R package without a separate maintainer.
I am writing a tutorial for R in a latex file. I'd like to use Sweave,
since this seems its ideal usage. The problem is that I want to
purposefully put errors in and then the output that comes with it in the
text of my tutorial. However the
2006 Jan 05
1
Generic Functions
Hi,
I've been using the package "graph" in the BioConductor assortment and
writing some functions based on its classes. My question is not specific to
this package or BioConductor (I think), but it serves as a useful example.
I recently wanted to look at the code for the function "edgeMatrix" for the
class "graphNEL".
Usually I would type
> func.foo
and
2008 Feb 07
1
problem with help.search
Hi,
I have done something (added an unstable package, probably) that has
made my help.search function not work. I was wondering if anyone could
give me trouble-shooting advice to locate the problem so I don't need to
reinstall everything from scratch.
I'm in Windows XP, R-2.6.0. The error code is below.
Thanks,
Elizabeth
> help.search("latex")
Error in
2006 Mar 03
1
NA in eigen()
Hi,
I am using eigen to get an eigen decomposition of a square, symmetric
matrix. For some reason, I am getting a column in my eigen vectors (the
52nd column out of 601) that is a column of all NAs. I am using the option,
symmetric=T for eigen. I just discovered that I do not get this behavior
when I use the option EISPACK=T. With EISPACK=T, the 52nd eigenvector is
(up to rounding error) a