Displaying 20 results from an estimated 2000 matches similar to: "perl module for R"
2007 Dec 17
2
Dual Core vs Quad Core
Dear R-users,
I use R to run spatial stuff and it takes up a lot of ram. Runs can take hours or days. I am thinking of getting a new desktop. Can R take advantage of the dual-core system?
I have a dual-core computer at work. But it seems that right now R is using only one processor.
The new computers feature quad core with 3GB of RAM. Can R take advantage of the 4 chips? Or am I better off
2007 Mar 08
2
Memory error
Greetings-
Running R 2.4.0 under Debian Linux, I am getting a memory error trying to
read a very large file:
> library(foreign)
> oldgrades.df <- read.spss('Individual grades with AI (Nov 7 2006).sav',to.data.frame=TRUE)
Error: cannot allocate vector of size 10826 Kb
This file is, granted, quite large:
aperrin at perrin:/data0/grading$ ls -l
total 630304
-r-xr-xr-x 1 aperrin
2007 Mar 22
3
Cohen's Kappa
Hi,
im little bit confused about Cohen's Kappa and i should be look into the
Kappa function code. Is the easy formula really wrong?
kappa=agreement-chance/(1-chance)
many thanks
christian
###############################################################################
true-negativ:7445
false-positive:3410
false-negativ:347
true-positiv:772
classification-aggrement:68,6%
2006 May 31
10
Running R
I have downloaded R-2.3.0.tar.gz for Linux 64 bit processor
1. Untar tar -zxvf R-2.3.0.tar.gz
2. changed the directory to the newly created directory R-2.3.0
3. Typed ./configure
4. Typed make
5. Copied the Script File R from directory R-2.3.0/bin/R to
/usr/local/bin/R.
6. Typed R
Fatal error: unable to open the base package
I get the error message. Please advice
[[alternative HTML version
2007 Feb 08
4
NEWBIE: @BOOK help?
In Henric's recent post, he included this output:
@BOOK{R:Harrell:2001,
AUTHOR = {Frank E. Harrell},
TITLE = {Regression Modeling Strategies, with Applications to
Linear Models, Survival Analysis and Logistic
Regression},
PUBLISHER = {Springer},
YEAR = 2001,
NOTE = {ISBN 0-387-95232-2},
URL =
2002 Jan 27
1
DBM databases for R?
Hello!
Can I use DBM databases (as they are used in Perl) for the import of
large datasets in R?
Thanks in advance for your help,
Petra Steiner
-
---------------------------------------------------
Petra Steiner
Arbeitsbereich Linguistik
Universitaet Muenster
Huefferstrasse 27
48149 Muenster
2007 Mar 15
7
Hardware for a new Workstation for best performance using R
Hi,
we are looking for a new workstation for big datasets/applications (easily
up to 100'000 records and up to 300 Variables) using R. As an example:
Variable Selection for a multivariate regression using stepAIC.
What is the best configuration for a workstation to reach a high performance
level for computing with R?
Single core or multi core (is R together with nws package really able to
2002 Jan 27
5
EPS->LaTeX problem
Greetings-
I have a strange problem displaying a graph from R (1.3.1, linux) in a
LaTeX document of documentclass seminar.
I'm using graphicx to include the file:
\usepackage{graphicx}
...
\resizebox{\textwidth}{\textheight}{\includegraphics{crime.eps}}
When I do this, the entire slide (including the page number) is rotated
180 degrees. Any ideas why this happens?
The graph was created
2002 Feb 14
1
Advice on using barplot
Greetings-
I'm venturing into a new (for me) area of using R: some presentation
graphics based on R data.
I'd like to compare two distributions of ordinal variables in relatively
small (N=203 and 207) subsets of an R dataset. I can get a reasonably
good picture of the distributions' differences with:
x11()
plot(table(hcd.df$auth.sum[hcd.df$datecat==1]),
2002 Feb 08
3
Plotting multiple columns on same graph
I'd like to produce a series of simple line graphs for my methods class
that show the three questions used on a repeated survey to make up a
particular index. The data frame is:
> efficacy.df
year complicated havesay dontcare
1 1952 71 68 63
2 1954 NA NA NA
3 1956 64 71 71
4 1958 NA NA NA
5 1960
2001 Jun 06
3
HLM-like analysis in R
Greetings-
I have some data on which I need to do something like a Hierarchical
Linear Model (please bear with me, I'm only learning the technique so I
don't know yet if my language is correct). Essentially I'm analyzing data
at two levels simultaneously; data are about individuals an organizations
of which they are members.
Can someone point me toward an appropriate package in R?
2002 Feb 05
2
Measures of agreement
Greetings.
I've been experimenting with some algorithms for document classification
(specifically, a Naive Bayes classifier and a kNN classifier) and I would
now like to calculate some inter-rater reliability scores. I have the data
in a PostgreSQL database, such that for each document, each measure (there
are 9) has three variables: ap_(measure), nb_(measure), and
knn_(measure). ap is me
2001 Aug 06
1
running R from Perl
Hi everyone,
I'm interested in running R remotely from a Perl program--specifically I
want to plot some data in Perl and return the graph as an object to Perl.
Does anyone know if this is possible?
Thanks,
Evan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2002 Feb 01
1
Sampling from a database
I use RODBC and RpgSQL quite a lot to access files stored in another
machine under PostgreSQL. Since I am now using files which do not fit
into R's memory, I would like to take random samples. What I would
like is to issue a query such as
SELECT * FROM file WHERE runif > 0.9
with "runif" being a uniformly distributed random number, generated on
the fly; but I cannot
2002 Apr 23
3
stacking vectors of unequal length
R-users --
I would like to make a single vector out of something like the following:
y0 <- rep(0,100)
y1 <- rep(1,20)
and stack them one on top of the other to a vector y with length 120.
Thanks,
Dan
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dan Powers
Associate Professor, Sociology
University of Texas at Austin
2002 Mar 01
3
calculating std err (SEM)?
Is there a "canned" function in R for finding the standard error of the
mean? I have tried
> sem <- function(x) c(mean =mean(x),
+ SEM = stdev(x)/sqrt(length(x)))
> sem(pnet.lai)
Error in sem(pnet.lai) : couldn't find function "stdev"
It looks like there is no stdev function in R
Thanks,
Kirk
Kirk R. Wythers email: kwythers at umn.edu
University of
2002 Jan 16
2
Validating R after it has been installed!
Hello All,
Just wondering if anyone may have a quick fix to our dilemma here.
I work for a company called HGS (Human Genome Sciences), we are in the
pharmaceutical business. Everything we do has to be tested and re-tested
to ensure we are providing the most accurate form of data. On top of that
everything is validated and regulated by FDA. What this means is every
application on a validated
2005 Dec 09
2
Status of PostgreSQL using DBI?
Greetings - is there any update on a PostgreSQL driver for the DBI
package? If not, what's the currently-preferred method of creating a link
from a PostgreSQL database and R?
Thanks.
----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin (at) unc.edu - http://www.unc.edu/~aperrin
Assistant Professor of Sociology; Book Review Editor, _Social
2002 Feb 25
1
Managing Data [Summary]
A while ago I asked about data management approaches in R. I was asked by
several people to post a summary of the responses and alas I am just getting
around to doing it. I received several comments, both on and off list.
Below is a compilation of these responses. Hope this is as helpful to
others as it was to me.
Best,
Brett
1. Frank Harrell recommended a section, "Operating in
2002 Jan 10
2
Simple summary question
I'd like to get summary statistics (really just a mean would be fine) for
a vector in a data frame, but split based on the value of another
vector. That is, I have a data frame (hcd.df) with variables datecat
(which is always 1 or 2) and auth.sum (-8..+8). I've used xtabs to get
chi-square comparisons, but what I need now is a simple mean of auth.sum
where datecat is 1 and another where