Displaying 20 results from an estimated 9000 matches similar to: "downgrading to R 2.15.1-4 from sid beta 3.0.0"
2011 May 25
1
L-BFGS-B and parscale in optim()
Hi,
When using method L-BFGS-B along with a parscale argument, should the
lower and upper bounds provided be on the scaled or unscaled values?
Thanks.
Cheers,
--
Seb
2006 Mar 15
3
concatenating factor from list
Hi,
I've run into a ridiculous problem I can't find any solutions for in the
archives or help pages:
data(barley)
cutYield <- with(barley, by(yield, variety, cut, breaks = c(0, 30, 60, 90)))
As in this example, I'm using 'by' to return a factor for each level of
another factor. The problem is that 'by' returns a list of the factors,
and I need all these factors
2005 Nov 30
3
setting R_LIBS
Hello,
I'm adding a private library tree in my home directory by adding this to
my ~/.Renviron:
R_LIBS="~/R/library:${R_LIBS}"
so that once in R:
R> cat(Sys.getenv("R_LIBS"), "\n")
~/R/library:/usr/local/lib/R/site-library:/usr/lib/R/site-library:/usr/lib/R/library
Is this the best way to proceed?
Cheers,
--
Sebastian P. Luque
2005 Sep 20
3
annotating an axis in bwplot (lattice)
Hi,
I'd like to add, say, the sample size for every group in a bwplot as a
parenthetical annotation to the axis. Here's a sketch:
--8<---------------cut here---------------start------------->8---
require(Hmisc)
age <- sample(1:100, 1000, replace = TRUE)
sex <- gl(2, 8, 1000, c("Male", "Female"))
grp <- gl(4, 6, 1000, letters[1:4])
bwplot(grp ~ age |
2005 Sep 13
3
How to erase objects
Hi, I admit that I rather carelessly built lots of large objects and therefore ran out of memory. Most objects, which I have at the moment are now unnecessary, but it would take a lot of time to recreate the last few ones from scratch. So I would like to erase (get rid of) selected objects in order to be able to continue. Does anyone know how I could do this?
Machen Sie aus 14 Cent spielend bis
2007 Apr 23
2
summary and min max
Hi,
I came across a case where there's a discrepancy between minimum and
maximum values reported by 'summary' and the 'min' and 'max' functions:
---<---------------cut here---------------start-------------->---
R> str(tt)
num [1:1397] 1952 1970 1976 1967 1946 ...
R> summary(tt)
Min. 1st Qu. Median Mean 3rd Qu. Max.
1920 1960 1970
2004 Oct 25
2
Revision: post on Intro to R lecture
Hi All:
This follows my earlier post on webized slides on lecture presentation on introducing R. I learned that in Mozilla (Firefox) browsers, the slides did not show up. Sorry for the no show. As a reluctant windows user, I kind of carelessly clicked through Powerpoint to convert the presentation file to its html form, unwittingly leading to the mess.
See if it got corrected now (I do not have
2005 Oct 04
1
pdf plotting of splom
Hi,
The following code produces a plot on X11:
splom(~iris[1:4], groups = Species, data = iris,
panel = panel.superpose,
key = list(title = "Three Varieties of Iris",
columns = 3,
points = list(pch = super.sym$pch[1:3],
col = super.sym$col[1:3]),
text = list(c("Setosa", "Versicolor", "Virginica"))))
However,
2006 Sep 26
3
standardization of slot access
Hi,
I'm usually confused about when to use 'slot' or '@'. I've frequently
read that it's always preferable to use accessor functions, so I would
think the '@' operator should be avoided. However, ?slot contains the
following advise:
"Generally, the only reason to use the functional form rather than the
simpler operator is _because_ the slot name has to
2005 Aug 02
1
cut.Date functionality for chron date/time objects
Hello,
I've encountered the need to cut some chron objects of the form:
R> mychron <- chron(sort(runif(10, 0, 10)))
R> mychron
[1] (01/01/70 16:36:20) (01/02/70 00:08:46) (01/03/70 16:54:49)
[4] (01/04/70 06:45:00) (01/07/70 06:21:24) (01/07/70 18:28:44)
[7] (01/08/70 00:47:05) (01/08/70 05:11:44) (01/10/70 01:07:53)
[10] (01/10/70 17:46:53)
into arbitrary (e.g. a given number
2006 Feb 18
1
reshaping result of by()
Hello,
I'm trying to build a frequency table for a vector, broken down by the
combination of factors. For further analyses, I need to have the result
arranged in a new data frame, with the upper limit of the histogram's
breaks, the per bin count, and the factors identifying each record. My
problem is including the latter:
---<---------------cut
2006 Sep 17
2
histogram frequency weighing
Fellow R-helpers,
Suppose we create a histogram as follows (although it could be any vector
with zeroes in it):
R> lenh <- hist(iris$Sepal.Length, br=seq(4, 8, 0.05))
R> lenh$counts
[1] 0 0 0 0 0 1 0 3 0 1 0 4 0 2 0 5 0 6 0 10 0 9 0 4 0
[26] 1 0 6 0 7 0 6 0 8 0 7 0 3 0 6 0 6 0 4 0 9 0 7 0 5
[51] 0 2 0 8 0 3 0 4 0 1 0 1 0 3
2006 Jul 07
2
dotplot (lattice) with panel.segments and groups
Hi,
The following produces almost exactly what I needed. The problems are
that the 'panel.dotplot' call (commented) generates the error 'Error in
NextMethod("[") : argument "subscripts" is missing, with no default'. The
other problem is that the colors alternate between the levels of the 'site'
variable, rather than 'year'.
barley$yield2
2010 May 25
2
segplot (latticeExtra)
Hi,
I'm having a bit of trouble with 'scales="free"' in the segplot()
function of latticeExtra. Say we need panels for each year, showing
only those counties that are represented in each one:
---<--------------------cut here---------------start------------------->---
library(latticeExtra)
data(USCancerRates)
uscr.w <- subset(USCancerRates, state ==
2005 Sep 13
3
where is eda library (Prof. Ripley's Exploratory Data Analysis Library)
Hi
I want to install eda library. Where can I download it?
I use R version 2.1.0 on Linux.
Thanks.
Stephen.
----- Original Message -----
From: Luis Ridao Cruz <Luisr at frs.fo>
Date: Tuesday, September 13, 2005 1:32 pm
Subject: Re: [R] How to erase objects
> ?rm
>
>
> >>> <v.schlecht at arcor.de> 13/09/2005 12:08:55 >>>
>
> Hi, I admit that
2012 Aug 29
1
delete storage pool error
hi,all
I create pool with lvm,but i carelessly add a blank space in the pool name
like ' lvm_pool' , now I want to delete this pool,but encounter a error:
error: Failed to delete pool lvm_pool
error: internal error Child process (/sbin/vgremove -f lvm_pool) status
unexpected: exit status 5
how to solve this problem?
thanks
-------------- next part --------------
An HTML attachment
2006 Feb 21
2
indexing within panels in xyplot
Dear R-helpers,
I need to show a linear fit through a subset of the data within each
combination of levels of two factors. So I prepared an xyplot with
different panels for each level of one of the factors, and different
symbols within each panel for the levels of the second factor. My problem
is selecting the subset of each combination through which the line should
be fit for subsequent
2010 Aug 18
2
'panel.smooth' error
Hi,
The following call:
xyplot(incidence ~ year, melanoma, panel=panel.smooth)
produces a blank plot region with an error message:
Error using packet 1
plot.new has not been called yet
> sessionInfo()
R version 2.11.1 (2010-05-31)
x86_64-pc-linux-gnu
locale:
[1] LC_CTYPE=en_CA.UTF-8 LC_NUMERIC=C LC_TIME=en_CA.UTF-8 LC_COLLATE=en_CA.UTF-8 LC_MONETARY=C
2005 Jan 07
2
Windows package development: bad html links to functions in non-standard packages
I am using R 2.0.1 Patched on Windows 2000.
I have created a binary package for Windows that builds, checks,
installs and works without errors. In some of my .Rd files, I
have links to functions in the standard packages supplied with R
as well as links to others in add-on packages that I have installed.
For instance, one .Rd file has the following snippet:
\seealso{
2001 May 29
2
Re: Are AMDs preferable? [was: Choosing a proces
Hi everyone,
Thank you for all your input; may I pose you one last question?
If I wish to _ensure_ that I can _always_ do real-time encoding, what is the
cheapest AMD chip I should buy?
I really don't need "better than real-time" encoding, but I do wish to be
sure that the CD is ripped when I am finished listening to it, so that I can
carelessly eject it without checking if the