Nolwenn LeMeur [EMAIL PROTECTED] writes:
George Papayiannis wrote:
Hi everyone,
I have a table with 10 columns and many rows.
I want to select the 3rd,4th and 10th column.
If I wanted to select the 3rd and 4th it would be no
problem.
q3[ ,(3:4)]
but how do I select the 10th
Hi,
several people asked me where they can found ast.
Prof. Masarotto should put it on CRAN as soon as
possible. ast package has many functions useful in
time series analysis.
Regards,
Vito
--- Peter Dalgaard [EMAIL PROTECTED] ha
scritto:
Rabaa, Maia [EMAIL PROTECTED] writes:
According
Hi,
I am currently using the aCGH package in R version 2.1.0 Windows with some
supporting packages (eg. cluster) built under R 2.1.1.Using aCGH package,
I am able to identify regions of genomic aberrations in my cell lines
using the HMM model. However, when I tried to use aCGH for my paraffin
Folks-
We are pleased to announce the release of version 2.0-1 of bayesm.
Highlights of the new version:
1. Bayesian treatment of SUR (seemingly unrelated regression)
2. Added clustering to mixture of normals models
3. Added routines to compute implied univ and bivariate densities from
hi, dear all,
does anyboby have an simple example of
classification by using randomForest? Thanks a lot!
best
assicma
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
Jon == Jonathan Baron [EMAIL PROTECTED]
on Sun, 2 Oct 2005 21:00:41 -0400 writes:
Jon Try
Jon R CMD INSTALL -l lib pkgs
Jon The help file is in the utils package. I'm sure this is
Jon documented in the manual too.
yes, and yes.
The other thing people like the original
On Sun, 2 Oct 2005, Jonathan Baron wrote:
Try
R CMD INSTALL -l lib pkgs
The help file is in the utils package. I'm sure this is
documented in the manual too.
But you still need to ensure that library() can find the packages.
I think the simplest way is that we have set up by default for
as title,when I check my own R package
It appear the warning:Foreign function calls without 'PACKAGE' argument, I
don't know what's wrongcan somebody help me ,thanks
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing
assic ma assicma at yahoo.com writes:
does anyboby have an simple example of
classification by using randomForest? Thanks a lot!
What's wrong with the simple example in the documentation?
Dieter
__
R-help@stat.math.ethz.ch mailing list
Dear R-Mastermind
Within a while or a for-loop, is there a way that I can save to disk the
results of the previous calculations at the end of each loop with filenames
called file01.Rdata, file02.Rdata etc?
So far, I have tried to write the outcome of each loop in a 3 dimensional
array and
Frank Schmid a écrit :
Dear R-Mastermind
Within a while or a for-loop, is there a way that I can save to disk the
results of the previous calculations at the end of each loop with filenames
called file01.Rdata, file02.Rdata etc?
as a toy example :
for (i in 1:nbfiles)
{
fullname =
I think this is what you're looking for:
file_name_root = myfile
for(i in 1:10)
result- of_some_function
out_file-paste(file_name_root, i, .txt, sep = )
write.table(result, file = out_file)
}
the above code produces 10 files (myfile1.txt to myfile10.txt), each
Le 03.10.2005 12:30, Frank Schmid a écrit :
Dear R-Mastermind
Within a while or a for-loop, is there a way that I can save to disk the
results of the previous calculations at the end of each loop with
filenames
called file01.Rdata, file02.Rdata etc?
So far, I have tried to write the
Hi,
i created a graph with heatmap(sma) function:
heatmap(dataHeat(x))
and I wish to change the gradation of colors from blue to red, how could
i do?
Using heatmap(dataHeat(x), col=c(2,4)) i will use only 2 colors
without gradation.
Ty so much
Andrea
Le 03.10.2005 14:24, Andrea Zangrando a écrit :
Hi,
i created a graph with heatmap(sma) function:
heatmap(dataHeat(x))
and I wish to change the gradation of colors from blue to red, how could
i do?
Using heatmap(dataHeat(x), col=c(2,4)) i will use only 2 colors
without gradation.
Ty so much
Andrea Zangrando a écrit :
... and I wish to change the gradation of colors
from blue to red, how could i do?
Hello,
here's how I build such a palette.
a = 15;
palwhiteblue = rgb(a:0, a:0, a, max=a);
palredwhite = rgb(a, 0:a, 0:a, max=a);
palwhite = rep(rgb(1,1,1), 8);
palRWB =
On Mon, 3 Oct 2005, Romain Francois wrote:
Le 03.10.2005 14:24, Andrea Zangrando a écrit :
Hi,
i created a graph with heatmap(sma) function:
heatmap(dataHeat(x))
and I wish to change the gradation of colors from blue to red, how could
i do?
Using heatmap(dataHeat(x), col=c(2,4)) i
Hi all,
I've got a package i've written that i am trying to check, build, and
install. This is my 1st time doing this, so apologies in advance... ;)
The package that I've written requires input from the user. It needs to know
sample sizes and then runs some calcs, (sample sizes are just
It is indeed a bug and I will address it.
On 9/30/05, Horacio Montenegro [EMAIL PROTECTED] wrote:
Just to add more info:
I've got the same error with both lme4 0.95-10
Matrix 0.95-13 and lme4 0.98-1 Matrix 0.98-7, always
running on Win98SE, R 2.1.1. So it seems to occur with
any
Either use \dontrun in a \examples{} section of a help page (see Writing
R Extensions), or something like
num_reps - if(interactive()) readline(How many reps do you have... ) else 500
On Mon, 3 Oct 2005, Ken Termiso wrote:
Hi all,
I've got a package i've written that i am trying to check,
Have you looked at the R interface to GLPK (the GNU Linear Programming Kit)?
http://cran.r-project.org/src/contrib/Descriptions/glpk.html
Reid Huntsinger
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Prof Brian Ripley
Sent: Sunday, October 02, 2005
On Mon, 3 Oct 2005, Huntsinger, Reid wrote:
Have you looked at the R interface to GLPK (the GNU Linear Programming Kit)?
http://cran.r-project.org/src/contrib/Descriptions/glpk.html
NUOPT is not just about LP: the subject was `language for optimization'.
Its manual says
`NUOPT is a collection
Gabor Grothendieck wrote:
If I run the following example from:
http://www.stat.auckland.ac.nz/~paul/grid/doc/grobs.pdf
grid.newpage()
pushViewport(viewport(w = 0.5, h = 0.5))
myplot - gTree(name = myplot, children = gList(rectGrob(name = box,
+ gp = gpar(col = grey)), xaxisGrob(name =
Chin Chieh wrote:
as title,when I check my own R package
It appear the warning:Foreign function calls without 'PACKAGE' argument, I
don't know what's wrongcan somebody help me ,thanks
[[alternative HTML version deleted]]
__
It is unclear what you are trying to do, but check bin2raw in caTools
package:
print(x - (1:5)*pi)
[1] 3.141593 6.283185 9.424778 12.566371
[5] 15.707963
print(y - bin2raw(x))
[1] 18 2d 44 54 fb 21 09 40 18 2d 44 54 fb 21 19
[16] 40 d2 21 33 7f 7c d9 22 40 18 2d 44 54 fb 21
Hello Rs,
After running lmList, I've gotten an error message Error in lm.fit(x, y,
offset = offset, singular.ok = singular.ok, ...) : NA/NaN/Inf in foreign
function call (arg 4)
I'm not able to understand what it means.
Could you help me with it? The group varaible is reporterID.
Thanks
Thanks, Dr Warnes Prof Ripley...
However, upon following the instructions below, I'm getting syntax errors on
the line that has \dontshow...below is my code...I get the same error if i
omit the first block and just try \dontrun...
\dontshow{
num_reps - 10
}
\dontrun{
num_reps - readline(How
What file are you putting these into?
I believe this is the correct syntax for the \example{} section of an .Rd
file.
If you want to do this in a plain R file, (e.g. package/tests/somename.R),
you can use
if(interactive)
{
num_reps - readline(How many reps do you have... )
num_reps -
On Mon, 3 Oct 2005, Tuszynski, Jaroslaw W. wrote:
It is unclear what you are trying to do, but check bin2raw in caTools
package:
print(x - (1:5)*pi)
[1] 3.141593 6.283185 9.424778 12.566371
[5] 15.707963
print(y - bin2raw(x))
[1] 18 2d 44 54 fb 21 09 40 18 2d 44 54 fb 21 19
All,
I've coded a function and it works manually if I copy it line by line into R.
However, when I try to load (copy and paste) the entire function into
R, I get the following error after the listed line of code:
+ N.j.list = lapply(rej.hyp, length)
Error: symbol print-name too long
Does
Hello,
I have successfully downloaded the sources and built R as a shared
library on a Red Hat Enterprise Level 3 box. I am now trying to build the
GNOME GUI, but configure is barfing on glade. According to the system
logs, the RPM for libglade2-devel-2.0.1-3.x86_64 is installed, but in
Ken Termiso wrote:
Thanks, Dr Warnes Prof Ripley...
However, upon following the instructions below, I'm getting syntax errors on
the line that has \dontshow...below is my code...I get the same error if i
omit the first block and just try \dontrun...
\dontshow{
num_reps - 10
}
It was in a plain R file...I did not interpret the word 'example' in your
email as I should've...
So, i've been able to fix the num_reps variable problem - thanks!!
From: Warnes, Gregory R [EMAIL PROTECTED]
To: 'Ken Termiso' [EMAIL PROTECTED]
CC: R-Help (E-mail) r-help@stat.math.ethz.ch
On Mon, 3 Oct 2005, Daniel Pick wrote:
I have successfully downloaded the sources and built R as a shared
library on a Red Hat Enterprise Level 3 box. I am now trying to build the
GNOME GUI, but configure is barfing on glade. According to the system
logs, the RPM for
On 10/3/05, roger bos [EMAIL PROTECTED] wrote:
Paolo,
As others have alluded, R does not have any one package that is as
versatile and powerful as NuOpt, but R does have many different optimization
packages, so you can do LP, QP, Integer programming, and many more types of
optimization, all
On Mon, 2005-10-03 at 18:01 +0100, Prof Brian Ripley wrote:
On Mon, 3 Oct 2005, Daniel Pick wrote:
I have successfully downloaded the sources and built R as a shared
library on a Red Hat Enterprise Level 3 box. I am now trying to build the
GNOME GUI, but configure is barfing on glade.
Function bin2raw was written in order to convert vectors of any type into
vectors containing binary form (little or big endian) of those values
(stored in hex format as 'raw' since it is the only 1-byte type in R). It
was needed in order to convert R vectors to Base64 format commonly used by
XML
Hi,
I've got a library I'm trying to build, and am having an error on R CMD
check...
The source is fine, and the script runs OK, but during the script test
execution it downloads a library from an online repository, which goes fine
and it says that installation was successful...
However,
On Mon, 3 Oct 2005, roger bos wrote:
As others have alluded, R does not have any one package that is as
versatile and powerful as NuOpt, but R does have many different optimization
packages, so you can do LP, QP, Integer programming, and many more types of
optimization, all without having to
I'm trying to create a layout with named viewports that I can use for
other functions. I create the viewport tree that I want, and a list
of grobs with the viewports describing where they should go.
library(grid)
vp - vpTree(
viewport(layout=grid.layout(2,2), name=layout),
I'm trying to put together an R routine to conduct unidimensional unfolding
scaling analysis using maximum likelihood. My problem is that ML
optimization will get stuck at latent scale points that are far from
optimal. The point optimizes on one of the observed variables but not
others and for
Maybe you forgot to list the name of dependent package in 'Depends' section
of 'DESCRIPTION' file. I think that would have effect you describe. See
http://cran.r-project.org/doc/manuals/R-exts.html#The-DESCRIPTION-file for
details.
Jarek
-Original Message-
From: [EMAIL PROTECTED]
But I get:
Error in downViewport.vpPath(vp, strict = TRUE, recording = FALSE) :
Viewport 'tl' was not found
presumably because no equivalent of the upViewport(1) command is used.
What should I be doing here?
I've solved my own problem - I need to use childrenvp instead and
You might want to look at sqlite (http://www.sqlite.org/). There is
already
an R package for accessing these databases and the website shows
some GUI interfaces that may be easy enough for tha casual user.
Best of all it is small, quick, free, and open source.
Greg Snow, Ph.D.
Statistical Data
On Mon, 3 Oct 2005, Ken Termiso wrote:
I've got a library I'm trying to build, and am having an error on R CMD
check...
The source is fine, and the script runs OK, but during the script test
execution it downloads a library from an online repository, which goes fine
and it says that
A student in one of my courses has asked me about getting R graphics
output (under Linux) into a Word document. I.e. she wants to do her
R thing under Linux, but then do her word processing using Word.
Scanning around the r-help archives I encountered an inquiry about
this topic --- eps into
On Mon, 2005-10-03 at 16:31 -0300, Rolf Turner wrote:
A student in one of my courses has asked me about getting R graphics
output (under Linux) into a Word document. I.e. she wants to do her
R thing under Linux, but then do her word processing using Word.
Scanning around the r-help archives
Is there a log4j, or similar, package for R?
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Hello, I am using library fda and I can not run a lot of functions because
I receive the error:
Error in bsplineS(evalarg, breaks, norder, nderiv) :
couldn't find function spline.des
do you know how I can fix that? Thnaks. Liliana
__
lforzani wrote:
Hello, I am using library fda and I can not run a lot of functions because
I receive the error:
Error in bsplineS(evalarg, breaks, norder, nderiv) :
couldn't find function spline.des
do you know how I can fix that? Thnaks. Liliana
Version of R (most recent?)?
On Mon, 2005-03-10 at 16:31 -0300, Rolf Turner wrote:
A student in one of my courses has asked me about getting R graphics
output (under Linux) into a Word document. I.e. she wants to do her
R thing under Linux, but then do her word processing using Word.
Scanning around the r-help archives
Rolf ( Marc)
On 03-Oct-05 Marc Schwartz (via MN) wrote:
On Mon, 2005-10-03 at 16:31 -0300, Rolf Turner wrote:
A student in one of my courses has asked me about getting R graphics
output (under Linux) into a Word document. I.e. she wants to do her
R thing under Linux, but then do her word
on 10/3/2005 3:31 PM Rolf Turner said the following:
[...] Does anyone know a
satisfactory solution to the problem of including a graphic which
exists in the form of a *.eps (encapsulated postscript) file into a
Word document. If so, would you be willing to share it with me and
my student?
Hello Listers,
I am trying to sample a vector to create a new one of sample length,
witha sum equal to the sum of the initial vector:
initial = 10, 30, 10 (sum=50)
sample example = 5, 35, 10 (sum=50) or 25, 15, 10 (sum=50), etc ...
My problem is to control the sum, so it stays constant.
Any
I am currently trying to use R to construct a regression model to
explain output based on temperature. I have combined my output and temp
data into a notepad file. there is no problem with loading the data into
R.
data.df
output temp
1850 17
2849 17
3905 17
4925 17
5
On Mon, 2005-10-03 at 22:00 +0100, Ted Harding wrote:
Rolf ( Marc)
On 03-Oct-05 Marc Schwartz (via MN) wrote:
On Mon, 2005-10-03 at 16:31 -0300, Rolf Turner wrote:
A student in one of my courses has asked me about getting R graphics
output (under Linux) into a Word document. I.e. she
Hello,
Suppose the problem is to cluster each document in a set of
'n' documents (.csv) separately by some clustering method. If 'n' is
very large, then is there a method of increasing speed and efficiency
by treating the set as a document vector or as a set of document
vectors ?
Thanks
Greetings all -
Next year I will be teaching a third year course in applied statistics
about 1/3 of which is multivariate statistics. I would be interested in
hearing experiences from those who have taught multivariate statistics
using R. Especially I am interested in the textbook that you
Dear List,
Im new to R - making a transition from SAS. I have a space delimited file
with the following structure. Each line in the datafile is identified by
the first letter.
A = Inventory (Inventory)
X = Stratum (Stratum_no Total Ye=year established)
P = Plot (Plot_no age slope= species)
T
Try
plot(data.df$temp, data.df$output)
Ted.
On 04/10/05 07:31, Robbie Turner wrote,:
I am currently trying to use R to construct a regression model to
explain output based on temperature. I have combined my output and temp
data into a notepad file. there is no problem with loading the data
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
Sebastian Luque [EMAIL PROTECTED] wrote:
[...]
pdf(splom-test.pdf, family = Times, bg = white)
[...]
Silly me, it occurred to me to check more carefully that bg argument,
which does something different in xyplot (namely, give a background to the
figure region, not the plot region as it seems
as far as I know (and I am not a specialist), there is no way of
importing EPS in word, nor in openoffice, if you want to be able to
see the graphics in the word processor and not only a placeholder. So
either
a) use formats such as bmp, png,
or
b) under windows: convert eps to e.g. wmf using a
Eric Pante a écrit :
Hello Listers,
I am trying to sample a vector to create a new one of sample length,
witha sum equal to the sum of the initial vector:
initial = 10, 30, 10 (sum=50)
sample example = 5, 35, 10 (sum=50) or 25, 15, 10 (sum=50), etc ...
My problem is to control the sum,
64 matches
Mail list logo