On 20.10.2009 09:35 (UTC+2), christiaan pauw wrote:
Hi everybody
I am trying to install RPsSQL and get the following error message:
As far as I know package RPgSQL is outdated. The newer package
RPostgreSQL works with R-2.9.0 and greater. So it seems to be a good
time to update your R
On 10/24/2009 09:00 AM, Lasse Kliemann wrote:
Is there a way to have the distance between label and axis
adjusted automatically? This is interesting in particular for the
y-axis, when it is not known in beforehand how many digits the
numbers will have. It may happen then, that numbers and label
I am running R as an invisible subprocess in another program (RExcel).
Using try I can catch errors and print the errors produced by an R
statement.
Is there a way to know if running a statement caused a warning message?
last.warning gives me the last warning, but I do not have any indication
what
Erich Neuwirth wrote:
I am running R as an invisible subprocess in another program (RExcel).
Using try I can catch errors and print the errors produced by an R
statement.
Is there a way to know if running a statement caused a warning message?
last.warning gives me the last warning, but I do not
Hi
I have estimated a hazard function using a kernel based method. Now i have
to generate a random variate that follows this hazard function. Does any one
know method I should use to generate the variate.
Thanks
Samiul
--
View this message in context:
Hello to everybody,
I need to know the Smoothing Parameter to obtain Home Range of an animal
through the Area Kernel. I have 200 locations with x and y. How can I obtain
the Smoothing Parameter with R for LSCV, CV and Href method???
Thank you.
--
View this message in context:
I have try it, past can add to wanted letter, but can not past the colume
names. May be I should learn it hard.
Don MacQueen wrote:
At 4:57 AM -0700 10/23/09, bbslover wrote:
Steve Lianoglou-6 wrote:
Hi,
On Oct 22, 2009, at 2:35 PM, bbslover wrote:
Usage
data(gasoline)
Format
A
thank you Don MacQueen , I will try it.
Don MacQueen wrote:
At 4:57 AM -0700 10/23/09, bbslover wrote:
Steve Lianoglou-6 wrote:
Hi,
On Oct 22, 2009, at 2:35 PM, bbslover wrote:
Usage
data(gasoline)
Format
A data frame with 60 observations on the following 2 variables.
octane
there are many R packages, yesterday, 2031 but today 2033 packages. how can I
kown which package is added, or updated?
--
View this message in context:
http://www.nabble.com/how-can-I-kown-which-package-is-added%2C-or-updated--tp26037150p26037150.html
Sent from the R help mailing list archive
Google for
CRANberries aggregates
and check first hit.
On Sat, Oct 24, 2009 at 4:44 AM, bbslover dlu...@yeah.net wrote:
there are many R packages, yesterday, 2031 but today 2033 packages. how can I
kown which package is added, or updated?
--
View this message in context:
Samiul Hasan wrote:
Hi
I have estimated a hazard function using a kernel based method. Now i have
to generate a random variate that follows this hazard function. Does any one
know method I should use to generate the variate.
Thanks
Samiul
As far as I remember, the relation that you need is
Medha Atre medha.atre at gmail.com writes:
Hi,
I found the reason. By default it puts a condition for x = 0. Is
there a way to get rid of this condition?
The constraints x = 0 are used in most linear programming realizations.
Some bounds from below are needed. The trick to circumvent the
At 12:36 23/10/2009, Tord Snäll wrote:
Dear all,
A question related to the following has been
asked on R-help before, but I could not find any
answer to it. Input will be much appreciated.
The vignette explains this, and much more. I
found it extremely instructive both for its
intended
Dylan Beaudette wrote:
On Friday 23 October 2009, Frank E Harrell Jr wrote:
Dylan Beaudette wrote:
Hi,
I have fit a series of ols() models, by group, in this manner:
l - ols(y ~ rcs(x, 4))
... where the series of 'x' values in each group is the same, however
knots are not always identical
Hello,
Adding to Thomas' email, you could also use package colbycol which
allows you to load into R files that a simple read.table cannot cope
with, study columns independently, select those you are more interested
in and, finally, set up a dataframe with just the columns you are
interested in.
Erich Neuwirth wrote:
I am running R as an invisible subprocess in another program (RExcel).
Using try I can catch errors and print the errors produced by an R
statement.
Is there a way to know if running a statement caused a warning message?
last.warning gives me the last warning, but I do
Hi everybody,
I use par(mfrow=c(2,2)) to draw 4 sub figures. The default white space
between columns is a litte large. Is there any parameters to control
it?
Thanks in advance!
Ma
__
R-help@r-project.org mailing list
It is so dramatical. Thank Gabor Grothendieck . I got it.
Gabor Grothendieck wrote:
Google for
CRANberries aggregates
and check first hit.
On Sat, Oct 24, 2009 at 4:44 AM, bbslover dlu...@yeah.net wrote:
there are many R packages, yesterday, 2031 but today 2033 packages. how
can I
Noah Silverman wrote:
Hi,
I have a process using svm from the e1071 library.
It's called a *package* which is probably installed in a *library* of
packages.
it works.
I want to try using the KSVM library instead. The same data used wiht
e1071 gives me an error with KSVM.
I guess
Iurie Malai wrote:
Hi,
I have a data set:
Dataset
X1 X2 X3 X4 X5 X6 X7 X8 X9 X10 X11 X12 X13 X14 X15 X16 X17
1 user1 m 22 19 28 24 12 18 9 7 4 5 4 7 5 7 9
2 user2 f 25 19 23 18 18 15 6 8 6 6 7 10 7 7 7
3 user3 f 28 21 24 18 15 12 10 6 7 9
Perhaps functional data analysis would be of interest. See, for
example, package fda.
Kingsford
On Fri, Oct 23, 2009 at 4:46 PM, Dylan Beaudette
debeaude...@ucdavis.edu wrote:
Hi,
I have fit a series of ols() models, by group, in this manner:
l - ols(y ~ rcs(x, 4))
... where the series
Ning Ma wrote:
Hi everybody,
I use par(mfrow=c(2,2)) to draw 4 sub figures. The default white space
between columns is a litte large. Is there any parameters to control
it?
There is no white space between it - except for the margins of the
separate plots that can be controlled with
I use lapply to apply a function to the list 'L'. But of course, the
list names in 'X' is not maintained. I'm wondering if there is a
function that can maintain the list names as well as apply the
function.
$ Rscript lapply.R
L=list(x=c('a','b'), y=c('a','b'))
L
$x
[1] a b
$y
[1] a b
Hi Peng,
Try
lapply(L, paste, collapse=)
$x
[1] ab
$y
[1] ab
HTH,
Jorge
On Sat, Oct 24, 2009 at 12:02 PM, Peng Yu wrote:
I use lapply to apply a function to the list 'L'. But of course, the
list names in 'X' is not maintained. I'm wondering if there is a
function that can maintain the
I think it would be much easier to use grid-graphics for your task.
It's made for such things.
This is a good introduction:
Paul Murrell. The grid graphics package. R News, 2(2):14-19, June 2002
Tom
__
R-help@r-project.org mailing list
Robin, see below my inserted comments.
Robin Hankin wrote:
Hello Dimitris
thanks for this. It works! I guess I was fixated on the dollar sign.
I must confess that I don't really understand any of the error
messages below. Can anyone help me interpret them?
rksh
Dimitris Rizopoulos
Ross Boylan wrote:
I notice that the intervals package indicates a dependence on R =
2.9.0. Is there some feature of R 2.9 that intervals depends on, or
might it work with R 2.7.1, which I am running?
Don't know, but you could try - bus don't expect the results are valid.
The maintainer
1. You forgot to give a *reproducible* example as the posting guide asks
you to do.
2. Both packages you mentioned are BioConductor packages. Note that the
BioConductor project has its own mailing list.
Best wishes,
Uwe Ligges
Wendy Chen wrote:
Hi all,
I have loaded the LIMMA and
makhija.sange...@gmail.com wrote:
Following is my query:
1. Removing Inf from one column of dataframe.
2. out of 10 available dates, count how many times a security is present.
(repeat for each security)
3. Out of dates, the security is present, I want to read latest status of
market cap.
What I think you are missing is that you didn't change ddd. The ifelse
statement does not assign values to the ddd object. To change ddd it would
read:
ddd - ifelse ( ddd360, ddd-360, ddd )
So when you enter print(ddd) you get the content of the original object,
which has not changed.
What
Hi,
How can I make the result of the following lines TRUE?
install.packages(XML)
library(XML)
supportsExpat()
[1] FALSE
I'm on linux, looked into the actual package, but don't seem to be able to
wrap my head around how to compile this in ...
Any pointers are welcome,
Thanks Joh
When I run this code from an R-script:
ddd = 360 + round ( atan2(-u,-v) / d2r )
print(class(ddd))
print(ddd)
ifelse ( ddd360, ddd-360, ddd )
print(ddd)
I get this output:
[1] numeric
[1] 461 213 238 249 251
[1] 461 213 238 249 251
Why does ifelse
Thanks Phil,
That worked great for the test case below but when I tried it on a
really big data.frame I get the error
$ melt(featureData,id.var='feature',variable_name='cell.line')
Error in data.frame(ids, x, data[, x]) :
arguments imply differing number of rows: 1312, 1, 0
featureData has the
If I make the data from smaller:
featureDataHead = head(featureData)
featureDataHead = featureDataHead[ , 1:4]
melt(featureDataHead,id.var='feature',variable_name='cell.line')
It works fine
On Sat, Oct 24, 2009 at 1:54 PM, Michael Jones mdjone...@gmail.com wrote:
Thanks Phil,
That
pking wrote:
When I run this code from an R-script:
ddd = 360 + round ( atan2(-u,-v) / d2r )
print(class(ddd))
print(ddd)
ifelse ( ddd360, ddd-360, ddd )
print(ddd)
I get this output:
[1] numeric
[1] 461 213 238 249 251
[1] 461 213 238 249 251
Hi Joh.
What particular aspects of expat do you want that libxml2 and
the XML package currently cannot provide?
The early versions of the XML package (for the first few years)
could support expat and libxml2 as the C++/C-level parsers.
However, the support for expat was not maintained, so while
Also, to further clarify. When you source or batch file R scripts, objects
are only printed to the screen if you use a print function. That is why the
result of the ifelse does not appear.
Your original example would have shown the expected result of the ifelse if
it had read:
print(ifelse (
You probably have other id variables in featureData. Try specifying
the measured variables instead of the id variable(s). See
?melt.data.frame
for details.
-Ista
On Sat, Oct 24, 2009 at 1:58 PM, Michael Jones mdjone...@gmail.com wrote:
If I make the data from smaller:
featureDataHead =
I'm working with the nationwide county maps data, and trying to remove the
internal county boundary lines. The only map() function parameter that I've
found that gets me anywhere close to my desired result leaves small white
segments on parts of the map. I believe this is due to the low
If you don't want the county boundaries, then don't use the county map. There
is the state database that does not have county information.
If you want the counties different colors, but no dividing lines, then you may
want to try the maptools and sp packages (shapefiles for the states/counties
Dear R-Users,
I have the following problem: I would like to create a postscript file
containing an r-plot with the string \\vartheta in it (reason: this
is later converted to the TeX-string \vartheta and a vartheta is
printed in the figure). In the minimal example below, the problem is
forestra wrote:
Hello to everybody,
I need to know the Smoothing Parameter to obtain Home Range of an animal
through the Area Kernel. I have 200 locations with x and y. How can I
obtain the Smoothing Parameter with R for LSCV, CV and Href method???
We're sorry, but this is far
Have a look at:
map(county, fill=TRUE , col=palette() , resolution=0, lty=0)
HTH,
Ray Brownrigg
Anthony Damico wrote:
I'm working with the nationwide county maps data, and trying to remove the
internal county boundary lines. The only map() function parameter that I've
found that gets me
Uwe Ligges-3 wrote:
Whole table? Each variable against every other variable? Or something
else? Do you think that makes sense?
Anyway, you can calculate all combinations of 2 unique columns and
iterate over them.
Uwe Ligges
In the variable X2 I have encoded men and women, so I
Thank you very much. I am a newcomer to R and your quick response is very
much appreciated. I obviously have more reading to do.
pk
HBaize wrote:
What I think you are missing is that you didn't change ddd. The ifelse
statement does not assign values to the ddd object. To change ddd
On 24-Oct-09 20:28:04, Barry Rowlingson wrote:
On Sat, Oct 24, 2009 at 9:09 PM, Marius Hofert m_hof...@web.de wrote:
Dear R-Users,
I have the following problem: I would like to create a postscript
file containing an r-plot with the string \\vartheta in it
(reason: this is later converted to
Use the lgamma function.
log(gamma(170))
[1] 701.4373
lgamma(170)
[1] 701.4373
In typical uses of gamma(), they are multiplied or divided
by other gamma() values, bringing the final result into the
range of double precision numbers.
Also, look at beta(), which does those divisions of
At 04:53 PM 10/24/2009, R_help Help wrote:
Hi - I ran into a problem when the argument to gamma function is
large. Says, if I do the following:
gamma(17000)
[1] Inf
Warning message:
value out of range in 'gammafn'
Is there anyway to get around this or other implementation? Thank you.
-rc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I'm doing some basic operations on large sparse matrices, for example
getting a row.
it takes close to 30 seconds on a 3Ghz machine, and shots the memory
usage up to the sky.
I suspect there are dense intermediary steps (which, if true would
Johannes Graumann wrote:
Thanks for your input. If I understand correctly, XPath requires the whole
document to be resident in memory. That is not an option given the size of
documents I'm facing ... I'll go with the standard streaming implementation
of
the XML package and see how far I
On Sat, 2009-10-24 at 18:47 +0200, Uwe Ligges wrote:
Ross Boylan wrote:
I notice that the intervals package indicates a dependence on R =
2.9.0. Is there some feature of R 2.9 that intervals depends on, or
might it work with R 2.7.1, which I am running?
Don't know, but you could try
Hi all,
I have a matrix with 5 rows and 10 columns, which represent the grids
on a rectangular map.
I used the code below to plot, but it gives me the map with the 10
columns as y-axis, and the 5 rows as the x-axis, and the (0,0) point
is at the usual bottom left hand corner. My map starts with
Michael -
It sounds like there something different in the
parts of the data you're not including. If another
poster's suggestion of specifying analysis variables
instead of id variables doesn't work, and you can send
me the data set, I'd be happy to take a look.
Hi Kang,
Could you send a reproducible sample-code?
Bests
miltinho
On Sat, Oct 24, 2009 at 11:32 PM, Kang Min ngokang...@gmail.com wrote:
Hi all,
I have a matrix with 5 rows and 10 columns, which represent the grids
on a rectangular map.
I used the code below to plot, but it gives me
I can define a list containing NULL elements:
myList - list(aaa,NULL,TRUE)
names(myList) - c(first,second,third)
myList
$first
[1] aaa
$second
NULL
$third
[1] TRUE
length(myList)
[1] 3
However, if I assign NULL to any of the list element then such
element is deleted from the list:
Hi everyone,
I wonder if there already exists any R packages containing all the
data sets for the book The Statistical Sleuth
(http://www.proaxis.com/~panorama/home.htm; also available at StatLib
http://lib.stat.cmu.edu/datasets/sleuth).
I'm writing an R package with a friend for one of our stat
Dear R helpers,
I am trying to understand how to use the independence_test function in
the coin package. I think I suffer from a misunderstanding about what
the package does. Either that or I do not understand how to use it
properly. Specifically, I cannot understand if I can test independence
of
Hi Milton,
The matrix can be generated using
p = matrix(1:50, nrow=5)
If I just use levelplot(p), it gives me a graph that is vertical. How
can I rotate it so it becomes horizontal?
I cannot do
q = t(p); levelplot(q)
because this is representing a map from a piece of land, transposing
the
58 matches
Mail list logo