Displaying 20 results from an estimated 7000 matches similar to: "Printing a single "\" character"
2008 Mar 07
5
Puzzling coefficients for linear fitting to polynom
Hi,
I can not comprehend the linear fitting results of polynoms. For
example, given the following data (representing y = x^2):
> x <- 1:3
> y <- c(1, 4, 9)
performing a linear fit
> f <- lm(y ~ poly(x, 2))
gives weird coefficients:
> coefficients(f)
(Intercept) poly(x, 2)1 poly(x, 2)2
4.6666667 5.6568542 0.8164966
However the fitted() result makes sense:
>
2007 Nov 10
5
client hangs on pxelinux
Hi,
my client pc hangs on pxelinux before starting to fetch the linux
kernel. It hangs after printing the ip information row. No traffic is
observed at this point on the network. The pxelinux is transferred to
the client through a tftp server and with no problems.
What options do I have to proceed from this point and try to find out
where the problem is?
Thanks,
Firas.
--
Firas Swidan, PhD
2008 Jul 23
3
Quantitative analysis of non-standard scatter plots.
Hi,
I am having difficulties in finding ways to analyse scatter plots and
quantitatively differentiate between them. Since this is best demonstrated
by a figure, I have attached one with 4 subfigures (a)-(d). Qualitatively
(and I hope you would agree with me), sub-figures (a), (b), and (d) seem to
represent uniform 2d scatters. It is hard for me to quantify it, but it
seems as if the envelopes
2007 Nov 14
2
PXE in wonderland
Hi,
I have collected a bunch of old PII PCs that I am trying to PXE boot.
There NICs are old and so I use etherboot floppy to emulate a native PXE
boot. I have configured tftp, dhcpd, pxelinux, and all the other stuff.
Everything works fine till pxelinux start booting. Then it stucks after
printing the IP row.
--------------- pxelinux output -----------------------
PXELINUX 3.10 2005-08-24
2006 Aug 01
2
Indexing issue
Hi,
R is having the following weird behavior and I am not sure if that is a
feature or a bug:
I am working on the following "3D" array:
> bIm
, , 1
[,1]
[1,] TRUE
[2,] TRUE
[3,] TRUE
[4,] TRUE
[5,] TRUE
> class(bIm)
[1] "array"
> dim(bIm)
[1] 5 1 1
When I try to get the first 2D subarray, the whole thing folds into a
vector:
> bIm[,,1]
[1] TRUE TRUE TRUE
2005 Apr 14
2
Printing integers in R "as is"
Hi,
I am using the following command to print to a file (I omitted the file
details):
cat( paste( paste(orientation, start, end, names,"\n"), paste(start, end,
"exon\n"), sep=""))
where "orientation" and "names" are character vectors and "start" and
"end" are integer vectors.
The problem is that R coerce the integer vectors
2005 Feb 25
3
Loops and dataframes
Hi,
I am experiencing a long delay when using dataframes inside loops and was
wordering if this is a bug or not.
Example code:
> st <- rep(1,100000)
> ed <- rep(2,100000)
> for(i in 1:length(st)) st[i] <- ed[i] # works fine
> df <- data.frame(start=st,end=ed)
> for(i in 1:dim(df)[1]) df[i,1] <- df[i,2] #takes for ever
R: R 2.0.0 (2004-10-04)
OS: Linux, Fedora Core 2
2006 Aug 09
2
Speeding indexing and sub-sectioning of 3d array
Hi,
I am having a problem with a very slow indexing and sub-sectioning of a 3d
array:
> dim(arr)
[1] 245 175 150
For each point in the array, I am trying to calculate the mean of the values
in its surrounding:
mean( arr[ (i - radius):(i + radius),
(j - radius):(j + radius),
(k - radius):(k + radius)] )
Putting that code in 3
2006 Apr 27
1
R interface to ImageMagick
Hi,
I was wondering if anyone is aware of an R interface to ImageMagick
(www.imagemagick.org)? Since R does not support a lot of image processing
functions, having such an interface could be very useful. Alternatively,
ImageMagick has a couple of different interfaces (including to C and C++). I
was wondering if one can use these to call ImageMagick functions from R.
I am posting a similar
2008 Aug 13
1
The standard deviation of measurement 1 with respect to measurement 2
Hi,
I have two (different types of) measurements, say X and Y, resulting from
the same set of experiments. So X and Y are paired: (x_1, y_1), (x_2, y_2),
...
I am trying to calculate the standard deviation of Y with respect to X. In
other words, in terms of the scatter plot of X and Y, I would like to divide
it into bins along the X-axis and for each bin calculate the standard
deviation along
2018 Feb 27
1
Help
Dear
I hope you are wery well when read this e-mail.My name is Firas ALSHAWY and
I am a Phd student in the high Institute of marine research - tishreen
university- Syria
I would like to want some help my in my research, I have data ( length -
weight - gonad weight - fishing mortality - natural mortality - the number
of fish-temperature of water, maximum age ) , I would like to use the
package (
2007 Oct 24
1
GAM vs. MGCV packages
Hi all,
I am a new R- user and I am going through the R-manuals, but I could not
find an answer for my question.
I am confused about when to use the GAM package and when to use the MGCV
package??
My Model is a GAM model of continuous outcome and many non-linear continuous
predictors (using the "s" function) as well as categorical predictors.
Thanks in advance for your help and
2011 Nov 01
2
[Bug 8558] New: rsync --out-format doesn't support single character escapes as listed in manpage
https://bugzilla.samba.org/show_bug.cgi?id=8558
Summary: rsync --out-format doesn't support single character
escapes as listed in manpage
Product: rsync
Version: 3.0.6
Platform: x64
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: core
AssignedTo: wayned
2015 Mar 17
2
Proposing a change in the base::sink interface for type argument
Hi folks,
Here is the current interface:
sink(file=NULL, append=FALSE, type = c("output", "message"), split=FALSE)
However, reading the implementation there is implicit assumption that type
is a single character value:
https://github.com/wch/r-source/blob/trunk/src/library/base/R/sink.R#L23
I'm finding this very confusing as the interface is giving a default value
of a
2008 Mar 01
5
rspec with continuations: very strange
I appear to have written code which travels backwards through time:
http://www.vimeo.com/742590
This disturbs me immensely. If anyone can explain it, that would be cool.
I think it''s an illusion brought about by how RSpec wraps the code it
executes, and by the sheer weirdness of continuations.
--
Giles Bowkett
Blog: http://gilesbowkett.blogspot.com
Portfolio:
2003 Jul 30
5
Dummy account/extension
Hi,
It is possible to create a dummy account (SIP or IAX type) in order to be
used in a "dummy" extension?
I want to be able to use it as a normal extension (as an IP phone connected
to it), but without the need to answer or call from that extension.
I want that when I call that extension to hear the ring, and after the
defined period of time to enter in the Voicemail system.
I
2009 Apr 20
4
graph with 15 combinations
Dear R helpers,
I have a data set with 4 types (W, C, E & S). Now I have values for all
types plus all possible combinations (the order is unimportant): W, C,
WC, E, WE, CE, WCE, S, WS, CS, WCS, ES, WES, CES & WCES. Ideally I would
like to represent everything in one graph and as concise as possible.
Drawing 4 circles and depicting it as overlap just gives me 13 out of
the 15
2002 Nov 26
5
unexpected behaviour of rnorm()
Hello everyone.
If I do
f <- function(n){max(rnorm(n))}
plot(sapply(rep(5000,4000),f)) #[this takes my PC about 30 seconds]
then I get something quite unexpected: gaps in the distribution. For
me, the most noticable one is at about 3.6.
Do others get this? Is it an optical illusion? It can't be right,
can it? Or maybe I just don't understand the good ol' Gaussian very
2015 Mar 18
1
Proposing a change in the base::sink interface for type argument
In other words: this is a standard programming paradigm in R/S which
(unfortunately) is not widely known, based on my network. It is really
nice for developers.
Best,
Kasper
On Wed, Mar 18, 2015 at 5:42 PM, MacQueen, Don <macqueen1 at llnl.gov> wrote:
> It's only an illusion until one actually tries providing a vector.
>
> > sink('foo',
2013 Nov 27
2
[LLVMdev] Disabling certain optimizations at -O1?
> AFAIU, it's not OK for -g to affect code generation. I agree with the
> rest of your plan.
That's correct, -g must not affect code generation. This is a
fundamental mantra among debug-info people.
>
>
> On Wed, Nov 27, 2013 at 2:16 PM, Renato Golin <renato.golin at linaro.org>
> wrote:
> > On 27 November 2013 08:43, Evgeniy Stepanov
>