Displaying 20 results from an estimated 1000 matches similar to: "Re moving Numeric,0 from dataframe"
2008 Dec 12
1
Creating a vector
Good day all,
I am having seom trouble building a simple vector. Below my sample code
shows what ime trying to do and i have pointed out where the issue is. What
happens not is that a single "TAZDetermine_FEET" is selected by i need
multiple values, as many as there are "cands". I am thinking that this
should occur within the for loop and add a
2009 Apr 29
2
Re moving unwanted double values in list
I have a procedure that goes sorts out some numbers based on specidifed
criteria and for some reason the list contains double values in some of the
rows such as:
TAZs <-
[[84]]
[1] 638
[[85]]
[1] 643
[[86]]
[1] 644 732
[[87]]
[1] 651 801
i would like to check list TAZs for double values and remove any if present.
I have tried
if (length(TAZDs==2))
rm(TAZDs[2])
but no luck. I cant
2008 Nov 25
2
creating a new vecotr in a for loop
I have consulted the intro and nabble but have not found an answer to what
should be a simple question, here goes:
I am doing a crosscheck of a data frame and pulling out a single value based
on an inputted value ie based on x i will select y, or if x =2 then my code
returns 7.
x y
1 4
2 7
3 10
4 2
My code currently iterates through for as many times as the length of the x
2008 Nov 26
1
Creating a vector based on lookup function
I am still searching for a solution to what i think is a simple problem i am
having with building a vector in a for loop. I have built a more
understandable example so hopefully that will help..help you, help me, if
you know what i mean.
dev=400
#test location model TAZs to reference
cands=c(101,105,109)
#Create Object of length of cands
candslength=length(cands)
#TEST TAZ Vector
2009 Jan 24
1
Environment change?
So i have a simple question that doesnt require sample code, not sure if that
violates posting rules or not.
Is this:
[1] "111" "112" "113" "114" "115" "116" "118" "119" "120" "123" "125" "126"
[13] "127" "128" "132" "137"
2006 Dec 08
3
Windows clients aren't synching profiles
Hi. I used to have samba set up on a Fedora Core 3 server that acted as a
PDC for a dozen Windows XP clients. I hade roaming profiles working fine.
Then I decided to upgrade (reformat) to Fedora Core 6 for the added harware
support. I didn't save the right files and hosed my roaming profile (SID
issue, I guess). Now I'm remaking the PDC on Fedora Core 6. I'll start
everyone off
2001 Dec 15
1
subset error message
Hello everybody,
I'm trying to subset a data frame "foo", which looks like this:
sent cond raw V1
10 2 A 614 7
11 2 A 724 6
12 2 A 641 5
13 2 A 665 9
33 5 B 510 7
34 5 B 659 7
35 5 B 607 6
37 5 B 467 8
38 5 B 586 9
39 5 B 523 10
57 8 C 858 8
58 8 C 513 9
59 8 C
2004 Nov 30
3
Asterisk for home office
I apoligize in advance for this newbie question on what I perceive as
a mostly advanced level list... I did some searching, but would like
some of your expert opinions.
I'm building an asterisk server to be used in the home, both to learn,
and as proof of concept of applying this solution in a home. To keep
costs down, I'm considering one X100P ($25 ebay clone) card to connect
the
2005 Apr 22
1
writing issues on arm build !
Hi all.
I am a student writing a voip program on ppc for a project for school.
Before I explain my issue, let me apoligize for being extremely newbie :(
Here's the situation:
I am using the ARMV4 release build from the speex website. Right now I am
simply trying to make an encode function using speex that will take an
unsigned char* of raw wav data (8000 samples, 8 bits / sample, mono)
2007 Aug 12
4
freebsd ports provider
I''d like to clarify some points about the ports/package system in FreeBSD. I apoligize
ahead of time if this is
Both packages and ports use the pkgdb system. This isn''t some lame cludge; it''s by design,
and the reason is really quite simple. Packages are built from the ports collection. The
only real difference between them is the mode of delivery.
When you run
2008 Nov 03
2
Join fails with 'SPNEGO login failed: invalid parameter'
Hi,
I am running Samba 3.2.4 on a Solaris 10 SPARC machine. The config is pretty
simple (see below). Security is set to 'domain'. The PDC and BDC are running
3.0.30 without problems.
When joining the machine to the domain with 'net rpc join', it fails with:
Could not connect to server 130.37.79.2
Connection failed: NT_STATUS_INVALID_PARAMETER
when running the net command
2005 Oct 18
0
debugging iproute2
OK, maybe the message was too long...
how can I debug why a packet (eg: icmp reply) that arrives to my box
(tcpdump shows it) and does not show up to ping even if it is:
a. destined to my box
b. is not dropped by iptables
I strongly suspect it is a routing problem, since I only have this if I
define more routing tables. So I think you are the guys/gurus that can
help me...
2015 Dec 24
0
Centos7 poblems with dnssec-keygen
On 12/24/2015 12:54 PM, Robert Moskowitz wrote:
>
> Right now all I want working is rndc. dnssec will be worked on come
> spring.
>
> With all I do in security, it bothers me that the Centos documentation
> specifies MD5. Should be at least SHA1, if not SHA256.
>
>
Oh okay I apoligize, I mis-read your post as asking about generating
DNSSEC keys, due to the command name
2008 Feb 29
0
On the probabilistic distribution
Dear R Community,
I first apoligize to ask statistical questions of general domain,
probably beyond the mere use of R. I want to analyze the following type
of data with R . Total annual fisheries landings have been reported
during 1950-2007 from a given fishery area. I am dealing with annual
fisheries landings proportions (LP) estimated for trophic level (TL)
classes of 0.1increment, i.e. each
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 <-
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
2012 Apr 03
2
Grouping and/or splitting
I have a dataframe imported from csv file below:
Houseid,Personid,Tripid,taz
1,1,1,4
1,1,2,7
2,1,1,96
2,1,2,4
2,1,3,2
2,2,1,58
There are three groups identified based on the combination of first and
second columns. How do I split this data frame?
I tried
aa <- split(inpfil, inpfil[,1:2])
but it has problems.
Output desired is
aa[1]
Houseid,Personid,Tripid,taz
1,1,1,4
1,1,2,7
aa[2]
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
2020 Feb 24
3
*** buffer overflow detected *** accessing invalid FD in libguestfs
We have extended collectd virt plugin to extract info about disk usage from
a libvirt domain using libguestfs. In addition to my previous mail I am
attaching some more infomration about the problem.
Currently the collectd plugin works fine and retrieves the required
statistics. The problem that I face happens after certain number of cycles
(getting disk usage statistics). Collectd is terminated
2010 Feb 23
1
select row based on highest value
Please consider the following
#Data to use
Props<-c("p754921","p754921" ,"p754921","p75506" ,"p75506"
,"p75506","p75506","p75508","p75508","p75508","p75508","p75508")
TAZ<-c(38,37,37,171,171,282,171,46,46,169,169,169)
Area<-c(109828.04, 128134.71, 46469.57,