Dear all,
Does R offer a means by which a function can determine
whether its return value is assigned? I am using R
2.4.1 for Windows.
Suppose what I am looking for is called
return.value.assigned. Then one might use it like
this
myfunction - function () {
# Create bigobject here
Dear all,
I have a problem with importing an excel file into R. I can open the
file easily (either saving it as a CSV or using RODBC). But the
original file is using merged cell in its first column, which gives
the name of the observation. (I am dealing with repeated measurements
for the same
Software zur Erkennung von Spam auf dem Rechner
hypatia.math.ethz.ch
hat die eingegangene E-mail als mögliche Spam-Nachricht identifiziert.
Die ursprüngliche Nachricht wurde an diesen Bericht angehängt, so dass
Sie sie anschauen können (falls es doch eine legitime E-Mail ist) oder
Dear all,
I have a problem with importing an excel file into R. I can open the
file easily (either saving it as a CSV or using RODBC). But the
original file is using merged cell in its first column, which gives
the name of the observation. (I am dealing with repeated measurements
for the same
Thanks for the help. I installed libgtk2.0-dev and RGtk2 is being
installed as I write.
Andrew Muller
McMaster University/Economics
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Dear all,
I have a problem with importing an excel file into R. I can open the
file easily (either saving it as a CSV or using RODBC). But the
original file is using merged cell in its first column, which gives
the name of the observation. (I am dealing with repeated measurements
for the same
I think this does what you want using the 'na.locf' function is zoo:
x - read.csv('/tote.csv', header=FALSE, skip=4)
# fill blanks in name column with NAs
is.na(x$V2) - x$V2 ==
# load the 'zoo' library for the function na.locf
require(zoo)
x$V1 - na.locf(x$V1) # key
x$V2 - na.locf(x$V2) # name
Paul Laub wrote:
Dear all,
Does R offer a means by which a function can determine
whether its return value is assigned? I am using R
2.4.1 for Windows.
Short answer: No.
Long answer: You want to have a class for the object called bigobject
below and a print/show method that provides the
Hello!
I wonder if you might help me with informations about how to import data with a
2.4.1 R version without the menu Import data.
Best regards.
Eric Duplex ZOUKEKANG
Ingénieur Zootechnicien
Montpellier SupAgro
Master2 AAA-PARC
tel : +33(0)661432340
[EMAIL PROTECTED]
Hi Jim,
it looks perfect!
Thanx a lot!
Have a nice weekend,
Stefan
On 6/30/07, jim holtman [EMAIL PROTECTED] wrote:
I think this does what you want using the 'na.locf' function is zoo:
x - read.csv('/tote.csv', header=FALSE, skip=4)
# fill blanks in name column with NAs
is.na(x$V2) - x$V2
Dear all,
What are the standard probability distributions available in R?
I need some as Normal-Truncated, Half-Normal, Gamma, Chi-squared, Wishard,
etc.
Thanks.
Marcus Vinicius
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch
Yes, Spencer, your observation is correct, because the characeristic equation
det(A - \lambda*I) is a sixth degree polynomial: \lambda^6 - 5 = 0. So the
eigenvalues are the complex numbers (generally) that are located at equal
angles on the circle of radius 5^(1/6), at angles 2*pi*k/6, where k
Have a look in the stats package for the distributions that come with
base R. There is a package called SuppDists that has some others, and
no doubt there are others. Try RSiteSearch to look for specific
distributions.
On 30/06/07, Marcus Vinicius [EMAIL PROTECTED] wrote:
Dear all,
What are
ha
On 6/30/07, eric zoukekang [EMAIL PROTECTED] wrote:
Hello!
I wonder if you might help me with informations about how to import data
with a 2.4.1 R version without the menu Import data.
Best regards.
Eric Duplex ZOUKEKANG
Ingénieur Zootechnicien
Montpellier SupAgro
Master2 AAA-PARC
Oops, sorry for the previous empty reply.
You do not tell us which Operating System you are using, so I assume it must
be Windows...
You should check the R import/export Data available from the Help/Manuals
menu
(in French: Aide/Manuels...)
Christophe
On 6/30/07, Christophe Pallier [EMAIL
Hi Eric,
eric zoukekang wrote:
Hello!
I wonder if you might help me with informations about how to import data with
a 2.4.1 R version without the menu Import data.
Best regards.
the best information about importing data in R is contained in the
manual R Data Import/Export which should be
Although this query was inspired by distributed random number
generation, one of the questions (#2 below) is a single-machine issue.
I call C++ code from R to generate simulated data. I'm doing this on a
cluster, and use rmpi and rsprng. While rsprng randomizes R-level
random numbers (e.g.,
Dear all,
I just saw for the first time the 'Matlab Programming Contest' at
http://www.mathworks.com/contest/overview.html
Is there something comparable for R? Is someone interested in organizing
such a thing?
Of course, one can try to solve the Matlab Problems Sets in R, but I
think it
On 30 June 2007 at 15:31, Roland Rau wrote:
| I just saw for the first time the 'Matlab Programming Contest' at
| http://www.mathworks.com/contest/overview.html
|
| Is there something comparable for R? Is someone interested in organizing
| such a thing?
Well, AFAIK there will be some sort of
On 30 June 2007 at 12:12, Ross Boylan wrote:
| I call C++ code from R to generate simulated data. I'm doing this on a
| cluster, and use rmpi and rsprng. While rsprng randomizes R-level
| random numbers (e.g., from runif), it has no effect on the C code, which
| is completely SPRNG and MPI
On Sat, 2007-06-30 at 14:50 -0500, Dirk Eddelbuettel wrote:
On 30 June 2007 at 12:12, Ross Boylan wrote:
| I call C++ code from R to generate simulated data. I'm doing this on a
| cluster, and use rmpi and rsprng. While rsprng randomizes R-level
| random numbers (e.g., from runif), it has no
Hello,
I'm moving from R 2.2.1 (Winows XP) to R 2.5.1 and have problems with
installing myfuncs, which worked OK in 2.2.1
R CMD INSTALL myfuns
# gives
installing to ''
-- Making package myfuncs
adding build stamp to DESCRIPTION
installing R files
installing man
Fredrik Lundgren wrote:
Hello,
I'm moving from R 2.2.1 (Winows XP) to R 2.5.1 and have problems with
installing myfuncs, which worked OK in 2.2.1
R CMD INSTALL myfuns
# gives
installing to ''
Have you set an environment variable such as R_LIBS that is rather
than a sensible
Sorry,
my fault!
I had
# install myfuncs
library(myfuncs)
in the RProfile.site
before I had myfuncs installed
# library(myfuncs)
fixed everything. I could now R CMD INSTALL as before - no problems
Thanks for your help
Fredrik
- Original Message -
From: Uwe Ligges [EMAIL
Look at the UseMethod function. The help for the print method, a
heavily overloaded function, can also help.
Regards,
Carlos J. Gil Bellosta
http://www.datanalytics.com
On Thu, 2007-06-28 at 09:05 -0700, John McHenry wrote:
Hi,
Could someone point me in the right direction for documentation
dear r users,
i'm a little stuck with the following problem(s), hopefully somebody
can offer some help:
i have data organized in a binary matrix, which can become quite big
like 60 rows x 10^5 columns (they represent SNP genotypes, for some
background info). what i need to do is the
Dear all,
I would like to know when I use NMDS stead PCA or CA analyses? Up to I know, I
use PCA (or PCoA) for condense the great part of vaciance on the firsts axis,
and CA (or DCA) when I would like to identify the structure/composition of data
inside a matrix.
But I have seem that
Hi,
I am new to these functions. I'm wondering if there is anyway to save the
entire results (all attributes of the result object) from the chisq.test or
mantelhaen.test functions? For example, from chisq.test function, you will have
statistic, parameter, p.value, expected, etc. in the result
28 matches
Mail list logo