Displaying 20 results from an estimated 80 matches similar to: "summary table newbie question"
2009 Oct 29
5
Summing identical IDs
Hello All,
I would like to select records with identical IDs then sum an attribute
then and return them to the data frame as a single record. Please consider
Acres<-c(100,101,100,130,156,.5,293,300,.09)
Bldgid<-c(1,2,3,4,5,5,6,7,7)
DF=cbind(Acres,Bldgid)
DF<-as.data.frame(DF)
So that:
Acres Bldgid
1 100.00 1
2 101.00 2
3 100.00 3
4 130.00 4
5 156.00 5
2009 Mar 26
2
loading and manipulating 10 data frames-simplified
I have to load 10 different data frames and then manipulate those 10 data
frames but would like to do this in a more simplified code than what i am
doing. I have tried a couple of approaches but cannot get it to work
correctly.
So the initial (bulky) code is:
#Bin 1
#-------
#Loads bin data frame from csv files with acres and TAZ data
Bin1_main <-
2013 Feb 12
3
improving/speeding up a very large, slow simulation
Dear R help;
I'll preface this by saying that the example I've provided below is pretty
long, turgid, and otherwise a deep dive into a series of functions I wrote
for a simulation study. It is, however, reproducible and self-contained.
I'm trying to do my first simulation study that's quite big, and so I'll
say that the output of this simulation as I'd like it to be is
2008 Nov 07
1
For Loop - loading 10 sets of data and calculating
I am trying to simplify my code by adding a for loop that will load and
compute a sequence of code 10 time. They way i run it now is that the same
8 lines of code are basically reproduced 10 times. I would like to replace
the numeric value in the code (e.g. Bin1, Bin2....Bin10) each time the loop
goes around. Below i tried doing this with a simple for loop and adding the
string character before
2008 Sep 24
2
Calling object outside function
What i thought was a simple process isnt working for me. After i create an
multiple objects in a function (see below), how to i use those objects later
in the program. I tried calling the function again and then the object i
wanted and it worked the first time but now it doesnt( i think i defined the
object outside the function accidently so then it worked but when run
properly it doesnt). I
2008 Sep 30
1
conditional loop
I am looking up a number based upon a randomly selected number and then
proceed to the rest of my code if the corresponding value is greater than or
equal to yet another value.
so if
Dev_Size = 14
and my randomly selected number is 102
and i am looking up 102 in the following table
100 21
101 4
102 9
103 52
104 29
So i select the the corresponding value of 102, which is 9 and
2011 Jun 14
5
RHEL 6 Optional channel
It looks like all of our RHEL 6 systems now need to connect to the RHN
Optional Channel. (puppet, ruby vs. selinux deps)
Is there a way to do that with a script without having to enter RHN userid
and password? Is there a way to add a channel during kickstart?
Thanks
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this
2004 May 13
2
xtable without rownames
When I tried to read all the entries (after searching the FAQ) for "row
names xtable", I get
START-INFO-DIR-ENTRY * R FAQ: (R-FAQ). The R statistical system ...
... xtable* Export data to LaTeX and HTML tables. ... For dropping the row
names of a matrix
`x', it may be easier to use `rownames(x) <- NULL', similarly for column ...
2009 Jun 03
1
setrubleshootd dominating
Anyone have any idea as to why setroubleshootd would be dominating the
system:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2371 root 25 0 1884m 1.8g 4100 R 100.2 44.7 680:06.40
setroubleshootd
Frank M. Ramaekers Jr.
Systems Programmer MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co. Phone: (254)761-6649
1200 Wooded Acres Dr.
2011 Apr 30
10
How to check if a package exists
Dear all,
I''m trying to do this. Say for example, I want this link: "liblcgdm.so
-> liblcgdm.so.1.8.0" to be present on the client only if "lcgdm-
libs-1.8.0-1sec.sl5" is already listed. I already have this to create
the link:
file {
''liblcgdm.so'':
ensure => symlink,
name => ''/opt/lcg/lib/liblcgdm.so'',
2006 Apr 11
1
Question on clicking
This isn't an asterisk question, more of a telco question. Hopefully
someone on this list involved with telco can answer it.
I have a client who is using asterisk with analog phone lines. There
is a bad clicking noise on the line. "Click.... Click.... Click".
We have narrowed it down to being the farmer's fencer next door. (And
by next door I mean 2 acres away).
2009 Sep 29
3
Script consumes memory
I have the following script that when executed, consumes memory and
makes the system inaccessible. All process are halted.
First, I don't understand what is wrong with the script
Secondly, I'm surprised that Linux allows this to run unchecked to the
detriment of the entire system.
---- SCRIPT -----
#!/bin/sh
FTP="/usr/bin/ftp"
#
VMID="asystem.ourcompany.com"
2008 Apr 11
3
MS Exchange to CentOs (multiuser)
Is there a way to get mail from a MS Exchange server that is addressed
as user at host.domain.com rather than the user at domain.com so that users on
host.domain.com can read their mail on that host (CentOS). (I'm
assuming that Exchange needs to know about host.domain.com, somehow.)
Frank M. Ramaekers Jr.
Systems Programmer MCP, MCP+I, MCSE & RHCE
American Income Life
2009 Jun 03
5
Removing old kernels
I have the following kernels on my /boot:
2.6.18-128.1.6
2.6.18-92.1.18
2.6.18-92.1.22
I'm low on /boot space and need to remove the oldest version. It
appears that I cannot use yum to remove since all of the versions are
the same (only the release is different). I believe that I can use rpm
to remove the old version, but I also need to remove them from the
grub.conf. Any other
2005 Jul 24
2
Busy Lamp Field SIP Phone
Does anyone have a recommendation for a good SIP phone with a busy lamp
field? I need my operator to be able to see extension status for about
20 extensions and transfer via HOLD + extension button. I've got a pair
of SNOM 360s with the sidecar, but I'm very disappointed with them. The
buttons are cheap and rubbery like a Sipura 841, the handset cord is
short and cheap, the audio quality
2011 Mar 18
4
Inventory service and dashboard 1.1.0 rc1
I just set up the latest dashboard release candidate in hopes of
trying out the new inventory service. After modifying the puppet-
dashboard config to use the inventory service and after changing my
auth.conf I gave it a whirl but ran into some issues..
I initially tried using fact_terminus = yaml and was able to do some
queries via curl. I''m currently using storeconfigs so setting up
2007 Apr 18
0
Chavez also 6
GREAT NEWS ARE Hitting ON FR IDAY FOR CRSVF!!!
DON'T miss THIS INVESTMENT MOMENT, PLACE {CRSVF} ON THE RADA`R!!!
Tra de Al er t: FRIDAY, October 06, 2006
"Symb0l": CRSVF.OB
Current Pri ce : $0.15
Pr evClose : $0.18
Rec ommendation: ST RON G-B UY
WATCH THIS STO CK GO HIGHER AND HIGHER
DON'T MI SS THIS INVE STM ENT MOMENT, PLACE CRSVF ON THE PORT FO LIO!!!
About
2007 Apr 18
0
Chavez also 6
GREAT NEWS ARE Hitting ON FR IDAY FOR CRSVF!!!
DON'T miss THIS INVESTMENT MOMENT, PLACE {CRSVF} ON THE RADA`R!!!
Tra de Al er t: FRIDAY, October 06, 2006
"Symb0l": CRSVF.OB
Current Pri ce : $0.15
Pr evClose : $0.18
Rec ommendation: ST RON G-B UY
WATCH THIS STO CK GO HIGHER AND HIGHER
DON'T MI SS THIS INVE STM ENT MOMENT, PLACE CRSVF ON THE PORT FO LIO!!!
About
2007 Jun 15
1
process show uid not user
One of my user's processes shows up with the uid (numeric) rather than
the user (alpha) on the ps command. The /etc/passwd file shows:
theuser:x:500:501:The user:/home/theuser:/bin/bash
But, 'ps -ef' shows the uid:
500 9041 8864 0 11:20 pts/1 00:00:00 ps -ef
Allother active users show the user. Ideas?
Frank M. Ramaekers Jr.
Systems Programmer
MCP,
2008 Mar 03
1
phpmyadmin hang..
It seems that I can never get through a phpmyadmin session w/o it
hanging on "Waiting for http://....". The only way I have found to
correct this is to cycle Apache. I can always get past the signon
portion, but it hangs at various portions of selecting DBs or Tables.
CPU is not overly active, all httpd daemons running, no myphpadmin
remnants running. Can't find any problems in