Displaying 20 results from an estimated 5000 matches similar to: "Redirecting print output"
2007 Jun 04
3
Extracting lists in the dataframe $ format
I'm new to R and am trying to extract the factors of a dataframe using numeric indices (e.g. df[1]) that are input to a function definition instead of the other types of references (e.g. df$out). df[1] is a list(?) whose class is "dataframe". These indexed lists can be printed successfuly but are not agreeable to the plot() and lm() functions shown below as are their df$out
2007 Sep 04
1
data.frame loses name when constructed with one column
Not sure why the data.frame function does not capture the name of the column field when its being built with only one column.
Can anyone help?
> data
out pred1 predd2
1 1 2.0 3.0
2 2 3.5 5.5
3 3 5.5 11.0
> data1=data.frame(data[,1])
> data1
data...1.
1 1
2 2
3 3
> data1=data.frame(data[,1:2])
> data1
out pred1
1 1 2.0
2 2
2010 Mar 16
2
Is there a way to edit a specific line in a function (e.g: doing function->text->edit->function) ?
Hello,
Let's say we have the following function:
foo <- function(x)
{
line1 <- x
line2 <- 0
line3 <- line1 + line2
return(line3)
}
And that we want to change the second line to be:
line2 <- 2
How would you do that?
The two ways I know of are either to use
fix(foo)
And change the function.
Or to just write the function again.
Is there
2006 Mar 23
1
YAML inconsistencies...
I figured I''d post here before submitting a ticket, but I''m seeing some
confusing stuff when dealing with YAML now. I was using it to freeze
objects in my database, and so i had some data already around to mess with.
I upgraded both Ruby (1.8.3 -> 1.8.4) and Rails ( -> 1.1RC1) and this junk
started. I''ve outlined the problem in two pastes, which I''ll
2006 Aug 04
2
expression() - Superscript in y-axis, keeping line break in string
I've tried several different ways to accomplish this, but as yet to no
avail. My y-axis for a plot has a rather long label, and thus I have
been using "/n" to break it into two lines. However, to make it
technically correct for publication, I also need to use superscript in
the label. For example:
par(oma=c(0,0,2,0),mar=c(5,6,0.25,2),lheight=1)
plot(1:10,
2004 Jun 28
2
Would this work?
I am trying to implement a rollover of extensions.
exten => 3000,1,GotoIf($[${line1} = Congestion]?3:2)
exten => 3000,2,Dial(${line1},15,rt)
exten => 3000,3,GotoIf($[${line2} = Congestion]?5:4)
exten => 3000,4,Dial(${line2},15,rt)
exten => 3000,5,GotoIf($[${line3} = Congestion]?7:6)
exten => 3000,6,Dial(${line3},15,rt)
exten => 3000,7,GotoIf($[${line4} = Congestion]?1:8)
2006 Oct 13
1
load balancing
http://www.linuxquestions.org/linux/answers/Networking/Spanning_Multiple_DSLs
--
Thank you
Indunil Jayasooriya
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
2003 Jul 27
2
continuous independent variable in lme
Dear All,
I am writing to ask a clarification on what R, and in particular lme, is
doing.
I have an experiment where fly wing area was measured in 4 selection lines,
measured at 18 and 25 degrees. I am using a lme model because I have three
replicated per line (coded 1:12 so I need not use getGroups to creat an
orederd factor).
The lines are called: "18"; "25";
2020 Apr 22
2
parse data wrong for R 4.0. raw strings
This seems like a bug to me:
code <- 'x <- r"(hello, "world")"'
getParseData(parse(text = code))
#> line1 col1 line2 col2 id parent token terminal text
#> 7 1 1 1 24 7 0 expr FALSE
#> 1 1 1 1 1 1 3 SYMBOL TRUE x
#> 3 1 1 1 1 3 7 expr
2007 Apr 02
5
Aastra 480 i
Getting "no service" display on aastra 480i. Sip debug shows an "unathorized" blub when the aastra tries to register.
Some reading indicates that 1.4 firmware wants aastra.cfg and mac.cfg in /tftpboot/. There are none.
Anyone have basic config files? Or can point me to a good link? All links I have tried, that purport to have config files, are either dead or error out.
2012 Feb 16
3
Graphing lines of different lengths
Hello all.
I need to graph multiple lines of different lengths on the same graph. When I try to add lines I get an error due to different lengths. The only thing I could find when reading up on it was that 'if the data are inputted separately they must be of the same length'.
Could someone please let me know how to input the data together?
Thanks for any help,
Jordan
2008 Feb 07
3
package 'synchronization' for multiple systems
I'm setting up multiple systems and ideally I want the same package
configuration on all of them. So I'm going through yum and rpm queries
manually to try and get this done. There must be a better way. Is
there a way to use yum or rpm to configure multiple systems with the
same packages?
If yum or rpm has something native built into it to do this, that would
be great. If
2007 Jul 20
1
BOA (Bayesian Output Analysis)
Um texto embutido e sem conjunto de caracteres especificado associado...
Nome: n?o dispon?vel
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070719/d3991989/attachment.pl
2005 May 06
1
Polycom 600 rollover
I have the Polycom 500 and 600 phones. Rather than put an entry in for each
line appearance, I would like to use the feature that shares one extension
for the lines, so that I will get the call on the enxt available button. How
do I configure that?
Chris Mason
2004 Mar 10
1
coreutils-4.5.3-28 causing duplication?
Here's a bit of a strange one. I hunted through the ocfs-users archives,
but didn't see any mention of this, so here goes...
Using coreutils 4.5.3-27 on RHAS 3, the utilities perform as expected
against non-OCFS volumes:
$ rpm -q coreutils
coreutils-4.5.3-27
# cat a 3 line test file. Works as expected
$ cat /var/tmp/file
line1
line2
line3
# copy that file. Works as expected
$ cp
2009 Dec 27
4
how to create a simple loop ?
I have a 5-row matrix called “data”. There are headers.
it look like this :
Row 1 Row2 Row3 Row4 Row5
Line1 … … … …
Line2 … … … …
Line3 … … … …
…
Line 1838 … … … …
I want to calculate several simple arithmetic means for Row5, that
2003 Aug 08
4
Voicemail2 - auto fill the dialing extension?
Hi,
First off, a big thanks to Digium (Mark, John, and Martin) for helping
sort out a BellSouth config issue on our PRI. T100P working like a
champ!
Now it's back to tweaking the configuration on our SIP phones (7960s).
The message_uri parameter in the phone's configuration file is working
great. Dials comedian mail directly. Is there a way to let voicemail2
know what the incoming
2016 Jun 07
2
for loop example
Maybe this don't to be the best form to solve your problem, but worked,rs.
#!/bin/bash
#power by Diego Rodrigues
totalFileOne=$(wc -l file1 | cut -d" " -f1)
totalFileTwo=$(wc -l file2 | cut -d" " -f1)
count=0
if [ ! "${totalFileOne}" -eq "${totalFileTwo}" ];then
echo "The two files need of same number of lines"
exit 1
fi
for
2020 Jan 15
4
A bug understanding F relative to FALSE?
Hi all,
Is the next behaviour suitable?
identical(F,FALSE)
## [1] TRUE
utils::getParseData(parse(text = "c(F,FALSE)", keep.so=rce = TRUE))
## line1 col1 line2 col2 id parent token terminal text
## 14 1 1 1 10 14 0 expr FALSE
## 1 1 1 1 1 1 3 SYMBOL_FUNCTION_CALL TRUE c
## 3 1 1 1 1 3
2007 Apr 23
5
Asterisk dialing next extension only if first is busy?
G'day.
I am having reasonable success getting Asterisk 1.4.2 running and doing
what I want, but I can't figure out one particular idiom that I want:
There are a few situations where I want to have Asterisk push a call
through to the first available transport on a list, such as:
I have two SIP ports attached to one local (two port) analog phone
system. I want to ring line 1 for the