Displaying 20 results from an estimated 10000 matches similar to: "read.csv reads more rows than indicated by wc -l"
2010 Dec 25
4
2 Ethernet cabling question
Two questions that was not always clear for me [sorry for posting to this list :\]:
##############################################################################################
Q1) when cabling, is the color order important? like:
straight cabling:
A side: white-orange, orange, white-green, blue, white-blue, green, white-brown, brown
B side: white-orange, orange, white-green, blue,
2023 Jun 08
1
Problem with pjsip
Hello everyone.
I allow myself to submit a problem that I can not solve with my VOIP
provider Orange in France
[2023-06-08 13:19:03] ERROR[185091]:
res_pjsip/pjsip_configuration.c:1044 from_user_handler: Error
configuring endpoint 'Biv_Sortie' - 'from_user' field contains invalid
character '@'
[2023-06-08 13:19:03] ERROR[185091]: config_options.c:798
aco_process_var:
2007 Jun 30
3
transactions with two models
Hi,
In Agile Web Development with Rails section on Transactions (p 381)
there are two main examples.
1) making changes in two records in the same database table
2) making changes in two records each in a different *database*
I want to do what is in between: changes in two records each in a
different table of the same database. Suppose they are apples and
oranges tables.
How do I write this?
2011 Mar 21
3
Replacing Period in String
Dear R Users,
I am working with gsub for the first time. I am trying to remove some
characters from a string. I have hit the problem where the period is the
shorthand for 'everything' in the R language when what I want to remove is
the actual periods. In the example below, I simply want to remove the
periods as I have removed the comma, but instead the complete string is
wiped out. I
2011 Dec 12
2
Colours for sunflowerplot
Dear fellow R users,
I would like to draw a "sunflowerplot" because I have data (decade by
month) that plots multiple times on the same x-y co-ordinates. Further I
would like to colour each of the points/sunflower leaves on the plot
according to the group they belong to (i.e. which type of event each
represents within that decade and month). I thought that this would be
relatively
2005 Sep 28
1
boxplot and xlim confusion?
I have some code as shown below. Basically, I would like three
boxplots to be set next to each other with no ylabels on the two
"inner" plots, and I want the same x axis range on all three. However,
it seems like boxplot does not respect the xlim setting. I've tried
the various ways I thought would work (par, boxplot(...xlim=)) but
none of them seem to work. I then tried plot.window,
2012 Aug 30
2
Help on Plot Title where text is "mixed" with numerical carachters
Dear All,
I have the following code set up:
x <-2000
y <-8
z <-3
I would need to use these numbers to show up in my plot title "mixed" with text. The x,y,z numbers would need to change, the text would not. So my title should look like this
"x txt1 y txt2 z txt3"
so if:
txt1=hours
txt2=minutes
txt3=seconds
then my title of the plot should read: 2000 hours
2004 Mar 10
2
data frame filtration
Hi, R-help:
I am a new user of R and am very pleased with R's features. Here I have
one question regarding data frame manipulation. I have a data frame look
like this:
Fruit Condition
1 Orange Good
2 Orange Bad
3 Orange Good
4 Orange Good
5 Orange Bad
6 Apple Good
7 Apple Bad
8 Apple Good
9 Apple Good
10 Apple Bad
11 Apple Good
12 Apple Bad
13
2017 Jun 21
3
Counting with multiple criteria using data table
I have a data.table which is shown below. I want to count combinations of
columns on i and count on j with by. A few examples are given below the
table.
I want to:
all months to show on the output including those that they have zero value
I want the three statements combined in on if possible so the output will
be one data table; that is the outputs are next to each other as manually
2017 Jan 19
2
read.table con .csv separado por "|"
Tenía la versión data.table 1.9.6.- Actualicé a la data.table 1.10.0 y
funcionó tal cual lo indicás. Muchas gracias.
?Para eliminar las " adicionales estoy usando:
library(stringr)
library(plyr)
datos$d_nomenclador <- str_replace(datos$d_nomenclador, pattern='\\","',
replacement="")
datos$nomenclador_descripcion<- str_replace(datos$nomenclador_descripcion,
2006 Jul 06
3
Comparing two matrices [Broadcast]
It might be a bit faster to do matrix indexing:
R> tbm <- as.matrix(tb) # turn it into a character matrix
R> tmat[cbind(match(tbm[,2], rownames(tmat)), match(tbm[,1],
colnames(tmat)))] <- 1
> tmat
Apple Orange Mango Grape Star
A 1 1 1 0 0
O 1 1 0 0 0
M 0 0 1 0 0
G 0 0 0 0 0
S 1 1 1 0
2007 Sep 09
2
What does it mean by "initial value not available"?
Dear friends.
I use ConstrOptim( ) and got error message "initial value not available".
My understanding of "initial value not available" is that one of the
following 3 cases happens:
1.The objective function is not well defined at the point of the initial
value.
2. The differentiation of the objective function is not well defined at the
point of the initial value.
3. The
2006 Jul 06
3
Comparing two matrices
hi:
I have matrix with dimensions(200 X 20,000). I have
another file, a tab-delim file where first column
variables are row names and second column variables
are column names.
For instance:
> tmat
Apple Orange Mango Grape Star
A 0 0 0 0 0
O 0 0 0 0 0
M 0 0 0 0 0
G 0 0 0 0 0
S 0 0 0 0 0
2007 Sep 10
3
plot legend: combining filled boxes and lines
Hello,
I have difficulties combining boxes and lines in plot legend. I
searched previous R-posts and found this (with no solution):
http://tolstoy.newcastle.edu.au/R/help/06/07/30248.html. Is there a
way to avoid boxes behind the line legends?
x1 <- rnorm(100)
x2 <- rnorm(100, 2)
hist(x1, main = "", col = "orange",ylab = "density", xlab = "x", freq
=
2017 Jun 21
0
Counting with multiple criteria using data table
Have you gone through any R tutorials? If not, why not? If so, maybe
you need to spend some more time with them.
It looks like you want us to do your work for you. We don't do this.
See (and follow) the posting guide below for what we might do (we're
volunteers, so no guarantees).
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and
2008 Sep 08
3
extracting max row from data matrix
dear group,
i have a data matrix with some replicate items with different values. I want to extract the row with max value.
for example:
> x
fruit weight
1 apple 1.3
2 apple 1.5
3 apple 1.6
4 orange 1.4
5 orange 1.6
x is a data frame.
I want to extract unique items from fruits that has max weight.
that is:
3 apple 1.6
5 orange 1.6
I want to be able to use
2007 Dec 11
4
X100P Fxo card headaches
Hello List,
Im just dipping my feet into the asterisk world, and im having major
fxo problems
Im running Asterisk (from svn) + libpri (from svn) + asterisk-addons
(from svn) + asterisk gui (svn 1.4 branch) + zaptel (svn 1.4) on a
Debian Etch box, with 1gb ram, running all of the services for my home
server (web / db / music server etc), and i would like to run my PSTN
line from Kingston Comms,
2006 Mar 15
3
samba server only accessiblie via ip address and notviadns name
hello,
browsing over the network has got the same access denied issue as when i
do it via net use or run \\hostname\share
greetings,
herwarth
-----Original Message-----
From: samba-bounces+herwarth.heitmann=orangemail.nl@lists.samba.org
[mailto:samba-bounces+herwarth.heitmann=orangemail.nl@lists.samba.org]
On Behalf Of Louis van Belle
Sent: 15 March 2006 16:31
To: samba@lists.samba.org
Subject:
2006 Oct 05
1
Aggregate Values for All Levels of a Factor
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I'm a novice user trying to figure out how to retain NA aggregate
values. For example, given a data frame with data for 3 of the 4
possible factor colors("orange" is omitted from the data frame), I want
to calculate the average height by color, but I'd like to retain the
knowledge that "orange" is a possible factor,
2008 Sep 12
2
Again, about boxplot
Thank you for your guys reply for my previous question. But I got one more
question about the boxplot. With the code in the R-help:
boxplot(len ~ dose, data = ToothGrowth,
boxwex = 0.25, at = 1:3 - 0.2,
subset = supp == "VC", col = "yellow",
main = "Guinea Pigs' Tooth Growth",
xlab = "Vitamin C dose mg",
ylab =