Displaying 20 results from an estimated 10000 matches similar to: "Mail server problem?"
2009 Sep 09
4
Joining Characters in R {issue with paste}
Hi Guys
I am want to join to strings in R. I am using paste but not getting
desirable result.
For the sake of clarity, a quick example:
> a="Bio"
> b="iology"
> paste(a,b)
[1] "Bio iology"
*There is a SPACE in the word biology which is what I dont want *
Thanks,
-Abhi
[[alternative HTML version deleted]]
2003 Apr 21
4
help.start in R-1.7.0 with Netscape 7.0.
I'm experiencing a new and annoying phenomenon which seems to consist
of an unfortunate interaction between R-1.7.0 and netscape version 7.
When I invoke help.start(), a netscape window duly appears
with the browser pointed at the file .../R/doc/html/index.html
as one would hope and expect.
However if I then ask for help on a function, e.g.
> help(glm)
the help does NOT get displayed
2002 Nov 14
2
Server v. Workstation installation
Hopefully someone can help me. I've been running a windows 2000 Workstation
and Server.
This spring I added a Linux workstation (Red Hat 7.2 - Samba 2.2.3a) to the
network. Took some work but that is running fine. smb.conf seems to be
giving me what I want.
LAN addresses are assigned with DHCP. I have had several people tell me
that they have a network running with static addresses. I
2007 Apr 20
3
Opinion on R plots: connecting X and Y
Attention R users, especially those that are experienced enough to be
opinionated, I need your input.
Consider the following simple plot:
x <- rnorm(100)
y <- rnorm(100)
plot(x, y, bty='n')
A colleague (and dreaded SAS user) commented that she thought that my
plots could be "cleaned up" by connecting the X and Y axes. I know that
I can do that with bty='l' but I
2005 Nov 15
1
An optim() mystery.
I have a Master's student working on a project which involves
estimating parameters of a certain model via maximum likelihood,
with the maximization being done via optim().
A phenomenon has occurred which I am at a loss to explain.
If we use certain pairs of starting values for optim(), it
simply returns those values as the ``optimal'' values, although
they are definitely not
2008 Apr 03
1
Extractor function for standard deviation.
I have from time to time seen inquiries on r-help in respect of
how to obtain the estimated standard deviation from the output of
fitting a linear model. And have had occasion to want to do this
myself.
The way I currently do it is something like summary(fit)$sigma
(where fit is returned by lm()).
It strikes me that it might be a good idea to have an extractor
function, analogous with coef()
2002 May 22
4
Re: assigning with operator '='.
I've just checked out Jens Oehlschlgel's posting as regards assigning
with the ``='' operator. Yep, the phenomenon described really does
happen. And yep, it sure seems ***very*** dangerous to me.
Mind you, using ``='' as the assignment operator strikes me as being
dangerous anyhow. Bad design decision by the S people (by John
Chambers?) and R should ***not*** have
2001 Dec 20
2
library()
I've just installed version 1.4.0 of R, and am experiencing
a puzzling phenomenon with the library() function.
I have .lib.loc set as follows:
> .lib.loc
[1] "/usr/local/lib/R/library" "/home/faculty/rolf/Rlib"
If I invoke
> library(melvin)
I get the error message
Error in library(melvin) : There is no package called `melvin'
but if I invoke
>
2009 Sep 27
2
Determining name of calling function.
I have vague recollections of seeing this question discussed on r-help
previously, but I can't find the relevant postings.
I want to determine (from within a given function) the name of the
function
calling that given function.
E.g. if I have a function foo() which calls a function bar(), and also
a function clyde() which calls bar(), I want to have, in the code of
bar(),
an instruction
2004 Mar 22
5
detach()
I got bitten recently by the following behaviour of detach();
> save(file="Junk")
> attach("Junk")
> search()
[1] ".GlobalEnv" "file:Junk" "package:methods" "package:ctest"
[5] "package:mva" "package:modreg" "package:nls" "package:ts"
[9]
2004 Aug 05
1
Local library on Windoze.
I'm mystified by a Windoze ``phenomenon'' which has just bitten me.
I have a laptop which boots either Windoze or Linux; I (sad to say)
need the Windoze OS for teaching purposes. I have R 1.9.1 installed
on the laptop in the Windoze OS.
Just now I decided to install, under the Windoze version of R,
a library (``Misc'') of some local functions that I have collected
over the
2005 Nov 05
1
Problem with installing home-made package under Windoze.
I am using/trying to use R 2.2.0.
I have created a package of ``supplementary'' time series functions
for use by my students in a time series course. The package involves
only raw R code; no dynamic loading to complicate matters. I need to
install this package in a location on a local area network where the
students can access it under Windoze.
In the past I learned that I could do
2013 Feb 20
3
NLS results different from Excel -- Tricky fortunes nomination
Folks:
I thought the following excerpt from Bruce McCullough's post would be
a good candidate for the R fortunes package -- except that it's about
Excel, not R! So I nominate it... but leave it to others to say
whether it's really "qualified" to be nominated.
----
"The idea that the Excel solver "has a good reputation for being fast
and accurate" does not
2011 Aug 02
3
Inverse of FAQ 7.31.
Why does R think these numbers ***are*** equal?
In a somewhat bizarre set of circumstances I calculated
x0 <- 0.03580067
x1 <- 0.03474075
y0 <- 0.4918823
y1 <- 0.4474461
dx <- x1 - x0
dy <- y1 - y0
xx <- (x0 + x1)/2
yy <- (y0 + y1)/2
chk <- yy*dx - xx*dy + x0*dy - y0*dx
If you think about it ***very*** carefully ( :-) )
2004 Aug 11
2
Xemacs do not want to execute help.start() with R1.9.1
Hi all,
I 've just reinstalled from the scratch my Windows 2000 (Italian version)
on a formatted HD, because I like to clean
the environment from time to time (say once a year).
I'm currently using XEmacs-21.4.13 and R (rw1091)
and Xemacs is configured as described in
http://socserv.socsci.mcmaster.ca/jfox/Books/Companion/ESS/ess-xemacs.pdf
The problem is that the command
help.start()
2004 Feb 15
4
father and son heights
Faraway's book titled "Practical Regression and Anova using R",
with full text available online at:
http://cran.r-project.org/doc/contrib/Faraway-PRA.pdf
refers to a data set, stat500, which compares midterm and final
grades. It can be used to illustrate similar concepts.
A google search for faraway.zip will locate the actual data.
---
Date: Sun, 15 Feb 2004 10:37:08 -0800
2002 Mar 25
2
Extreme value distributions (Long.)
This may not actually be an R/Splus problem, but it started
off that way .....
===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===
Executive summary:
==================
Simulations involving extreme value distributions seem to ``work''
when the underlying distribution is exponential(1) or exponential(2)
== chi-squared_2, but NOT when the underlying distribution is
2012 Feb 03
3
SPATIAL QUESTION: HOW TO MAKE POLYGONS AROUND CLUSTERS OF POINTS AND EXTRACT AREAS AND COORDINATES OF THESE POLYGONS?
Imagine that I have a large number of points (given by coordinates x and y) that vary in density per space. For the purpose of demonstration it could be generated like this: s <- data.frame(x=runif(10000,0,900),y=runif(10000,0,900)); plot(s)
I want to create polygons around the points where point density is greater than a selected threshold (for example, by using krieging or equivalent
2009 Jun 22
1
Problem with storing a sequence of lmer() model fit into a list
Dear R-helpers:
May I ask a question related to storing a number of lmer model fit into a
list.
Basically, I have a for-loop (see towards the bottom of this email)
in the loop, I am very sure that the i-th model fit (i.e.,fit_i) is
successfully generated and the character string (i.e., tmp_i) is created
correctly.
The problem stems from the following line in the for-loop
#trouble making line
2006 Mar 17
1
smooth.spline
I have noticed a slightly puzzling behaviour exhibited by
smooth.spline(). If I do
sss <- smooth.spline(x,y)
for a certain pair of data vectors x and y, and then do
length(sss$x)
I get the result ``18''. However if I do
length(unique(x))
I get ``27''. Trying to force smooth.spline() to use more knots I
tried
sss <- smooth.spline(x,y,all.knots=TRUE)
but again