Displaying 20 results from an estimated 10000 matches similar to: "documentation for require (PR#2226)"
2002 Oct 28
1
as.POSIX (PR#2222)
Full_Name: Alec Stephenson
Version: 1.6.0
OS: linux
Submission from: (NULL) (148.88.138.5)
Appears to be a sign error in as.POSIX(lt/ct)
> library("chron")
The following is fine, with default origin.
> tmp <- chron(1:2, origin = c(1,1,1970))
> as.POSIXlt(tmp)
[1] "1970-01-02 01:00:00 GMT" "1970-01-03 01:00:00 GMT"
These are not.
> tmp <-
2004 Aug 19
3
probability histogram question
Hello, all;
I get an unexpected result when trying to plot a probability histogram
with R1.9.1 on windows xp:
#with the following code:
> x <- runif(100,0,1)
> hist(x)
> hist(x, freq=F)
> h <- hist(x, freq=F)
> summary(h)
# Length Class Mode
#breaks 11 -none- numeric
#counts 10 -none- numeric
#intensities 10 -none- numeric
#density 10
2004 Aug 19
5
column names in data.frame
Dear R-help,
Please can someone explain how to put a column name on an output data.frame.
##Starting with a data.frame with 3 columns (d$Year, d$NoIndiv, d$wtd_tl)
yr_ind <- split (d$NoIndiv, d$Year)
yr_tl <- split (d$wtd_tl, d$Year)
ann_ind <- sapply (yr_ind, sum)
ann_tl <- sapply (yr_tl, sum)
av_tl <- ann_tl/ann_ind
d2<- data.frame (av_tl)
##This gives me a data.frame
2004 Jun 25
4
Unique.data.frame...still getting duplicates
Hi there
I have a data frame with about 65,000 rows and 8 variables. I am trying to
get rid of the double entries of a factor variable "ID" so I can get a
unique observation for each ID
I tried:
>dupl_unique.data.frame(data[ID,]) #I obtain a data frame with 21,547
>observations..so far so good, but then when I check for duplicates
>d_duplicated(dupl2$ID)
2003 Feb 01
0
AIC.default (PR#2518)
There is a bug in AIC.default and AIC.lm, as illustrated below.
(I've only checked this under 1.6.1, and can't easily check if it has
already been reported since the site is down.)
> lm1 <- lm(y ~ x, list(x=1:10, y=jitter(1:10)))
> lm2 <- lm(y ~ x, list(x=1:10, y=jitter(1:10)))
> AIC(lm1, lm2)
df AIC
lm1 3 -18.662493
lm2 3 -7.265906
> AIC(lm1, lm2, k = 2)
2001 Oct 18
0
uniform generator (default)
Recieving digests.
> RNGkind(NULL)
[1] "Marsaglia-Multicarry" "Kinderman-Ramage"
I would appreciate it if anybody has any comments on the following.
Please do not comment on the R functions themselves, since they merely
mimic a (bivariate simplification of a) C routine called from S.
In particular, I would like to know if anything is available with regard
to the
2020 Sep 03
2
Sieve: deleteheader not working with duplicate filter for implicit keep
Hi Stephan,
On Wednesday 02 September 2020 19:59:57, Stephan Bosch wrote:
>
>
> On 29/08/2020 21:04, Alec Moskvin wrote:
> > Hello,
> >
> > I have a rule to always delete a header. If the message gets fileinto'd,
> > the header is gone, but if it's delivered into the INBOX through
> > implicit keep, the header does not get deleted.
> >
>
2008 Nov 22
2
User Authentication and Username Map
Hi to all..
I've setup a Samba domain and now having a hard time setting up Unix to
Windows user mapping. As an example on the server, user is 'agi', and at the
workstation I want an 'Alec Joseph' as the user name. If I log on from a
Linux desktop using the alias connection goes through:
# sudo tail -f /usr/local/samba/var/log.smbd | grep 'Alec Joseph'
Got
2003 Jul 28
2
defining and plotting functions thanks to equation
Hi R lovers!
Are there any means to define and plot a function given the equation that
specifies the function?
For example I'd like to plot and work with the Gumbel Distribution density
defined by
Lambda(x)=exp(-exp(-x))
My question may appear very simple but I haven't got an idea yet about how
to do that. I could plot something with x a vector/set of value but I don't
know how to
2004 Jul 08
4
read.frame
Hello group,
I am learning R and I am new to many concepts.I face
the following errors when I am trying to execute the
following. I have 4 text files with protein accession
numbers. I wanted to represent them in a venn diagram
and for that I using intersect and setdiff functions.
My data looks like this:
file1.txt (c):
NP_000005
NP_000020
NP_000030
NP_000053
file2.txt(e):
NP_000005
NP_000020
2001 May 19
2
calculations on diagonals of a matrix
Given an nxm matrix A I want to compute the nxm matrix B whose ij-th
element is the sum of the elements of A lying on the diagonal that ends
with element ij, i.e.,
b_ij = a_ij + a_(i-1)(j-1) + a_(i-2)(j-2) + ...
In APL (which I no longer use), I would use the 'rotate' operator to derive
an array whose columns are diagonals of the given array and then cumulate
down columns. Is
2016 Apr 01
5
[cfe-dev] Clang project renamed
I second the motion. All in favor?
On Fri, Apr 1, 2016 at 10:57 AM, Renato Golin via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> On 1 April 2016 at 18:50, Richard Smith via cfe-dev
> <cfe-dev at lists.llvm.org> wrote:
> > * The name has been used by a kickstarter project, causing incalculable
> > confusion[0]
>
> Neal Stephenson has poetic license to do
2020 Jun 08
1
Re: No outbound connectivity from guest VM(fedora 32)
On Mon, Jun 8, 2020 at 5:09 AM Daniel P. Berrangé <berrange@redhat.com> wrote:
>
> On Fri, Jun 05, 2020 at 01:27:08PM -0400, Justin Stephenson wrote:
> > Hi,
> >
> > I recently installed a fresh install of Fedora 32 and I am having
> > trouble with my virtual machine networking, I can ssh and connect into
> > my guest VMs from my host, but the guest VMs
2016 Dec 08
2
require(..., quietly=TRUE) does not suppress warning
Hi,
The `quietly` argument of `require` is documented as follows:
quietly: a logical. If ?TRUE?, no message confirming package
attaching is printed, and most often, no errors/warnings are
printed if package attaching fails.
However:
> require(foo, quietly=TRUE)
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
2020 Aug 27
2
Sumbission crashes when relaying over TLS
Hello,
I'm trying to set up the submission proxy, but if I set
submission_relay_ssl = starttls, it crashes. Without it, it works.
Please find the details below.
Thanks,
Alec
dovecot[256855]: submission-login: Login: user=<alec>, method=PLAIN, rip=::1, lip=::1, mpid=257033, secured, session=<kMd1B9uthLUAAAAAAAAAAAAAAAAAAAAB>
dovecot[256855]:
2016 Dec 08
1
require(..., quietly=TRUE) does not suppress warning
Well, I'm getting a warning (not an error) when the package doesn't exist.
I interpreted "most often" to mean that suppressing warnings/errors is why you'd most often use this argument, as most packages don't emit startup messages.
And technically there isn't a problem with attaching the package, since we don't even try to attach packages that don't exist.
2004 Sep 27
9
masq - pings and connections get dropped after PREROUTING?
Hello,
I have a pretty standard two-interface setup with masquerading, so the local
network can connect through the firewall to the Internet.
On the firewall box (trevor), eth0 is connected to a cable modem and eth1 is
connected to the local network via a crossed cable. There is one other
machine on the local network (brian), whose eth0 is at the other end of the
crossed cable.
I used to have
2005 Aug 31
1
SELinux
I'm probably dense - CentOS 4.1
# cat /etc/sysconfig/selinux
..snip...
SELINUXTYPE=targeted
# su - Alec
# tail -n 3 /var/log/messages
Aug 31 08:48:26 srv1 su(pam_unix)[31435]: session opened for user Alec
by root(uid=0)
Aug 31 08:48:26 srv1 su[31435]: Warning! Could not relabel /dev/pts/0
with user_u:object_r:devpts_t, not relabeling.Operation not permitted
Aug 31 08:48:27 srv1
2007 Sep 18
3
Installation and use question (linux) [was installation ... ]
...
>...
>>gem install wxruby
>>
>Great. Many, many thanks to yourself and all involved.
>
>FWIW, I''ve just, in the last min, installed it on an i586-linux box.
>The nearest option being i686-linux.
Another newbie question from me, I''m afraid. The gem installs reported
successful install; but I can''t find wxruby. (Using
2008 Apr 09
4
[LLVMdev] Bitwidth analysis?
Hi, LLVMers,
has someone implemented bitwidth analysis for LLVM? I was looking for
something similar to the bitwise compiler described in
"Bidwidth analysis with application to silicon compilation, by Mark
Stephenson, Jonathan Babb and Saman Amarasinghe"
e.g.: http://portal.acm.org/citation.cfm?id=349299.349317
all the best,
Fernando