Displaying 20 results from an estimated 9000 matches similar to: "hist( ) fails with 'Inf' values unlike plot( ) (PR#7220)"
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
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 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
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
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
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")
>
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 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
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::",
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
2005 Jun 11
1
Wishlist: strwidth allow for rotation of text (PR#7931)
Hi,
This is not a bug, but an enhancement suggestion. "strwidth" only gives the
width of the text according to the x-axis user coordinates, and similarly
for "strheight". Even if the par setting "srt" is changed to rotate the
text, the resulting width (resp. height) is in terms of the non-rotated
text. Currently, if I want to know how much space to leave for
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
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]
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 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
2010 Oct 14
0
GridR error
Hi,
I am trying to use 'GridR' package for the first time, and I'm running
into a strange error from grid.check:
> grid.check(gridFun)
Error in exists(add) : invalid first argument
After playing around in recover mode, I see that this because the
variable 'add' created by grid.check is blank:
Browse[1]> split[[1]][k]
[1] " : "
Browse[1]> add
[1]
2005 Oct 18
2
hist of dates
Hi all
I wish to draw an histogram... with dates but the following append, i don't know where is the problem, help(hist.Date) works and i don't see any usefull information on what i'm doing wrong...
> hist.Date(dt_cycles)
Error: couldn't find function "hist.Date"
> hist.date(dt_cycles)
Error: couldn't find function "hist.date"
> cycles
[1] 7 1
2008 May 20
2
hist clarification
Can someone help me with a misunderstanding I'm having with hist? I
expected, from the example below, that the number of bins would always be 10
and the length of the counts array the same. According to the help section
'breaks' can be a integer indicating the number of bins. From the example
below, the number of bins (length of the counts array) varies. Am I wrong in
expecting the