Displaying 20 results from an estimated 300 matches similar to: "Agreggating data using external aggregation rules"
2011 Mar 28
2
"Holes" in a data frame with time intervals
Good morning,
I am facing a problem very easy to solve with a program, but not too
easy (at least IMHO) with a "declarative" approach.
I have a dataframe df with some information about bank branches with a
validity time associated (start date/end date, format YYYY-MM-DD) to
some attributes (for example number of employees assigned).
The following example will clarify this
2010 May 06
2
Data frame "pivoting"
Dear R experts,
I am trying to solve this problem, related to the possibility of
changing the shape of a data frame using a "pivoting-like" function.
I have a dataframe df of observations as follows:
ID VALIDITY YEAR PROPERTY PROPERTY VALUE
A1 2007 P1 V1
A1 2007 P2 V2
A1 2007 P3 V3
A1 2008 P1 V10
A1 2008 P2 V20
A2 2007 P5 V50
A2 2008 P6 V20
A3 2007
2012 Jun 15
1
R: Securities earning covariance
Good morning.
I have a real fuzzy question to ask; we have a calculation engine which
is composed by n virtual machines each of them with a jvm 2GB of memory
on Linux Red Hat each of them with the "R" package which comes along
with the Red Hat Linux distribution.
We have now to increase the number of "nodes" trying to avoid to use new
virtual or physical machines. So my
2008 Jun 05
2
Securities earning covariance
Good morning,
I am a new R user and I am trying to learn how to use it.
I am trying to solve this problem.
I have a dataframe df of daily securities (for a year) earnings as
follows:
SEC_ID DAY EARNING
IT0000001 20070101 5.467
IT0000001 20070102 5.456
IT0000001 20070103 4.954
IT0000001 20070104 3.456
..........................
IT0000002 20070101 1.456
IT0000002 20070102 1.345
2008 Sep 18
1
Adding 1 month to a dataframe column
Dear R experts,
I have a problem in modifying one column of a dataframe with a datatime
format using a datetime operator.
Here is my dataframe A:
DATACONT PROVINCIA VALORE
1 2007-12-31 MI 1
2 2007-12-31 PV 2
3 2007-12-31 NA 3
4 2007-12-31 MI 4
5 2007-12-31 RM 5
6 2007-12-31 RM 6
7 2007-12-31 MI 7
8
2012 Jun 15
1
R under JVM
Dear all,
first of all I apologize for not having changed the object.
I just re-used an old email I sent some time ago.
The let us go into the question.
Our architecture is the following:
A (set of) java programs running under a jvm that passes data and instructions to an R instance via RNI
and at the end of the process extracts calculated data from R.
The question is: can I
2007 Dec 21
0
malloc problem on smbd
Hi guys,
I have samba 3.0.24 on AIX 5.3 ML 6 and sometimes in smbd.log, I found
many entry like this : get_print_db: malloc fail !
To recover situation, smbd must be restarted.
Any idea ?
bye
** Le e-mail provenienti dalla Banca d'Italia sono trasmesse in buona fede e non
comportano alcun vincolo ne' creano obblighi per la Banca stessa, salvo che cio' non
sia espressamente
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame.
For instance
> ddTable <-
data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry"))
I want a dataset that is
Id Name
1 Paul
2 Bob
> unique(ddTable)
Will give me all 4 rows, and
> unique(ddTable$Id)
Will give me c(1,2), but not accompanied by the name column.
2007 Mar 22
8
Shape own router
On 2/19/07, Salatiel Filho <salatiel.filho@gmail.com> wrote:
> Well , thanks to imq all my client machines are now shaped and
> everything is great ...
> But now i have a doubt , is there a way to shape the traffic that goes
> to the route [doing a wget from the router for example ]?
>
>
> I have a PREROUTING IMQ0 and a POSTROUTING IMQ1 , everything is
> working like
2007 Feb 04
4
tc ingress + iptables mark problem
Hi guys , i am starting to "play" with qos in linux. Well , i am
trying to setup an ingress filter but i do not know why it is not
working.
tc add qdisc dev eth0 ingress
tc filter add dev eth0 parent ffff: protocol ip prio 1 handle 1 fw
police rate 160kbit burst 256kbit drop flowid :1
After that :
iptables -A PREROUTING -t mangle --sport 80 -j MARK --set-mark 1
So , i think this
2007 May 07
2
IMQ KERNEL PANIC 2.6.17.14 AND 2.6.21.1 No chain/target/match by that name
After starting to shape local traffic now i am getting a lot of kernel
panics in tcp_retransmit, so i decided to update my kernel from
2.6.17.14 to 2.6.21.1 , the problem is that after that i get:
# iptables -t mangle -A POSTROUTING -o eth0 -j IMQ --todev 0
iptables: No chain/target/match by that name
so i can not redirect ttraffic to IMQ device.
and modules are loaded.
-
# lsmod
Module
2007 Sep 16
5
doubt about bridge qdisc
Hi guys, i have a little doubt ;
I have eth0 ethernet and eth1 wireless , and they are bridged in br0
Is there any difference in the behavior between do
tc qdisc add dev br0 root sfq
OR
tc qdisc add dev eth0 root sfq && tc qdisc add dev eth1 root sfq
--
[]''s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o
2010 Jan 23
1
Help to fix the remaining problems when migration from windows to a linux print server
Hi, i am trying to migrate my print servers from windows to linux ,
everything is getting really nice but i still face a few problems ,
and since i don't know if i need help from cups or samba guys i will
post to both lists, so maybe someone can give me some help.
Well, i have now cups and samba working just fine, i can authenticate
my users in cups from Active Directory using winbind and
2010 Apr 22
1
PRIO qdisc + iptables TOS target
i am trying to do some traffic classification using the PRIO qdisc and
i am having a few problems.
I have a root htb class:
tc qdisc add dev imq0 root handle 1: htb default 255 r2q 1
tc class add dev imq0 parent 1: classid 1:1 htb rate 768kbit
and a child PRIO
tc class add dev imq0 parent 1:1 classid 1:99 htb rate 96kbit ceil
600kbit prio 0
tc qdisc add dev imq0 parent 1:99 prio
tc filter
2001 Mar 11
0
PRO MARTINA - LET'S HELP MARTINA
PRO MARTINA - (English version below)
Martina è una bambina di 12 anni affetta da SLERODERMIA che ha
assolutamente bisogno di cure molto costose. La malattia, molto rara,
condurrà questa bambina alla morte, ma c'è la possibilità di alleviare le
sue sofferenze con delle terapie all'avanguardia che si possono effettuare
in un centro specializzato nel Connecticut in America. La
2005 Jul 04
2
RESIDUALS IN THE AR TIME SERIES FUNCTION
Dear all,
It's possible to obtain the residuals with AR time series function.
Thanks in advance,
Massimiliano Talarico
Pianificazione Commerciale - Area Crm
Unicredit Xelion Banca S.p.A.
Via Pirelli 32 - 20124 Milano
Tel.: 02 67360 525
Fax: 02 67738 525
www.xelion.it
[[alternative HTML version deleted]]
2008 Mar 26
0
approxfun + save: problem as R_approx changed package
Hi all,
I recently switched to R version 2.6.2 (from 2.5.0 I was using) on Windows XP.
I have a fair amount of previous data saved in the form of "approxfun" objects created by version 2.5.0, with code basically like this:
> x <- rlnorm(100,10,2)
> f <- approxfun(1:100,x)
> f(5)
[1] 313811.3
> save(f, file="mytest_approx.Rdata")
Now on 2.6.2, when I try to
2007 May 02
7
tc u32 match !port
How can i redirect all traffic that not come from port 80 to a flow ?
i was thing about some like
tc filter add dev imq1 parent 1: protocol ip prio 7 u32 match ip sport
!80 ......
But this not work.
Another doubt, if i have two rules that intersects , for example ,
one filter with u32 match ip src 10.10.10.10 flowid 1:10
and other with u32 match sport 80 0xffff flowid 1:11 , which one will
2004 Apr 14
1
PPTP Server running behind Shorewall
Hi friends, I need help.
I''ve PPTP Server running behind Shorewall. The PPTP server is working OK in my
LAN, but I want to connect outside and It isn''t working.
I''ve configurate shorewall like http://www.shorewall.net/PPTP.htm.
I add only this lines in my rules
DNAT net loc:165.182.15.15 tcp 1723 - IPext
DNAT net loc:165.182.15.15 47 - - IPext
It isn''t
2016 Sep 07
0
DNF update
On 09/06/2016 08:57 PM, Jerry Geis wrote:
> I was searching tonight how to update OLD systems.
> I have C5 and C6 systems that need updating and they are remote systems.
> ...
> Is this a valid option for updating C5 and C6 to take them to C7?
First, a bit of nomeclature clarification is in order. To me, and to
most in the RHEL-derived world, an 'update' means staying within