Displaying 20 results from an estimated 60000 matches similar to: "text(x, y, labels) - recycling problems and RFC (PR#7084)"
2004 Jul 13
0
text(x, y, labels) - recycling problems and RFC (PR#7084)
Not a bug necessarily, in text(), but at least an inconsistency,
and a need for more documentation: Contrary to e.g., plot(),
text(x,y,labels) *does* recycle it's arguments to some extent --
and probably has always in S.
However it doesn't do all I think it should, i.e.,
plot(1:7); text(1:2, 1+ 1:3, LETTERS[1:4])
does recycle 'x' to c(1:2, 1) {length 3} to match 'y'
2016 Jul 20
2
Enable Recycling
So I've added the following information to my smb.conf in the general
section based off various information on the internet, but primarily from here:
http://timtrott.co.uk/enabling-recycle-bin-functionality-samba/
Nonetheless when I delete files from any shares they are not sent to
Recycling. What am I missing?
# Enable Recycling
vfs objects = full_audit recycle
recycle:repository =
2006 Feb 28
2
lines() and recycled colours
Hi
?lines says
For 'type = "h"', 'col' can be a vector and will be recycled as
needed.
Why doesn't lines() recycle colours for other types?
If I type
> plot(0:1,0:1,type="n")
> lines(runif(11),runif(11),col=c("red","green"))
>
then all ten lines are red, with no warning given. Is there a reason
why
2014 Sep 12
2
Backup scripts - recycling old backup directories
Folks,
Kevin Korb wrote:
> Have you considered more advanced methods such as subvolume snapshots
> provided by ZFS and BTRFS? At work we were forced to abandon rsync
> - --link-dest because of the amount of time it takes to delete old
> backups when the data is primarily many millions of small files
> (shared web hosting company).
We don't have more advanced methods like
2005 Jun 20
6
sweep() and recycling
Hi
I had a hard-to-find bug in some of my code the other day, which I
eventually
traced to my misusing of sweep().
I would expect sweep() to give
me a warning if the elements don't recycle nicely, but
X <- matrix(1:36,6,6)
sweep(X,1,1:5,"+")
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 2 9 16 23 30 32
[2,] 4 11 18 25 27 34
[3,] 6 13 20 22
2015 Apr 16
2
Recycling directories and backup performance. Was: Re: rsync --link-dest won't link even if existing file is out of date (fwd)
rsync folks,
Henri Shustak <henri.shustak at gmail.com> wrote:
> LBackup always starts a new backup snapshot with an empty directory. I
> have been looking at extending --link-dest options to scan beyond just
> the previous successful backup to (failed backups / older backups).
> However, there are all kinds of edge cases which are worth considering
> with such a changes. At
2018 Jan 04
3
silent recycling in logical indexing
Sorry if this has been covered here somewhere in the past, but ...
Does anyone know why logical vectors are *silently* recycled, even
when they are incommensurate lengths, when doing logical indexing? This
is as documented:
For ?[?-indexing only: ?i?, ?j?, ?...? can be logical
vectors, indicating elements/slices to select. Such vectors
are recycled if necessary to match
2010 May 16
3
Vector recycling and zoo
I am a bit confused about the different approaches taken to recycling in
plain data frames and zoo objects. When carrying out simple arithmetic,
dataframe seem to recycle single arguments, zoo objects do not. Here is an
example
> x <- data.frame(a=1:5*2, b=1:5*3)
> x
a b
1 2 3
2 4 6
3 6 9
4 8 12
5 10 15
> x$a/x$a[1]
[1] 1 2 3 4 5
> x <- zoo(x)
> x$a/x$a[1]
1
1
>
2016 Sep 06
3
R (development) changes in arith, logic, relop with (0-extent) arrays
Yesterday, changes to R's development version were committed, relating
to arithmetic, logic ('&' and '|') and
comparison/relational ('<', '==') binary operators
which in NEWS are described as
SIGNIFICANT USER-VISIBLE CHANGES:
[.............]
? Arithmetic, logic (?&?, ?|?) and comparison (aka
?relational?, e.g.,
2017 Dec 13
0
Add vectors of unequal length without recycling?
Without recycling you would get:
u <- c(10, 20, 30)
u + 1
#[1] 11 20 30
which would be pretty inconvenient.
(Note that the recycling rule has to make a special case for when one
argument has length zero - the output then has length zero as well.)
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Dec 12, 2017 at 9:41 PM, Maingo via R-help <r-help at r-project.org>
wrote:
2002 Jun 13
1
bad fisher.test() bug (PR#1662)
(CC'ed to R-bugs ``for the record'')
>>>>> "BDR" == Prof Brian D Ripley <ripley@stats.ox.ac.uk> writes:
BDR> On Thu, 13 Jun 2002, Martin Maechler wrote:
>> >>>>> "MM" == Martin Maechler
>> <maechler@stat.math.ethz.ch> writes:
>>
>> >>>>> "BDR" ==
2017 Dec 13
4
Add vectors of unequal length without recycling?
I'm a newbie for R lang. And I recently came across the "Recycling Rule" when adding two vectors of unequal length.
I learned from this tutor [ http://www.r-tutor.com/r-introduction/vector/vector-arithmetics ] that:
""""""
If two vectors are of unequal length, the shorter one will be recycled in order to match the longer vector. For example, the
2017 Aug 31
4
Recycle Repository Issue
I have done some searching on the Internet, but not been able to find a solution to my problem. I hope you can help me with this.
I have a server at home that runs on FreeBSD 10.3. The file system is ZFS. I have two ZFS pools: tank and fun. I share my ZFS file systems using Samba v4.6.2.
When I add recycle bin functionality for a share like below, it work like a charm:
[mac]
path =
2005 Dec 09
1
lattice legend colors recycling sooner than expected
dear r-helpers,
it seems the colors in an automatically generated lattice legend
recycle after the 8th color, even when the user has set e.g.
superpose.symbol$col to be longer than 8. the following example will
illustrate what i mean:
z <- data.frame(x=rep(letters[1:15], each=4), y=rnorm(60),
groups=rep(LETTERS[1:3], 20))
library(nlme)
library(lattice)
plot(groupedData(y ~ x |
2018 Jan 04
3
silent recycling in logical indexing
Hmm.
Chuck: I don't see how this example represents
incomplete/incommensurate recycling. Doesn't TRUE replicate from
length-1 to length-3 in this case (mat[c(TRUE,FALSE),2] would be an
example of incomplete recycling)?
William: clever, but maybe too clever unless you really need the
speed? (The clever way is 8 times faster in the following case ...)
x <- rep(1,1e6)
2016 Sep 07
3
R (development) changes in arith, logic, relop with (0-extent) arrays
Martin
I'd like to make a comment; I think that R's behaviour on 'edge' cases like
this is an important thing and it's great that you are working on it.
I make heavy use of zero-extent arrays, chiefly because the dimnames are an
efficient and logical way to keep track of certain types of information.
If I have, for example,
a <- array(0,c(2,0,2))
dimnames(a) <-
2004 May 12
4
points(*, pch=NA) does *not* not draw the point (PR#6876)
We say in ?points that 'pch' (among others) can be set to NA
for omitting a point.
While this works in cases where there's at least one point left
to draw, it fails in a simple case like this :
> plot(1, pch = NA)
Error in plot.xy(xy.coords(x, y), type = type, pch = pch, col = col, bg = bg, :
invalid plotting symbol
Both in R-patched or R-devel.
A simple workaround {hinting
2007 Oct 09
1
recycle: touching failed operation not permitted
Hello
In /var/log/messages I have got a lot of errors such as :
"recycle: touching .recycle/jankowski/500/500_U/21-10-5U.~TIF failed,
reason = Operation not permitted "
~~.tif it's a temp file and I noticed that samba deletes this files to
recycle .
My smb.conf
comment = Rastry
public = yes
invalid users = @geodeta,@ewidencja,
path = /home/samba/rastry
2003 Jan 30
1
empty array indexing with dimnames (PR#2507)
On Thu, 30 Jan 2003 maechler@stat.math.ethz.ch wrote:
> This is a bug that will not often trigger, and only happens for arrays
> (but not matrices) ending up with 0 dimensions:
The bug is a missing else branch of an if condition at line 431 of
subset.c.
I don't think the buglets are wrong. You don't drop length 0 dimensions.
If you did, the object would be of the wrong length.
2007 Oct 19
1
Manual recycling of vectors?
Sorry if this is already answered somewhere, but I could not find it.
I have two vectors, x,y, of different length, and I want to recycle
the smaller one (whichever one it is) until they have the same
length. I was wondering if there is a anything better than something
like:
x<-1:3
y<-1:10
x<-rep(x,length=max(x,y))
y<-rep(y,length=max(x,y))
or some variant of that using if to