Displaying 20 results from an estimated 20000 matches similar to: "R-beta: An all.names function"
2008 Jul 19
1
going from 1.4.21 to 1.6 beta 9
1.4 was working fine.
I thought I would try 1.6 beta 9
from my asteirsk 1.4 server to my asterisk client 1.6beta it wont accept
the call.
[Jul 18 20:34:55] NOTICE[966]: chan_sip.c:16416 handle_request_invite:
Call from 'JJ' to extension 'jj_audio' rejected because extension not found.
I changed nothing in the config files.
I tried setting debug level to 5 and verbose to 5 all
2008 Jan 24
3
Alternating numbers in rep()
All,
I'm trying to obtain a one-liner to generate a certain sequence of
alternatign numbers.
Consider:
> unlist(rep(list(c(1,2), c(3,4)), each = 6))
[1] 1 2 1 2 1 2 1 2 1 2 1 2 3 4 3 4 3 4 3 4 3 4 3 4
I'd like the result to be as above but continue until 38. Of course, I
could hardcode this going up to c(37,38), but is there a more elegant way?
Thanks!
David
2001 Dec 11
0
Re: (PR#1210) an error message from scan() surprised vograno@arbitrade.com.
Original incorrect subject line was
Subject: [Rd] multi.line=FALSE does not work in scan() (PR#1210)
It *does* work quite correctly: this was an erroneous file nd
you got an error, just one you didn't understand.
Please don't use grossly misleading subject lines: they are all that
appear in the BUGS file.
On Tue, 11 Dec 2001 vograno@arbitrade.com wrote:
> The following applies to
2018 Oct 20
0
Upstream and downstream (was Re: What are the differences between systemd and non-systemd Linux distros?)
On 10/20/18 7:42 AM, Valeri Galtsev wrote:
> I would like to hear the reasons of those who chose to use Fedora on their
> server. Specifically what advantages one has found compared to other
> alternatives. And also what kind of server that is. Single
> user/home/family one? Serving some department or similar (say 100 people,
> who may need services 24/7/365)? I know, this is just
2016 Apr 18
0
Sum of Numeric Values in a DF Column
... and a slightly more efficient non-dplyr 1-liner:
> sapply(strsplit(dd$Lower,"[^[:digit:]]"),
function(x)sum(as.numeric(x), na.rm=TRUE))
[1] 105 67 60 100 80
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On
1999 Jan 20
1
Inherit names ...
No doubt an easy answer to this exists.
I have a data frame which comprises 4 matrices and 2 vectors:
year(1024,6),growth(1024,6),ycens(1024,6),gcens(1024,6),yinit(1024),ginit(1024)
The names of the 26 columns get denoted as y.1 to y.6, g.1 to g.6, yc.1 to
yc.6, gc.1 to gc.6, yi and gi as these are the internal names.
I wish to make a subset of the data using the logical vector R1(length
1024)
2018 Oct 20
2
Upstream and downstream (was Re: What are the differences between systemd and non-systemd Linux distros?)
On Sat, October 20, 2018 8:23 am, Matthew Miller wrote:
> On Thu, Oct 18, 2018 at 05:52:12PM -0700, Japheth Cleaver wrote:
>> The wider EL community is trapped between a rock and a hard place
>> somewhat. If you try to direct Fedora into the needs of EL users,
>> you stand a good chance of getting told to pound stand, and that EL
>> is getting in the way of bleeding-edge
2005 May 04
1
Calculate median from counts and values
I am tangled with a syntax question. I want to calculate basic statistics
for a large dataset provided in weights and values and I can't figure out
an elegant way to expand the data.
For example here are the counts:
> counts
n4 n3 n2 n1 p0 p1 p2 p3 p4
1 0 0 0 1 1 3 16 55 24
2 0 0 0 0 2 8 28 47 15
3 1 17 17 13 4 5 12 24 8
...
and the values:
> values
2013 Apr 04
6
categorized complete list of R commands?
every time I read the R release notes for the next release, I see many
functions that I had forgotten about and many functions that I never knew
existed to begin with. (who knew there were bibtex facilities in R?
obviously, everyone except me.)
I wonder whether there is a complete list of all R commands (incl the
standard packages) somewhere, preferably each with its one-liner AND
2010 Jan 01
3
The future is here, but Spamassassin doesn't buy it
Hey all,
I am getting a number of incoming emails flagged as spam this morning.
Here's why:
X-Spam-Level: *****
X-Spam-Status: Yes, score=5.2 required=5.0 tests=FH_DATE_PAST_20XX,
SUBJ_ALL_CAPS autolearn=no version=3.2.5
X-Spam-Report:
* 3.4 FH_DATE_PAST_20XX The date is grossly in the future.
The date of 2010 in the emails is correct. I have typed "sa-update" and
2009 Aug 12
2
disable virtual terminals during kickstart installation
Hi All,
I'm trying to figure out where the inittab is for a pxeboot/kickstart
installation so that I can disable virtual terminals that allow for
interactive input such as CTRL+ALT+F2. I've looked in the /etc
directories for the pxeboot initrd as well as the stage2 and minstg2
files. Am I missing something grossly obvious here?
--
James A. Peltier
Systems Analyst (FASNet),
1997 Apr 29
1
S Compatibility (Was: Re: R-beta: 'all.names' function -- failing as.list( _function_ ))
Peter Dalgaard writes:
> Ross Ihaka <ihaka at stat.auckland.ac.nz> writes:
> > Many of the incompatibilities result from us not being familiar with
> > some of the inner mysteries of S - these are generally pretty easy to
> > fix. Some incompatibilities however result from the fact that R
> > started life as a kind of Lisp interpreter. These can be quite a bit
2012 Apr 25
5
exec's onlyif parameter fails for a bash one-liner
I would like to ''exec'' an installation script ''onlyif'' an installation
directory is empty. I tried using following bash one-liner however it
didn''t work:
<code>
exec{$one_install_script:
require => File[$one_install_script],
onlyif => "[ \"$(/bin/ls -A $one_location)\" ] && exit 1 || exit
0"
}
2018 Oct 20
2
Upstream and downstream (was Re: What are the differences between systemd and non-systemd Linux distros?)
On Sat, October 20, 2018 10:22 am, Yan Li wrote:
> On 10/20/18 7:42 AM, Valeri Galtsev wrote:
>> I would like to hear the reasons of those who chose to use Fedora on
>> their
>> server. Specifically what advantages one has found compared to other
>> alternatives. And also what kind of server that is. Single
>> user/home/family one? Serving some department or
2017 Jun 16
2
"reverse" quantile function
Peter,
thanks, very nice, this will work for me... could you also help with setting up the code to run the on liner "approx(sort(x), seq(0,1,,length(x)), q)$y" on the rows of a data frame using my example above? So if I cbind z and res,?
df<-cbind(z,res)
the "x" in your one liner would be the first 4 column values of each row and "q" is the last (5fth) column
2016 Jan 14
2
Fwd: Heads up: OpenSSH users
On Thu, January 14, 2016 11:46 am, m.roth at 5-cent.us wrote:
> Timo Sch??ler wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> On 01/14/2016 05:34 PM, m.roth at 5-cent.us wrote:
>>> Michael H wrote:
>>>> Probably worth a read...
>>>>
>>>> http://www.openssh.com/txt/release-7.1p2
>>>>
2007 Feb 20
2
SAMBA Kerberos misunderstanding
I suspect I might be grossly misunderstanding kerberos and AD here, but I
cant seem to grok the following.
net ads join integrates my linux samba server (named foundry) into an AD
domain and all works fine. The samba server is using the kerberos keytab.
root@foundry:~ # kinit -k -t /etc/krb5.keytab foundry$
root@foundry:~ # kinit -k -t /etc/krb5.keytab host/foundry.example.local
kinit(v5):
2013 Jan 25
2
resizing data
Undoubtedly this question has been asked before, I just can't seem to find
the combination of search terms to produce it. I'm trying to resize a
dataset that is pulled into R using read.table. However, I think the same
problem can be produced using matrix:
x<-matrix(1:64,8)
x
# [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8]
#[1,] 1 9 17 25 33 41 49 57
#[2,] 2 10
2017 Jun 16
0
"reverse" quantile function
Peter,
thanks, very nice, this will work for me... could you also help with setting up the code to run the on liner "approx(sort(x), seq(0,1,,length(x)), q)$y" on the rows of a data frame using my example above? So if I cbind z and res,
df<-cbind(z,res)
the "x" in your one liner would be the first 4 column values of each row and "q" is the last (5fth) column
2002 Nov 16
1
shelling out to R for one command
I am developing a PHP script and want to use R to get the probability of a
t-value.
This just requires that I issue one R statement and output the result.
The problem I am having is that R will accept batch input but I am not
sure that it will accept a "one-liner" (i.e., "/usr/local/bin/R qt(.975,
20)" does not work but you get the idea).
Is there a way to pass R a