Displaying 20 results from an estimated 30000 matches similar to: "deleting a file"
2005 Dec 28
3
Axis/Ticks/Scale
Dear All,
Apologies for this simple question and thanks in advance for any help given.
Suppose I wanted to plot 1 million observations and produce the command
plot(rnorm(1000000))
The labels of the xaxis are 0, e+00 2 e+05 etc. These are clearly not very
attractive (The plots are for a PhD. thesis).
I would like the axes to be 0,2,4,6,8,10 with a *10^5 on the right hand
side.
Is there a
2005 Aug 04
3
how to read individual values from a pixmap object
Hi All,
I have a greyscale image that I am reading in through RGDAL and placing in a
pixmap object.
As an example use the logo.jpg file that comes with the RGDAL package:
#Read the file
logo <- system.file("pictures/logo.jpg", package="rgdal")[1]
x <- new("GDALReadOnlyDataset", logo)
#Create the pixmap object
xGrey <- getPixmapGDAL(x)
Now I would
2003 Feb 01
2
Apparent parser problem (PR#2520)
Let me first admit: I am experiencing this bug on a precompiled binary
of R for windows, and I know these are not supported. I am not asking
for support, but I thought the R developers would want to know about
this.
# Define:
foo.page <- function(x) x
# Then,
foo.page("a")
# actually invokes the pager (!) on object named "a" (if one is
defined).
# same thing happens
2010 Oct 19
2
Tif image to 8bit colour matrix.
Dear listers,
I have a collection of tif images that I would like to convert, in R, to a
matrix containing the values of the 8bit colour. Ideally, I would like a matrix
for each of the colour channels (red, blue and green). I have 'googled' and
searched the help list but have yet to find a solution and hope that someone can
point me in the right direction.
I currently use
2003 Feb 28
2
Lexical scoping question
Hello,
Could someone please tell me what I am thinking about incorrectly:
f <- function(y) {
g <- function(x) x + y
g
}
In the following, I get what I expect based on my understanding of
lexical scoping:
(f(1))(3) # 4
(f(2))(3) # 5
But now,
fs <- lapply(c(1, 2), f)
fs[[1]](3) # 5 (Why not 4 ?)
fs[[2]](3) # 5
Checking the environments of these functions, I see that
2012 Oct 06
2
Expected number of events, Andersen-Gill model fit via coxph in package survival
Hello,
I am interested in producing the expected number of events, in a
recurring events setting. I am using the Andersen-Gill model, as fit
by the function "coxph" in the package "survival."
I need to produce expected numbers of events for a cohort,
cumulatively, at several fixed times. My ultimate goal is: To fit an
AG model to a reference sample, then use that fitted model
2002 Dec 06
2
Mutiple page trellis plots with relation = "free" or "sliced"
Hello,
Has anyone out there encountered a problem like this:
xyplot(Plasma ~ Serum | Analyte,
data = sp.df,
aspect = 1,
layout = c(1, 1, 200),
scales = list(relation = "free")
)
Gives the error:
Error in pretty(x[is.finite(x)], ...) : x must be numeric
On the other hand, this works (but I don't want the default of having
everything on the same
2005 Jun 12
8
proxy_arp: Permission denied
Dear All,
I have a problem to start Shorewall on a Debian 1.3 Linux box. Here is
some info:
Output of ''/sbin/shorewall trace start 2> /tmp/trace'' is in the attachment.
Shorewall version: 2.2.3
Output of ''ip addr show'':
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: bond0:
2010 Apr 05
3
Creating R packages, passing by reference and oo R.
Dear All,
I would like some advice on creating R packages, passing by reference and oo R.
I have created a package that is neither elegant nor extensible and rather cumbersome (it works). I would like to re write the code to make the package distributable (should it be of interest) and easy to maintain.
The package is for Bayesian model determination via a reversible jump algorithm and has
2007 Jul 02
1
gam function & time trend splines
I've been doing a simple time-series analysis looking
at the relationship between daily pneumonia
hospitalizations and daily temperature. To mimic some
of the literature, I've been including a time-trend to
try to account for normal cyclical trends in
hospitalization. So I've been using a function that
looks something like this:
gam(pneucount ~ temp_f +
2004 Nov 11
5
expressions and paste
I have written a function to plot data which will be used for various different chemistries.
A simplified version is:
plot_data <- function(risk,levels,chem,sd2,measure){
plot(risk, levels,main=paste ("per", sd2, measure, "\n in usual", chem))
}
The problem is with the title.
This works fine if the variable "chem" is just text, but if it is an expression then
2006 Apr 25
7
Rails producing the / page.
Hi all
Very simple question, im sure, but I cant find docs anywhere that tell
me how to do this.
What I want is for the index page of the server to be generated from
rails, is www.wibble.com/ will result in a page that has been processed
by rails, has the templates etc.
>From what I can see, the index page comes from public/index.html How do
I get this to be a rails page?
Thanks
Jonathan
2003 Mar 25
2
AS/400 - Unix Connectivity
Hi Folks,
I've used Samba in the past for Windows NT - Unix connectivity situations.
I wondered if Samba also supported AS/400 - Unix connectivity, specifically
to allow AS/400 to read/write to a Unix file system...??
Regards
Ian Gill
Principal Consultant
Professional Services
(+1) 727.784.4475 Office
(+1) 727.784.1278 Fax
(+1) 727.560.6710 Cell.
Ian_Gill@StorageTek.com
2006 Jul 09
2
using content from a model in application.rhtml
Hi all,
Not sure if Im doing this the right way (most likely not as I cant make
it work!)
I have an application that needs to put some content from two different
tables(db) on every page within the application.
What I thought I could do is write a small application helper that talks
to the model and asks for the data. But I cant for the life of me work
out how to actually talk to a model from
2003 Jul 14
1
I am not found som data frames
In the name of Allah.
hello, how are you?
I sent a mail for you,yesterday but I didn't recieve
to my aim.
I need to some data frames in version 1.7.0 such as
"florida","Barley","rainforest" and some others.
I don't know these data frames are in which library.
I typed "data(package = .packages(all.available =
TRUE))" that was in "data()"
2007 Mar 02
1
Some question about "auth default", "auth default_with_listener" and others
Hello,
Trying to set in dovecot.conf more than one auth section found that imap and pop3 auth process use bose of them.
Loooks like thay do in round-robin way or maybe another way.
Example of config:
auth default {
mechanisms = plain
passdb sql {
args =
2010 Mar 28
1
Fwd: col.axis
I need a help in the following code. I could not find any hint at the help
files
m <- c( 58, 47, 51, 57, 48)
plot(1:5, m, pch=19, col=1:5, axes=FALSE)
axis(1, at=1:length(m), labels=LETTERS[1:5], col.axis=2)
The labels A B C D E appear in this case with the red color.
What I really want is that thay get the same color as the circles, but if I
try the line
axis(1, at=1:length(m),
2004 Mar 29
2
Problems joining existing domain W2K SP4 and Samba 2.2.8a
Hi all, I seem to be having some weird problems while trying
to add a workstation to an existing domain. Samba 2.2.8a is
running on FreeBSD 4.8-RELEASE-p17 and all the clients have
Windows 2000 Professional with SP4 installed.
This particular workstaion was part of the domain until its
hard drive went under. The drive had to be replaced with a
new one, the OS was installed and now when I try to
2006 Feb 23
2
Strange p-level for the fixed effect with lme function
Hello,
I ran two lme analyses and got expected results. However, I saw
something suspicious regarding p-level for fixed effect. Models are the
same, only experimental designs differ and, of course, subjects. I am
aware that I could done nesting Subjects within Experiments, but it is
expected to have much slower RT (reaction time) in the second
experiment, since the task is more complex, so it
2010 Aug 09
2
recurrent events
Hello,
I have a cohort with approx 1,200 patients at the ages of 30-65 that had
their first myocardial infarction during 1992:
· They were in a follow up until 2005.
· About 400 of them died during this period of time (right censored)
· Each one of them had up to 4 mi recurrent events.
I am using the semi-parametric model in order to assess the relationship of