Dear all,
I'm looking for an alternative way to replicate the 2, string for an
x number of times, and end up with one string containing 2, x times.
I can partly achieve this using replicate().
y - rep(2,, times=3)
y
[1] 2, 2, 2,
The output that I am looking for is, however, 2,2,2,. I also
Thanks all. All solutions are usable. These two I received off-list:
toString(paste(rep(2,3), sep=,))
[1] 2, 2, 2
and
paste(rep(2,,3),collapse=)
Liviu
On Wed, Dec 3, 2008 at 9:14 AM, Dimitris Rizopoulos
[EMAIL PROTECTED] wrote:
have a look at ?paste(), e.g.,
paste(rep(2, 3), collapse = ,)
Dear R users,
I have issues regarding latex() from Hmisc and numSummary() from
Rcmdr. Here's an example:
library(Rcmdr)
data(Angell, package=car)
numSummary(Angell[,hetero], statistics=c(mean, sd, quantiles),
quantiles=c( 0,.25,.5,.75,1 ))
.numSummary - popOutput()
Hello,
On Wed, Nov 26, 2008 at 9:25 PM, Applejus [EMAIL PROTECTED] wrote:
I have a code in R. Could anyone give me the best possible way (or just
ways!) to integrate it in SPSS?
I would doubt you could do this, but for the least provide commented,
minimal, self-contained, reproducible code. It
On Fri, Nov 21, 2008 at 1:27 AM, A Ezhil [EMAIL PROTECTED] wrote:
I have a matrix of size 1 x 50. I would like to calculate all possible
pair-wise correlation coefficient (5x10^7 combinations) using cor(). How can
I efficiently calcualte and save the result in a matrix?
You might also
On Sun, Nov 9, 2008 at 2:07 AM, Duncan Temple Lang
[EMAIL PROTECTED] wrote:
( You will first need to have libfftw3 installed. And there is no
For those curious, and on Gentoo, emerge sci-libs/fftw.
Liviu
--
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how
On Fri, Nov 7, 2008 at 4:02 PM, hadley wickham [EMAIL PROTECTED] wrote:
The source code (in C) for this type of cartogram (Diffusion-based
method for producing density equalizing maps) is available from here:
http://www-personal.umich.edu/~mejn/cart/download/
From the documentation [1]:
If you
On Thu, Oct 30, 2008 at 7:36 AM, Shreyasee [EMAIL PROTECTED] wrote:
It would be a great help if anyone could help to understand how to create
vignette for a statistical test like Chi-Square test.
One way to do so is to use LyX for creating and compiling Sweave
files. Look here [1]. Installation
Dear all,
The other day I stumbled on this article, A critique of R and S-PLUS
[1], and got curious on whether the points outlined are (still) valid.
The article is quite old, dating 2004, but was updated several times.
Regards,
Liviu
[1] http://fluff.info/blog/arch/0041.htm
--
Do you
Hello,
On Mon, Oct 27, 2008 at 7:32 PM, Greg Snow [EMAIL PROTECTED] wrote:
Another alternative (since you asked) is the RExcel project
(http://rcom.univie.ac.at).
I didn't perform much search, but is there anything similar for
OpenOffice or Gnumeric? Basically, is there a cross-platform
On Mon, Oct 27, 2008 at 8:16 PM, Liviu Andronic [EMAIL PROTECTED] wrote:
On Mon, Oct 27, 2008 at 7:32 PM, Greg Snow [EMAIL PROTECTED] wrote:
Another alternative (since you asked) is the RExcel project
(http://rcom.univie.ac.at).
I didn't perform much search, but is there anything similar
Hello,
On Sat, Oct 25, 2008 at 7:25 PM, Андрей Парамонов [EMAIL PROTECTED] wrote:
I don't want to put it to CRAN yet because it mostly consists of
specialized helper functions which are presumably not valuable for
other people.
But I think 2 of the functions are general and useful enough to
Dear R users,
I am looking for R packages that would best approximate Oracle's
Crystall Ball [1]. For those not familiar:
Crystal Ball software is a leading spreadsheet-based software suite
for predictive modeling, forecasting, Monte Carlo simulation and
optimization. [..] Crystal Ball is used by
On Sat, Oct 25, 2008 at 9:05 PM, Tom Backer Johnsen [EMAIL PROTECTED] wrote:
I am a new user of R. My problem is how to read excel data files.
How can I read a file called stock in R. What statement I should use?
It could help to start learning R with a GUI like Rcmdr. Among other
features, it
On Sun, Oct 12, 2008 at 1:39 AM, Felipe Carrillo
[EMAIL PROTECTED] wrote:
I am working on a publication and I have heard about LaTEX but I haven't
actually tried to learn about it until today. I've found a few
There are two more packages that might be of interest:
RReportGenerator [1] and
On Sun, Oct 12, 2008 at 1:39 AM, Felipe Carrillo
[EMAIL PROTECTED] wrote:
Does LATEX have to be installed on your computer? How does the xtable package
and Sweave work together? How can I make the code below create a table as pdf
file?
Please check the documentation of RcmdrPlugin.Export
On Sun, Oct 12, 2008 at 12:23 PM, Liviu Andronic [EMAIL PROTECTED] wrote:
Please check the documentation of RcmdrPlugin.Export [1]; it contains
several suggestions on using LyX, a cross-platform LaTeX GUI, together
with Sweave.
I've just stumbled on another LyX Sweave-related link, this time
Hello Felipe,
On Mon, Oct 13, 2008 at 12:55 AM, Felipe Carrillo
[EMAIL PROTECTED] wrote:
Liviu: I installed RcmdrPlugin.Export but couldn't figure out how to make it
work. What do I need to do with the Export objects using xtable command? Do
I need to have pdflatex in order to create pdf'f
Dear R users,
A new version of RcmdrPlugin.Export is currently available on CRAN.
The release introduces support for the file and append options of
print.xtable(). The new features make easier to include exported HTML
code into documents created with regular word-processing programmes,
such as
This is more or less the same information I posted recently that may
be of help here.
On Tue, Oct 7, 2008 at 8:32 PM, Wade Wall [EMAIL PROTECTED] wrote:
What I am wanting to do is learn to build some simple GUIs for a limited
number of functions. Basically, I am envisioning a screen with check
Hello everyone,
As some may know, today Google unveiled its 2001 search index [1]. I
was curious to see how was R like at that time, and was not
disappointed. Compared to today's main page [2], seven years ago the
page looked [3] a bit rudimentary, especially the graphic. (It is wort
noting that
Hello,
On 10/8/08, gallon li [EMAIL PROTECTED] wrote:
I want to print the following multiple boxes of output from R.
[..]
Instead of manually typing all these numbers, can I have an easy way to
output these in the right format from R?
It would help to know what commands you issued, and
Hello,
On Thu, Oct 2, 2008 at 3:50 PM, Hanek Martin
[EMAIL PROTECTED] wrote:
Our company has been looking at SAS enterprise guide 4 (Insightful Miner is
a similar product from Insightful, I believe) which seems to provide a nice
graphical way of displaying/managing a process or project. It
On 9/6/08, sudeshna [EMAIL PROTECTED] wrote:
hi im starting with R.have no idea to start...plz help
--
http://www.math.ilstu.edu/dhkim/Rstuff/Rtutor.html
http://www.statmethods.net/index.html
http://rforsasandspssusers.com/
Rcmdr
rattle
http://www.sciviews.org/_rgui/
On 5/23/08, Alexandra Almeida [EMAIL PROTECTED] wrote:
I'm a ubunto user and I used to write my scipts in Java Gui for R, but it
is a very slow tool to run my scripts...
Do you know some efficient IDE for R?
There is the brand-new cross-platform SciViews OpenKore [1], successor
of
Hello,
On 4/29/08, [Ricardo Rodriguez] Your XEN ICT Team [EMAIL PROTECTED] wrote:
I am trying to make my mind about the use of R for Computational and
Statistical Approaches to Genomics.
[..]
Please, could you help me to go in the right direction?
I am not sure what pointers you are
On Fri, Apr 18, 2008 at 1:28 PM, Niels Steen Krogh
[EMAIL PROTECTED] wrote:
install.packages(BayesTree)
What is the error message?
Liviu
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
On Thu, Apr 17, 2008 at 9:03 AM, Stefan Grosse [EMAIL PROTECTED] wrote:
1. So what please is wrong with png? I am using it with Word (If for
some reasons I cannot use LaTeX -- some coauthors are unfortunately
quite resistant there...)
.. for the reticent, there is always LyX.. [1] To a
On Sun, Apr 13, 2008 at 11:36 PM, Tom Backer Johnsen
[EMAIL PROTECTED] wrote:
On the other hand, I cannot see how to launch the thing again once I
have closed that window. There is supposed to be a launcher somewhere
(JGR.exe?), but I have not been able to find it. It does not seem to be
On Wed, Apr 9, 2008 at 9:30 PM, Prof Brian Ripley [EMAIL PROTECTED] wrote:
I've never seen that. Is there something unusual about the filesystem so
it does not recognize rgl/configure is executable? (We've seen that on SMB
filesystems with the wrong mount options.)
In /etc/fstab, I have
Dear R users,
I am pleased to announce the release of the Export plug-in for Rcmdr.
At the moment, it is simply a graphical user interface to xtable().
Several developments are, however, planned. It is worth to note that
the Manual offers several pointers on using Sweave together with LyX,
and
Dear R users,
This is a follow-up of a recent discussion on building rgl on Gentoo
Linux. Please read bellow.
On Tue, Mar 18, 2008 at 7:24 PM, Charles C. Berry [EMAIL PROTECTED] wrote:
Below substitute 'nvidia-drivers' or whatever you use for
your-video-drivers
emerge -D mesa
Dear Duncan and Brian,
thank you for the quick replies. Please see bellow.
On Wed, Apr 9, 2008 at 6:11 PM, Prof Brian Ripley [EMAIL PROTECTED] wrote:
We'll need to see the output from install.packages(rgl) to have much idea:
localhost liviu # R CMD INSTALL
Hello Amadou,
On Mon, Mar 31, 2008 at 4:53 PM, R RR [EMAIL PROTECTED] wrote:
1 - I want to increase memory, but I can't find
the right way. E.g: in stata, you just type set memory 1g.
When I try to load huge datasets, R crashes.
You will find this recent thread [1] interesting. You'd also
On Sun, Mar 30, 2008 at 7:11 PM, Che-hsu (Joe) Chang [EMAIL PROTECTED] wrote:
Basically, I want to calculate the correlation between variable A and B for
every subject in my study. (yep, that simple)
What I did is this:
by(data, id, function (x) cor.test(A,B, data=x))
This recent thread
On Fri, Mar 28, 2008 at 7:52 PM, [EMAIL PROTECTED] wrote:
* checking whether the package can be loaded ... ERROR
Error in library(HighProbability) :
'HighProbability' is not a valid package -- installed 2.0.0?
Execution halted
Although it might be obvious, can you load this package
Hello Vincent,
On Thu, Mar 27, 2008 at 11:25 AM, Vincent Alcouffe [EMAIL PROTECTED] wrote:
I have 60 Macintoshs on Mac OS X 10.4.11 for learn R to studient
of University and i want to Install New Packages. I click on the button
access list Mirrors and it propose me a list of mirrors.
On Mon, Mar 17, 2008 at 11:07 PM, Liviu Andronic [EMAIL PROTECTED] wrote:
This is what I have on my system:
localhost liviu # locate libGL.so
/usr/lib/opengl/xorg-x11/lib/libGL.so.1
/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
/usr/lib/opengl/xorg-x11/lib/libGL.so
/usr/lib/libGL.so
On Mon, Mar 17, 2008 at 7:05 PM, [EMAIL PROTECTED] wrote:
1. Get a table of basic descriptive statistics for my variables
with the variable names one below the other
like SPSS descriptive statistics:
[trimmed]
2. Delete some variables from a data frame or exclude variables
from beeing
On Sun, Mar 16, 2008 at 10:00 PM, Duncan Murdoch [EMAIL PROTECTED] wrote:
It sounds as though it is not finding the OpenGL libs when it
configures. That function should be in libGL.so.
This is what I have on my system:
localhost liviu # locate libGL.so
/usr/lib/opengl/xorg-x11/lib/libGL.so.1
On Mon, Mar 17, 2008 at 1:54 AM, Charles C. Berry [EMAIL PROTECTED] wrote:
emerge -pD R
to see what would get rebuilt. (This should rebuild out-of-date
dependencies.)
emerge -tvaD R proposes me to emerge all out-dated packages found on
my system, from gimp to dbus (currently 292,146
Dear useRs,
I have several problems in using rgl-0.77 (and recent earlier
versions) on Gentoo Linux with a custom-built v. 2.6.22 kernel.
Currently I use R-2.6.1.
When I build rgl,
# R CMD INSTALL /home/liviu/inst/dwn/R/rgl_0.77.tar.gz
or
install.packages(rgl, dependencies=TRUE, method =wget),
Dear useRs,
I have read in several sources [1] [2] [3] that Rmetrics includes an
Rcmdr-based graphical user interface named fBrowser GUI. However, I
have a hard time finding it anywhere (on the net, etc.), nor do I
manage to load it (having had Rmetrics installed).
Could anyone shed some light
On 3/10/08, Thomas Steiner [EMAIL PROTECTED] wrote:
I cannot access internet through R.
My IT-guys told me that I should set the proxy and the port and then
everything will be fine. Where can I set them?
Recently, I also had problems installing packages when under a
transparent proxy. What
On 3/5/08, phthao05 [EMAIL PROTECTED] wrote:
1) I don't know why PCA rotation function not run although I try many times.
Would you please hepl me and explain how to read the PCA map (both of
rotated and unrotated) in a concrete example.
If you used the example from here [1], there's a typo
On 3/3/08, Richard Rowe [EMAIL PROTECTED] wrote:
This is a homework problem. I know how to do a PCA, you need to learn.
I suggest you visit your textbook, then check the documentation for R's
various PCA implementations to work out how to effect the analysis.
Check Rcmdr. There you can
On 3/3/08, shu zhang [EMAIL PROTECTED] wrote:
Hello R users,
I'm wondering whether it is possible to manage big data set in R? I
This [1] recent thread might be of interest.
Liviu
[1] http://www.nabble.com/How-to-read-HUGE-data-sets--tt15729830.html
On 2/28/08, Gabor Grothendieck [EMAIL PROTECTED] wrote:
The sqldf package can read a subset of rows and columns (actually any
sql operation)
from a file larger than R can otherwise handle. It will automatically
set up a temporary
SQLite database for you, load the file into the database
On 2/28/08, Anne-Katrin Link [EMAIL PROTECTED] wrote:
I would like to do a Spearman rank order test, and used the cor() function
with the method spearman.
It gives me a number (correlation coefficient?) , but how can I get the
p-value?
You're probably looking for rcorr() from Hmisc. It
On 2/21/08, MassimoH [EMAIL PROTECTED] wrote:
1) How does R handle dates? It seems there is no built-in support for dates,
This might be useful:
http://www.statmethods.net/input/dates.html
Liviu
__
R-help@r-project.org mailing list
On 2/11/08, Anja Kraft [EMAIL PROTECTED] wrote:
I'd like to write a GUI (first choice with GTK+).
There is also pmg [1] that uses GTK+. And, albeit more specific,
playwith [2]. Also, creating a GUI under R issues were discussed
previously, specifically this reference [3] may give you useful
On 2/10/08, Erin Hodgess [EMAIL PROTECTED] wrote:
When performing PCA, should I use prcomp, princomp or fast.prcomp, please?
You can take a look here [1] and here [2] for some short references.
From the first page: Principal Components Analysis (PCA) is available
in prcomp() (preferred) and
Hello Arin,
If your future students do not know statistics, you might consider
buffering their introduction to R with the help of a GUI package, such
as Rcmdr (if functionality is missing, you could add it yourself via
the plugin infrastructure). Another way to help students would be to
direct
On 2/2/08, 宋时歌 [EMAIL PROTECTED] wrote:
On Linux platform, nothing beats Emacs + ESS.
Another text editor would be Bluefish. I believe it would lack
functionality compared to the Emacs + ESS.
Liviu
__
R-help@r-project.org mailing list
Hello,
On 1/26/08, Wensui Liu [EMAIL PROTECTED] wrote:
dear all,
is there a tutorial specifically teaching how to use R under unix? it
seems most of them are about using r under window.
thank you so much!
What exactly are you interested in: installing or using R? If it is
the latter, R is
On 1/4/08, Alberto Monteiro [EMAIL PROTECTED] wrote:
I need arguments pro-S-PLUS and against SAS for a meeting I will
have next week. S-Plus is (90 - 99)% compatible with R, so using
S-Plus will make things much easier for everyone. But I can't use
this argument. What other arguments could I
On 12/12/07, Milton Cezar Ribeiro [EMAIL PROTECTED] wrote:
Dear all,
I would like to know if is there some MCMR capability (functions) develped to
improve spatial explicit landscape simulations in R.
Check the CRAN Spatial View [1]. Also search on this page [2] for markov.
Liviu
[1]
On 12/5/07, Jeff Delmerico [EMAIL PROTECTED] wrote:
Does anyone know if there is a way to change the display or storage settings
so that the values will be displayed to their full precision? Or does
rnorm only produce values to single precision?
Any assistance would be greatly appreciated.
--
From: Romain Francois [EMAIL PROTECTED]
Date: Dec 5, 2007 2:10 PM
Subject: RE: [R] alternatives to latex() or xtable() ?
To: Liviu Andronic [EMAIL PROTECTED]
You need to look at the digits argument of xtable that would allow you
to control this i think.
xtable( numSummary( iris[,1:4
On 12/5/07, Romain Francois [EMAIL PROTECTED] wrote:
Hello,
My guess is that you are actually talking about the numSummary function in
Rcmdr, not in abind. In that case, you can look how the structure of the
output is like:
str( numSummary( iris[,1:4] ) )
List of 4
$ type :
On 10/28/07, Leandre Bassole [EMAIL PROTECTED] wrote:
I am a new user of R. I am very familar to Stata, but few days ago I have
decided to switch to R. But R langage is very difficult.I really want to
know the best way to learn this famous and interesting software.
The following two
On 10/18/07, amna khan [EMAIL PROTECTED] wrote:
Hi Sir
How to perform cluster analysis using Ward's method and K- means clustering?
For beginning, try to perform it using the GUI Rcmdr.
Regards,
Liviu
__
R-help@r-project.org mailing list
On 10/17/07, Dirk Eddelbuettel [EMAIL PROTECTED] wrote:
Hmm, I haven't had to do that in a while. What happens if you do
update.packages(method=wget)
ie use an explicit setting of method?
This exact way of manually specifying the method within the command
(as opposed to setting it
On 10/17/07, Gang Chen [EMAIL PROTECTED] wrote:
Why does R CMD INSTALL work for some packages (e.g., lme4) but not
others (e.g., nlme)?
If you don't provide any code or error message, I doubt anyone on this
list will be willing to be of help.
Regards,
Liviu
Hello everyone,
I run R on Gentoo Linux and this week I upgraded R from 2.5.0 to
2.6.0. With the new build, I have stumbled upon an unpleasant problem:
I can no longer install packages from CRAN through a transparent
proxy. With the previous version, I simply added to
/usr/lib/R/etc/Renviron the
On 10/16/07, Scionforbai [EMAIL PROTECTED] wrote:
I would start R with the command:
http_proxy=http://SERVER:3128; R
and then from R I would try:
install.packages(Rcmdr, dep = TRUE, method = wget)
install.packages(Rcmdr, dep = TRUE, method = wget)
--- Please select a CRAN mirror for use
On 10/5/07, Christian Salas [EMAIL PROTECTED] wrote:
I was wondering if you know of a linux editor that is able to run R and
compile LaTeX files from it.
Well, there is Winefish for LaTeX and Bluefish for R. The former is
based on the latter. Not exactly one editor, but you may be interested
in
501 - 567 of 567 matches
Mail list logo