Displaying 20 results from an estimated 10000 matches similar to: "detecting null values in a CSV file"
2008 Sep 14
4
Fetching a range of columns
Hello,
I realize that using: x[x > 3 & x < 5] I can fetch all elements between 3
and 5. However I read in from a CSV file, and I would like to fetch all
columns from within a range ( 842-2411). In teh past, I have done this to
fetch just select few columns:
data <- read.csv(filein, header=TRUE, nrows=320, skip=nskip)
data_filter <- data[c(2,12,17)]
2008 Sep 08
2
(no subject)
Hello all,
I have a very large file (280k lines) containing three comma separated
variables. The first variable is a 0 or 1 depicting a pass or fail. The
other two are X and Y coordinates. Is there a good way I can represent this
data in a chart/plot form other than using a 3d histogram? If I need to use
the histogram, should I base my chart off the example contained in the RGL
package?
Thanks a
2008 Aug 25
2
Large Data Set Help
I am attempting to perform some simple data manipulation on a large data
set. I have a snippet of the whole data set, and my small snippet is 2GB in
CSV.
Is there a way I can read my csv, select a few columns, and write it to an
output file in real time? This is what I do right now to a small test file:
data <- read.csv('data.csv', header = FALSE)
data_filter <- data[c(1,3,4)]
2008 Sep 25
6
Conversion to Binary (base2)
Hello,
Is there a simple way to take an input, and convert the decimal integers to
binary? In this case, I have a CSV file, and I need to convert the first
column of every line to binary.
Thanks.
--
Jason Thibodeau
[[alternative HTML version deleted]]
2005 Mar 30
1
RE: Shorewall and an inline IDS(snort-inlineorhogwash)
Plus I would like to let you know that it works like a charm.
Snort can now see those packets.
-----Original Message-----
From: shorewall-users-bounces@lists.shorewall.net
[mailto:shorewall-users-bounces@lists.shorewall.net] On Behalf Of
Thibodeau, Jamie L.
Sent: Wednesday, March 30, 2005 9:25 AM
To: Mailing List for Shorewall Users
Subject: RE: [Shorewall-users] Shorewall and an inline
2005 Mar 30
1
RE: Shorewall and an inline IDS (snort-inlineorhogwash)
You are awesome!!!!
-----Original Message-----
From: shorewall-users-bounces@lists.shorewall.net
[mailto:shorewall-users-bounces@lists.shorewall.net] On Behalf Of Tom
Eastep
Sent: Wednesday, March 30, 2005 9:11 AM
To: Mailing List for Shorewall Users
Subject: Re: [Shorewall-users] Shorewall and an inline IDS
(snort-inlineorhogwash)
Tom Eastep wrote:
> Thibodeau, Jamie L. wrote:
>
2005 Jan 21
1
Bridge Questions
I have started looking at implementing shorewall as a bridge and had a
few minor questions.
First off if I want to define hosts in the hosts file would it be
#ZONE HOST(S) OPTIONS
Trust br0:eth0:xxx.xxx.xxx.xx
net br0:eth0
loc br0:eth1
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS LINE -- DO NOT REMOVE
Or like
#ZONE HOST(S)
2004 Oct 28
5
Maximum ProxyArp
Does anyone know what a good maximum number of machines I should place
in the ProxyArp list?
Thanks
Jamie
2009 Dec 11
2
Why a list of NULL's are reduced to NULL?
The following examples are confusing to me. It is OK, to assigned NULL
to one element in a list. The result is still a list. However, a list
of NULL's are reduced to NULL. I don't understand how this conversion
occurs. Could somebody let me know what is going on?
> X=matrix(1:8, nr=4)
> apply(X,1, function(x) {if(x[[1]]==3){NULL}else{x[[1]]}})
[[1]]
[1] 1
[[2]]
[1] 2
[[3]]
NULL
2004 Oct 21
3
Ucarp and shorewall
Has anyone successfully setup a shorewall Ucarp solution?
2006 Mar 07
1
possible bug: NULL equality in lists.
I was messing around with R and I found an example R behaving oddly:
a <- alist(NULL, "bob", c(3,6,2,3))
a
a == 'NULL'
a == "NULL"
a == 'cat'
If I create a list with a NULL value
>a <- alist(NULL, "bob", c(3,6,2,3))
>a
[[1]]
NULL
[[2]]
[1] "bob"
[[3]]
c(3, 6, 2, 3)
and run some tests on 'a', the '==
2004 Nov 11
5
URGENT!! some large websites cant be surfered
Clients: Some sites just show the top area not the full page. Some sites
cant be reached at all.
I think it 90% may be the MTU/MSS problem. But I already have set the
shorewall.conf CLAMPMSS=1400 or CLAMPMSS=Yes, but it doest make things
good.
I would be mad. Anybody helps me would so appreciated!
If you want know more info. to diag my problem, I would be please to.
2004 Nov 16
2
I think I did something wrong
If I''m using proxyarp and I try to ping that host from a machine in the
net(untrusted) zone should I get a reply from the firewall address
saying Destination host unreachable?
I would like it to just time out.
Jamie
2004 Dec 13
2
Accounting and MRTG
I have a quick question regarding accounting rules.
This is the contents of my accounting file.
*for reference eth1 is my net interface eth0 is my loc interface
ezp:COUNT - eth1 129.15.70.46 tcp 80
ezp:COUNT - 129.15.70.46 eth1 tcp - 80
smag:COUNT - eth1 129.15.70.24 tcp 80
smag:COUNT - 129.15.70.24 eth1 tcp - 80
2012 Sep 05
2
using sqldf's read.csv.sql to read a file with "NA" for missing
I'm trying to use sqdf's function read.csv.sql to read CSV files in which the missing values are represented by NA's.
Plain old read.csv works fine on these files, but they are rather large and I'd like to filter using sql-like statements.
However, even if I specify field.types correctly and nrows=-1, it still turns the columns with NA's into chars or 0.
I'm trying to make
2011 Mar 25
1
Appending data to a data.frame and writing a csv
Dear R helpers
exposure <- data.frame(id = c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20),
ead = c(9483.686,50000,6843.4968,10509.37125,21297.8905,50000,706152.8354, 62670.5625, 687.801995,50641.4875,59227.125,43818.5778,52887.72534,601788.7937, 56813.14859,4012356.056,1419501.179,210853.4743,749961,6599.0862),
pd =
2006 Feb 22
0
Problem: Null values in a CSV format fixture show up a 0 in the test database
Hi all,
I''m running into a strange problem. I''m trying to get null values to
load from a fixture in CSV form into my test database, but they show
up as 0 (zero).
I have a table people (simplified version below)
create table people (
id int not null auto_increment,
target int null default null,
name varchar(50) not null,
primary key(id)
);
that has a
2005 Mar 30
7
RE: Shorewall and an inline IDS (snort-inline orhogwash)
I made an atempt to run snort_inline and shorewall on the same system
but I could not get snort to see the packets.
Maybe someone with a little more iptables knowledge could tell me what
I''m doing wrong or if its possible to have the systems setup so that it
places packets that the firewall would allow into QUEUE.
After setting up and starting shorewall I then issue the following
2004 Oct 11
4
Detecting unused accounts
I'm looking for a way to figure out which accounts have not been logged in
to in over n days. It occurs to me that, perhaps, the way to do this
would be to look at the mtime on one of the dovecot-maintained files, like
'dovecot-uidlist'. Is there a particular file that would be modified on
(almost) every login, whether it be via POP or IMAP?
-Ben
--
Ben Beuchler
2007 Apr 20
2
limmaGUI
Dear all,
I have a question about limmaGUI that is usually run in R environment.
My problem is loading data into the programm. I have 6 gpr files that
apparently are not compatible with limma. Everytime I'm trying to load
the data (including a RNA targets file, an error appears:Error reading
files. that I'm not sure,but seems to have something to do with the
format of my files