Displaying 20 results from an estimated 10000 matches similar to: "yum force"
2018 Feb 22
2
Duplicate column names created by base::merge() when by.x has the same name as a column in y
>>>>> Gabriel Becker <gmbecker at ucdavis.edu>
>>>>> on Wed, 21 Feb 2018 07:11:44 -0800 writes:
> Hi all,
> For the record this approach isnt 100% backwards compatible, because
> names(mergeddf) will e incompatibly different. Thatx why i claimed
> bakcwards compatable-ish
exactly.
> That said its still worth considering
2024 Feb 07
1
[EXTERNAL] Re: NOTE: multiple local function definitions for ?fun? with different formal arguments
I put the idea below into a function that gives nicer looking results.
Here's the new code:
dupnames <- function(path = ".") {
Rfiles <- pkgload:::find_code(path)
allnames <- data.frame(names=character(), filename=character(), line
= numeric())
result <- NULL
for (f in Rfiles) {
exprs <- parse(f, keep.source = TRUE)
locs <-
2012 Sep 10
4
Identifying duplicate rows?
Hi,
I am trying to identify duplicate values in a column in a date frame. The
duplicated function identifies the duplicate rows in the data frame but it
only does this for the second record, not both records. Is there a way to
mark both rows in the data frame as TRUE?
dfA$dups<-duplicated(dfA$Value)
dfA
Site State Value dups
929 VA 73 FALSE
929 VA 73 TRUE
930 VA 76 FALSE
930 VA 76 TRUE
931
2006 Sep 01
2
4.4 yum update problem
On one of my machines yum hung up while installing the updates and
could not be interrupted or killed. I rebooted the machine the next
day, but now a 'yum update' reports:
Error: Missing Dependency: openssh = 3.9p1-8.RHEL4.12 is needed by
package openssh-askpass-gnome
and
Error: Missing Dependency: rpm = 4.3.3-13_nonptl is needed by package
rpm-build
even though rpm -q says those
2018 Feb 23
0
Duplicate column names created by base::merge() when by.x has the same name as a column in y
Thanks Martin!
Can you clarify the functionality of the 'no.dups' argument so I can change
my patch to `data.table:::merge.data.table` accordingly?
- When `no.dups=TRUE` will the suffix to the by.x column name? Or will it
take the functionality of the second functionality where only the column in
y has the suffix added?
- When `no.dups=FALSE` will the output be the same as it currently
2007 Dec 19
2
Problem after crash during yum update
I was doing a "yum -y update" on a CentOS 4.5 system to get to 4.6
when my system froze. I couldn't ping it nor switch to an alternate
console. It was completely frozen. The only recourse was to cycle
the power. So I did that, and now when I try to do a "yum update" I
get the following error:
[many package header downloads deleted]
tkinter-2.3.4-14.4.el4_6.
2018 Feb 20
3
Duplicate column names created by base::merge() when by.x has the same name as a column in y
Hi Frederick,
It looks like I didn't overwrite the patch.diff file after the last edits.
Here's the correct patch (attached and copied below):
Index: src/library/base/R/merge.R
===================================================================
--- src/library/base/R/merge.R (revision 74280)
+++ src/library/base/R/merge.R (working copy)
@@ -157,6 +157,14 @@
}
2016 Apr 28
0
Same sum, different sets of integers
This is not the most efficient, but gets the idea across. This is the
largest sum I can compute on my laptop with 16GB of memory. If I try to
set N to 9, I run out of memory due to the size of the expand.grid.
> N <- 8 # value to add up to
> # create expand.grid for all combinations and convert to matrix
> x <- as.matrix(expand.grid(rep(list(0:(N - 1)), N)))
>
> # generate
2005 Jun 22
5
Centos 3 - yum update error (rpm-libs)
Hello *,
i get following error:
Downloading needed headers
Resolving dependencies
.....Unable to satisfy dependencies
Package rpm-libs needs rpm = 4.2.3-13.WB2, this is not available.
I switch from WhiteBox to Centos. How can resolve this problem?
2012 May 22
2
yum problem with glibc
Is anyone getting a yum update problem with glibc and glibc-common?
I'm getting the error message
-------------------------------
Error: Protected multilib versions: glibc-2.12-1.47.el6_2.12.x86_64 !=
glibc-2.12-1.47.el6_2.9.i686
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
bash-4.1.2-9.el6_2.x86_64 is a duplicate with bash-4.1.2-8.el6.centos.x86_64
2016 Apr 28
1
Same sum, different sets of integers
I came up with this, using recursion. Short and should work for n
greater than 9 :)
Peter
sumsToN = function(n)
{
if (n==1) return(1);
out = lapply(1:(n-1), function(i) {
s1 = sumsToN(n-i);
lapply(s1, c, i)
})
c(n, unlist(out, recursive = FALSE));
}
> sumsToN(4)
[[1]]
[1] 4
[[2]]
[1] 3 1
[[3]]
[1] 2 1 1
[[4]]
[1] 1 1 1 1
[[5]]
[1] 1 2 1
[[6]]
[1] 2 2
[[7]]
[1] 1 1 2
2006 Jun 20
1
Preventing Dups in HABTM
I have a habtm that looks like:
report
has_and_belongs_to_many :subscribers
subscriber
has_and_belongs_to_many :reports
When I add a report to a subscriber, I have to run code like:
raise "already there, idiot!" unless
report.subscribers.find_by_id(subscriber_id).nil?
Is there a better way to avoid adding duplicative associations? has_many
:through seems like overkill for this
2007 Mar 03
2
Question about stubborn RPM
Hi,
I've made mysqlf a RPM and installed it.
After that i did what i shouldn' do: remove the files it installed.
Now, i wnat to install it agai and i can't.
Already rebuilt the rpm database ( rpm -vv --rebuilddb), used --force,
--replacepkgs, --replacefiles, --justdb, --erase, --initdb, but no good.
Been at rpm.org, but found nothing that i already know.
Any help would be
2016 Aug 08
2
RPM help
Hello,
My installation of clamav is hosed up. It won't start due to a malformed
database.
I ran freshclam and updated the database but still have the problem.
I was going to uninstall clamav but there are other app dependencies.
Virtualmin is one.
How can I do an uninstall/re-install without hosing more stuff up?
I have found some examples, --nodeps, --replacepkgs and
2005 May 20
3
How NOT to have a disk recognized by grub?
Greetings:
I'm upgrading a fileserver running 3.4 (upgrade to a larger disk). I
backed up the data from the "old" disk and slapped in a newer, larger
disk and installed Centos-3.4. No problems.
Now, there are some files on the "old" disk that I forgot to move to the
back-up disk, so I'd like to mount the "old" disk as /dev/hdd and reboot
the system and
2017 Oct 20
3
Why dup()?
I've been using ssh without it duping stdout and stderr, and had no
problems.? I think this change should be made to the master source.
WHAT IS THE PROBLEM WITH SSH RIGHT NOW?
It duplicates FILENO_STDOUT and FILENO_STDERR, thus there are two
descriptors for each of these files.? When the remote program closes its
stdout or stderr, the remote sshd sends the appropriate message to the
local
2005 Apr 21
5
kbd remove error
hi guys
i just partially upgrade centos 3.4 to centos 4(using apt-get) and im
having a problem removing kdb 1.08-10.2, kbd 1.12-2 is already
installed and im trying to remove kdb 1.08 through apt-get and rpm -e
here's what happened when i use apt-get:
# apt-get remove kbd#1.08-10.2
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
2013 Feb 04
0
Subscript out of Bounds Lapply
Hi all,
I've written a function for a simulation which will - in general operation without being specific to the simulation scenario, duplicate or delete columns from a matrix based on two values which determine how many as a proportion of the matrix: the two values are always between 0.01 and 0.99:
Dup.Dels <- function(matrix, values){
p.dup <-
2016 Jun 22
0
x86: How to Force 2-byte `jmp` instruction in lowering
Hmm. Odd. I just rebuilt from scratch and it seems to work with
the test/CodeGen/X86/xray-attribute-instrumentation.ll test case outputing
straight to obj:
llc -filetype=obj -o ~/a.o -mtriple=x86_64-apple-macosx <
test/CodeGen/X86/xray-attribute-instrumentation.ll
What test case are you using?
In any case, the issue appears to be that llvm doesn't realize that the
target address is
2018 Feb 18
2
Duplicate column names created by base::merge() when by.x has the same name as a column in y
Thanks Gabriel,
I think your suggested approach is 100% backwards compatible
Currently in the case of duplicate column names only the first can be
indexed by its name. This will always be the column appearing in by.x,
meaning the column in y with the same name cannot be accessed. Appending
".y" (suffixes[2L]) to this column means it can now be accessed, while
keeping the current