Displaying 20 results from an estimated 4000 matches similar to: "add-on packages"
2004 Oct 01
3
Reading multiple files into R
I want to read data from a number of files into R.
Reading individual files one by one requires writing enormous amount of
code that will look something like the following.
****************
maptools:::dbf.read("wb-01vc.dbf")->dist1
maptools:::dbf.read("wb-02vc.dbf")->dist2
maptools:::dbf.read("wb-03vc.dbf")->dist3
2004 Jun 03
2
RMySQL question
In perl DBI, there is a method for preparing sql commands with wildcards and
then executing them with parameter bindings. Is there a way to do this
within RMySQL? I would like to be able to look up values in a table based
on a key supplied from R.
Thanks,
Sean
2004 Jul 01
2
RMySQL
Hi!!
I want some help to install the RMySQL package. I've tried to configure some
things but i'm still getting erros. Anybody could help me??
Thank's
Talita Perciano Costa Leite
Graduanda em Ci??ncia da Computa????o
Universidade Federal de Alagoas - UFAL
Departamento de Tecnologia da Informa????o - TCI
Constru????o de Conhecimento por Agrupamento de Dados - CoCADa
2004 Sep 28
5
Bug? using { as a function in lapply
This seems like a bug to me. Can someone verify this?
First we define a function f that returns its second argument and
lapply it to 1:2 using 9 as the second argument and all seems well.
Note that "{" as a function does the same thing as f, as illustrated
with f(1,9) and "{"(1,9); however, when we attempt to use "{" in the
very same way we used f in lapply,
2004 Sep 06
4
substitution in expression
I have been struggling with this problem for a while and I hope someone
could help me. Or if someone could point me to a section in the manual I
would be grateful.
x <- "my"
plot(1:10, main=expression(paste( x, Delta, "values" )))
Q : How do I get the title to say "my (triangle symbol) values" ?
The following trial-and-error produced mainly errors :
2004 Oct 21
3
error in plot.dendrogram (PR#7300)
Hi,
hres <- hclust(smatr,method="single")
hresd<-as.dendrogram(hres)
as.dendrogram(hres)
`dendrogram' with 2 branches and 380 members total, at height 2514.513
plot(hresd,leaflab="none") #<-error here.
#the plotted dendrogram is incomplete. The x axis is not drawn.
#The interested reader can download the
save(hresd,file="hres.rda")
#from the
2004 Sep 23
1
browser() is called incidentally (?) somewhere from inside methods::as
Hi,
Executing the following code causes the prompt to enter browser() mode.
>dd<-as(Npatrick1,"list")
Called from: as(Npatrick1, "list")
Browse[1]>
R : Copyright 2004, The R Foundation for Statistical Computing
Version 2.0.0 beta (2004-09-20), ISBN 3-900051-07-0
Some addtitional info about Npatrick1
> is(Npatrick1)
[1] "Massvectorlist"
2004 Oct 19
1
plot.dendrogram and plot.hclust ZOOM into the height?
Hi,
I clustered a distance matrix and would like to draw it using
plot.hclust or plot.dendrogram.
The dendrogram is not informative because I have a few extremely small
dissimilarities in the distance matrix (e.g. 0), but most of the other
distances are in the range 1e10+-5000.
I would like to show the tree only for the height of 1e10+-5000 but
unfortunately their are no parameter like
2004 Sep 29
1
Ordering of values returned by unique
Hi,
Is the ordering of the values returned something on what I can rely on,
a form of a standard, that a function called unique in R (in futher
versions) will return the uniq elements in order of they first occurcence.
> x<-c(2,2,1,2)
> unique(x)
[1] 2 1
Its seems not to be the standard. E.g. matlab
>> x=[2,2,1,2]
x =
2 2 1 2
>> unique(x)
ans =
2004 Oct 08
1
Function _coerce_ in _setIs_ never entered (S4).
Hi,
Please consider the following trivial example.
In the sample code I first define a class MVCa using composition. This
class contains a slot of type list.
Next I define an inheritance relation using the function setIs -> MVCa
"is a" list.
Then I define a function printlength which prints the list-length which
is defined for the type "list".
If I call this function
2004 Nov 24
12
scatterplot of 100000 points and pdf file format
Hi,
I want to draw a scatter plot with 1M and more points and save it as pdf.
This makes the pdf file large.
So i tried to save the file first as png and than convert it to pdf.
This looks OK if printed but if viewed e.g. with acrobat as document
figure the quality is bad.
Anyone knows a way to reduce the size but keep the quality?
/E
--
Dipl. bio-chem. Witold Eryk Wolski
MPI-Moleculare
2004 Oct 01
2
Rnewsletter article example
Hi,
I am trying to write an article for the Rnewsletter, but keep getting
errors. I have googled around for some decent examples that contain
figures, maths, etc but with no joy. Would any be so kind as to send me
an example article in latex code?
Cheers,
Sam.
2004 Sep 06
2
Sweave echoing comments (again)
Hello,
I try to document some R scripts for my collegues and observed the
problem, that Sweave strips comment lines away.
As a small example I write in an Rtex file:
\begin{Scode}
## a small example
test() # line comment
\end{Scode}
... the .tex file generated by Sweave only contains:
\begin{Schunk}
\begin{Sinput}
test()
\end{Sinput}
\end{Schunk}
... and all the comments are lost.
2004 Sep 06
2
Sweave echoing comments (again)
Hello,
I try to document some R scripts for my collegues and observed the
problem, that Sweave strips comment lines away.
As a small example I write in an Rtex file:
\begin{Scode}
## a small example
test() # line comment
\end{Scode}
... the .tex file generated by Sweave only contains:
\begin{Schunk}
\begin{Sinput}
test()
\end{Sinput}
\end{Schunk}
... and all the comments are lost.
2004 Aug 31
2
(no subject)
Hi this is a very simple question ! if a have a set of date like
x=c(1,2,3,4,4,5,6,8,7,8,8)
how can I find out the percentile of 7 ?
thanks
Paolo
2004 Sep 09
2
GEE model
Hello there,
My name is Lisa and I'm doing analysis using genelized linear model-GEE
model because I have some repeated measurements on the same patients (in
a bilateral eye disease case). It would be very appreciated if you could
shed some light on what function to use in R.
Thank you very much
Lisa Wang Msc.
Toronto,Ca
2004 Sep 14
3
erase columns
Can somebody remember me which is the command to erase
columns from a data frame?
Thanks Michele
___________________________________
http://it.seriea.fantasysports.yahoo.com/
2004 Sep 24
1
Best device for printing quality
Hi all;
Just to ask you for your advise about what is the best way to get the best
quality for graphics to be incorporated into a printed article
(I'm mainly a Linux useR, but also use the windows R version)
Thanks and best regards,
Javier Garcia
2004 Sep 30
1
function by
Hi,
I'm just getting started with R and I'm having problems with some simple
operations: I want to get the the sum of the column "SStot" for each year using
the function by. The data set is named "SS". I've tried this:
by (SS, year, sum(SStot))
and it's not working. Is it because there's a different number of rows for each
year? How else can I do
2004 Oct 15
2
C/C++
Hey everyone,
I have been looking for a while for ways to integrate R's wonderful
functions into my C++ software, but I have not found anything
concrete.
So finally, i post to this list to see if anyouse else knows about
this, or has done it!? Is it possible? Are there C++ or C R libraries?
Or is it sufficiently easy to build them?
your help is much appreciated!
thanks
doktora