Displaying 20 results from an estimated 6000 matches similar to: "(no subject)"
2004 Sep 21
1
Problems with boot and optim
I am trying to bootstrap the parameters for a model that is estimated
through the optim() function and find that when I make the call to boot,
it runs but returns the exact same estimate for all of the bootstrap
estimates. I managed to replicate the same problem using a glm() model
but was able to fix it when I made a call to the variables as data frame
by their exact names. But no matter how I
2007 Sep 29
2
resetting par() to all defaults: par(reset=TRUE) ?
In a long session, producing multiple graphs, I sometimes repeatedly
change par() settings, particularly with multi-row/col displays.
If I'm using a script, I'll do
op <- par(newsettings)
... plots ...
par(op)
but sometimes I do things on the fly and can't easily back out
to the default settings. I'm looking for someway to do the
equivalent of
par(reset=TRUE)
I suppose I
2004 Feb 17
2
Lattice graphics and strip function
I am looking for examples of code that demonstrates the fine tuning of
the strip panels in lattice graphics and uses plotmath characters. The
code for the graphic is as follows:
xyplot(lagy ~ n | rho1 * rho2, data= data, layout=c(2,6), span = 1,
xlab = "Sample Size", ylab = "Bias in the Coefficient for the Lag of X",
type = "o")
rho1 is a four level factor
2011 Aug 24
1
silently testing for data from another package for .Rd examples
In an .Rd example for a package, I want to use data from another
package, but avoid loading the entire
package and avoid errors/warnings if that other package is not available.
If I don't care about loading the other package, I can just do:
if (require("ElemStatLearn", quietly=TRUE)) {
data(prostate)
# rest of example
}
I'd rather just be able to do something like:
2012 Aug 06
1
bibtex::read.bib -- extracting bibentry keys
I have two versions of a bibtex database which have gotten badly out of
sync. I need to find find all the entries in
bib2 which are not contained in bib1, according to their bibtex keys.
But I can't figure out how to extract a list of the bibentry keys in
these databases.
A minor question: Is there someway to prevent read.bib from ignoring
entries that do not contain all required fields?
2009 Oct 30
1
.Rprofile replacement function setwd() causing errors
In my .Rprofile I have the following functions which display the
current directory in the main R window title bar,
and modify base::setwd() to keep this up to date. I like this because I
can always tell where I am in the file system.
cd <- function(dir) {
base::setwd(dir)
utils::setWindowTitle( short.path(base::getwd()) )
}
short.path <- function(dir, len=2) {
np
2003 Sep 25
1
Time Series DGPs
I was wondering if anyone had some sample time series dgp code. I am
particularly interested in examples of autoregressive processes and
error correction model DGPs. I have attached a more specific example
of what I mean. I have tried myself but would hoping someone had some
more elegant code that would help me extend my own code.
Thanks
Luke Keele
UNC-Chapel Hill
Nuffield College, Oxford
2003 Dec 02
1
RWinEdt
I am attempting to use R through WinEdt. I installed the SWinRegistry
package and it seems to install fine. But when I type:
> library(RWinEdt)
I get:
Error in library(WinEdt) : there is no package called 'RWinEdt'
I am running Windows XP and R 1.8.1
The SWinRegistry is correctly named as well that is it is named:
SWinRegistry_0.3-3.zip, which I know caused
2004 Feb 16
1
resizing a plot area when using mfrow
Hi,
I'm trying to plot two graphs next to each other using the plot()
command. I've used
par(mfrow=c(1,2),pty='s')
to get the plots on 1 row.
However what happens is that I get a large plot area with the 2 plots in
the center of it, so there is a large amount of white space above and
below the plots.
Currently I take the EPS and then cut out the white boundaries in a
image
2006 Aug 25
2
horizontal direct product
II am translating some gauss code into R, and gauss has a matrix
product function called the horizontal direct product (*~), which is
some sort of variant on the Kronecker product.
For example if x is 2x2 and y is 2x2
the horizontal direct product, z, of x and y is defined (in the Gauss
manual) as:
row 1 = x11*y11 x11*y12 x12*y11 x12*y12
row 2 = x21*y21 x21*y22 x22*y21 x22*y22
Or in R
2004 Aug 18
1
Preexec on Profiles
I'm trying to get a preexec line to work on Profiles when a windows XP
system logs in. The line and script are the same as we used to use on the
"homes" share with WIndows 98 clients on samba 2. However I cannot seem to
make the preexec line trigger either on login or by explicitly mounting the
share.
Here's the bit from my smb.conf
[Profiles]
path = /var/samba/profiles
2011 Jun 25
3
[LLVMdev] dump a module from inside GDB to a file
Hi All,
I changed the CFG of a big function using a pass that runs on a function, I
am having trouble debugging it. Is there someway to dump a module to a file
from inside gdb? I have access to the Module pointer. Let me know if
anything else is needed.
--
*Ankit*
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2017 Jul 17
1
Problem manipulating files when a replica is down
We currently have a small pilot gluster setup as Replica 2 + 1 (arbiter)
As a DR test we decided to see that to see what would happen when taking
one of the replicas offline. For the first couple of hours everything
seemed fine and then one of my colleagues tried to a directory with files
via samba from a windows client by using robocopy.
At this point it starting to go wrong. The brick went
2018 Jun 29
7
Sharing Mailbox between users using IMAP
Zitat von Remko Lodder <remko at freebsd.org>:
Hi Remko,
> Emails can only be read if they are authenticated / authorized in
> someway to access the store. That means you might need to share the
> info@ credentials with the other
> people so that they can read it over imap or webmail etc.
That is self-evident and it is not a problem.
I can't understand what you
2017 May 31
1
Snapshot auto-delete unmount problem
Hi I am having a problem deleting snapshots, gluster is failing to unmount
them. I am running centos 7.3 with gluster-3.10.2-1
here is some log output:
[2017-05-31 09:21:39.961371] W [MSGID: 106057]
[glusterd-snapshot-utils.c:410:glusterd_snap_volinfo_find] 0-management:
Snap volume
331ec972f90d494d8a86dd4f69d718b7.glust01-li.run-gluster-snaps-331ec972f90d494d8a86dd4f69d718b7-brick1-b
not found
2004 Nov 10
4
Legal sample rates
Hi all,
I'm trying to use the FLAC C libraries to encode audio.
I'm doing something like:
FLAC__seekable_stream_encoder_set_channels(pflac->fse, 1);
FLAC__seekable_stream_encoder_set_sample_rate(pflac->fse, 11025);
FLAC__seekable_stream_encoder_set_bits_per_sample(pflac->fse, 8);
if ((bps = FLAC__seekable_stream_encoder_init(pflac->fse)) !=
2012 Dec 03
2
Gmail style conversations
Hello,
I am wondering if there is any way to support Gmail style
conversation when using Dovecot? Someway of associating all inbound and sent
emails..?
I know that some clients let you display the emails in
"conversation" which kinda does what Gmail does, however, it does not
associate the Sent emails with it.
Thanks for any information.
2008 Mar 27
2
colMeans in a data.frame with numeric and character data
Hi all,
I would like to know if it is posible by, someway, to get colMeans from
a data.frame with numeric as well as character data, dispersed all over
the object. Note that I would like to get colMeans neglecting character
data.
I am really in need of some function proceeding in that way…
All the best
Diogo André Alagador
[[alternative HTML version deleted]]
2009 Sep 10
2
Plot area reduction
Hi,
I need my plot to occupy a thin strip-like area but the plot area in R is a
square so when I save it and reduce its height to a strip in my document the
font in the graph looks flattened. Is there someway i can do this in R
itself?..so that my plot is a strip but the font looks normal
--
Rajesh.J
[[alternative HTML version deleted]]
2014 Sep 18
2
SIGSEGV on CentOS6
We're been running the distribution version of Samba 3.6.9 as DC on Centos
6 for a few weeks now with a number of Samba 4 clients. We have ~20,000
machine and user accounts in our password database.
We see a SIGSEGV every 24-48 hours or so in tcopy_passwd.
I built a Samba 3.6.24 with debugging symbols and waited for a core file
which we got this morning.
Looking through the code we can