On 02/06/2010 06:57 PM, Charlotte Maia wrote:
Hey all,
Does anyone know if there are any R packages with a copy of the KJV?
I'm guessing the answer is no...
So the next question, and the more important one is:
Does anyone think it would be useful (e.g. for text-mining purposes)?
I know almost n
Hi,
I am using R 10.2.1 version.
Before run any statement/functions the gc report is:
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 124352 3.4 35 9.4 35 9.4
Vcells 81237 0.7 786432 6.0 310883 2.4
After I run the repeat statement, I got the following error mes
A couple comments.
Although pseudo-random numbers were originally
used because of necessity rather than choice,
there is a definite upside to using them. That
upside is that the computations become reproducible
if you set the seed first (see 'set.seed').
I tend to encourage skepticism at pretty
Hi,
After get error message,
My main file size is 1.05MB.
Other objects are within 400bytes only.
Thanks.
--
View this message in context:
http://n4.nabble.com/Memory-Problem-tp1459740p1471153.html
Sent from the R help mailing list archive at Nabble.com.
___
Having found the online version of SimpleR, I wanted to to download the
respective data:
"The data sets for these notes are available from the CSI math
department (http://www.math.csi.cuny.edu/Statistics/R/simpleR)
and must be installed prior to this."
There it says:
"The simpleR package is now
Hi list,
I run R on Linux and OSX. On both systems I use R version 2.9.2 (2009-08-24)
and reshape version: 0.8.2 (2008-11-04). When I do a melt with
na.rm=T on a data frame I get different results on these systems:
library(reshape)
x <- read.table(textConnection("char trial wn
p E10I13D0 4
r
Does anybody knows what this error message means:
Error in object$terms : $ operator not defined for this S4 class
I have peformed the following steps:
library(lattice)
library(Matrix)
library(lme4)
inkm inkm$Gamie glm.incm drop1(glm.incm,test="Ch") Error in object$terms : $
operato
Here is a function I use to get the size of the objects in my
workspace. Let us know the output of this command
my.object.size <- function (pos = 1, sorted = F)
{
.result <- sapply(ls(pos = pos, all.names = TRUE), function(..x)
object.size(eval(as.symbol(..x
if (sorted) {
.res
In perl the 'unpack' command makes it very easy to parse fixed fielded data.
On Fri, Feb 5, 2010 at 9:09 PM, Gabor Grothendieck
wrote:
> Note that the filter= argument on read.csv.sql can be used to pass the
> input through a filter written in perl, [g]awk or other language.
> For example: read.c
Uwe Dippel uniten.edu.my> writes:
>
> Having found the online version of SimpleR, I wanted to to download the
> respective data:
> "The data sets for these notes are available from the CSI math
> department (http://www.math.csi.cuny.edu/Statistics/R/simpleR)
> and must be installed prior to th
Hi:
Is there a way to get smoothScatter to not clip when I increase the xlim and
ylim parameters?
Consider the following example:
set.seed(17)
x1<-rnorm(100)
x2<-rnorm(100)
smoothScatter(x1,x2)
#Now if I increase xlim and ylim notice that the plot seems to be clipped at
the former xlim, and ylim
Dear R-List,
I have the habit of using R for my data processing and I like to use
the power of the lattice package. Presently, I have to manage time
series. So, in order to work properly I want to discover the zoo package
and the related methods (since lattice can work with zoo class). But m
On 06/02/2010 7:51 AM, Jennifer Lyon wrote:
> Hi:
>
> Is there a way to get smoothScatter to not clip when I increase the
xlim and
> ylim parameters?
> Consider the following example:
>
> set.seed(17)
> x1<-rnorm(100)
> x2<-rnorm(100)
> smoothScatter(x1,x2)
>
> #Now if I increase xlim and ylim n
It looks like there is an NA created, and then used to calculate stdev.
But it's inside function, and these seems all wrapped functions, where one
function calls another, which calls another, which calls .
I suggest you contact the maintainer of the package, send him the data and
your error.
T
Many thanks, Felix
It worked, simply importing the emf into PowerPoint!
By the way, as you are the maintainer of playwith, a question: Why is playwith
unable to cope with it?
I liked very much the playwith option because it is easy to use, and has all
the basic capabilities that I need.
Best rega
Thanks, Gavin
I'll have a look to it
Hug
--- On Thu, 2/4/10, Gavin Simpson wrote:
> From: Gavin Simpson
> Subject: Re: [R] Interactively editing point labels in a graph
> To: "trece por ciento"
> Cc: r-help@r-project.org
> Date: Thursday, February 4, 2010, 1:11 PM
> On Tue, 2010-02-02 at 23:57
This is my objects size:
Size Mode
asa_Condition 912 list
asa_GatedCommunity9,912 list
asa_Neighbourhood 2,872 list
asa_Security832 list
asa_Storeys 800 list
Conditi
I'm a newbie in R and my question is simple.
When I type something like this:
> x=rnorm(10)
> x
[1] 0.5804216 -1.1537118 -0.335 0.7117290 -1.0918811 0.3992606
[7] -0.1800837 0.4168152 -0.2077298 -0.2595467
> 1
[1] 1
>
I'm getting indexes in the first column ([1], [7], etc.)
How to suppr
zoo is independent of time and date class so it does not restrict your
choice of index class. POSIXct supports sub-microsecond accuracy.
See ?POSIXct . Simply using the number of microseconds since the
start of the experiment is another possibility.
On Sat, Feb 6, 2010 at 8:25 AM, Laurent Rhelp
Try this:
cat(x, '\n')
On Sat, Feb 6, 2010 at 12:03 PM, zumar wrote:
>
> I'm a newbie in R and my question is simple.
> When I type something like this:
>> x=rnorm(10)
>> x
> [1] 0.5804216 -1.1537118 -0.335 0.7117290 -1.0918811 0.3992606
> [7] -0.1800837 0.4168152 -0.2077298 -0.2595467
Gabor Grothendieck a écrit :
zoo is independent of time and date class so it does not restrict your
choice of index class. POSIXct supports sub-microsecond accuracy.
See ?POSIXct . Simply using the number of microseconds since the
start of the experiment is another possibility.
On Sat, Feb 6,
Have you tried gc() to see if any memory is released? How big was the
file that you read in? I don't see any large objects that appear in
your workspace. Is there some type of processing that you did after
reading in the data? You might want to intersperse the following
command in your script s
I tried this, but I've got a printout in single line or with 'fill' option in
multiline like this
0.6375758 1.060877 0.2509587 -0.1509616 0.819645 -0.3580455 -0.07430713
-0.3464005 -2.312149 -0.8428289 0.8717265 -0.7302025 -0.5292043 -0.289512
-1.231468 0.01108207 -1.811966 0.03652744 0.1809602
Depending on how you are using POSIXct, you accuracy is limited to the
microsecond level. It is stored as a floating point number with 54
bit of accuracy (~16 digits) and currently the number of seconds since
1/1/1970 is 10 digits, so with microseconds adding 6 more, you are at
the limit:
> x <-
On Feb 6, 2010, at 5:45 AM, Martin Bulla wrote:
Does anybody knows what this error message means: Error in object
$terms : $ operator not defined for this S4 class
I have peformed the following steps:
library(lattice)
library(Matrix)
library(lme4)
inkm inkm$Gamie glm.incm drop1(glm
You can always create your own output function. Here one way to do it:
> x <- runif(20)
> cat(strwrap(paste(x, collapse=' ')), sep='\n')
0.482080115471035 0.599565825425088 0.493541307048872
0.186217601411045 0.827373318606988
0.668466738192365 0.79423986072652 0.107943625887856 0.723710946040228
On Sat, Feb 6, 2010 at 4:45 AM, Martin Bulla wrote:
> Does anybody knows what this error message means: Error in object$terms : $
> operator not defined for this S4 class
The error message means what it says and it doesn't come from lmer, it
comes from the drop1 function being applied to a model
Jim, Gabor:
Thanks so much for the suggestions where I can use read.csv.sql and embed Perl
(or gawk). I just want to mention that I am running on Windows. I am going to
read the documentation the filter argument and see if it can take a decent
sized Perl script and then use its output as input.
How to open two gmail accounts with different log in name and password
with in R?.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
Its just any Windows batch command string that filters stdin to
stdout. What the command consists of should not be important. An
invocation of perl that runs a perl script that filters stdin to
stdout might look like this:
read.csv.sql("myfile.dat", filter = "perl myprog.pl")
For an actual ex
jim holtman a écrit :
Depending on how you are using POSIXct, you accuracy is limited to the
microsecond level. It is stored as a floating point number with 54
bit of accuracy (~16 digits) and currently the number of seconds since
1/1/1970 is 10 digits, so with microseconds adding 6 more, you a
Hello,
I am using t-test to check if the difference between two poulations is
significant. I have a large N=20,000, 10,000 in each population. I compare a
few different poulations with eachother and though I get different t-scores,
I get the same p-value of 10^-16 which seems like the limit for t
On Sat, Feb 6, 2010 at 8:53 AM, Pete Shepard wrote:
> I am using t-test to check if the difference between two populations is
> significant. I have a large N=20,000, 10,000 in each population. I compare a
> few different populations with each other and though I get different t-scores,
> I get the
On Feb 5, 7:16 pm, Jim Lemon wrote:
> On 02/06/2010 09:05 AM, analys...@hotmail.com wrote:
>
>
>
>
>
> > On Feb 5, 8:57 am, Barry Rowlingson
> > wrote:
> >> On Fri, Feb 5, 2010 at 10:23 AM, analys...@hotmail.com
>
> >> wrote:
> >>> the csv files are downloaded from a database and it looks like
Thank you!
It has been very helpfull!!
On Jan 27, 9:33 pm, "Peter Alspach"
wrote:
> Tena koe Gepeto
>
> Not sure if the following helps since you have not been very specific in
> your question:
>
> plot(1:10)
> text(3,2,'*')
> text(5,2,'*5')
> text(4,2,'5*5')
> text(4,5,'17\n4')
> text(6,5,'17\
Gabor:
Can I pass colClasses as a vector to read.csv.sql? Thanks.
Satish
-Original Message-
From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com]
Sent: Saturday, February 06, 2010 9:41 AM
To: Vadlamani, Satish {FLNA}
Cc: r-help@r-project.org
Subject: Re: [R] Reading large files
Its
No.
On Sat, Feb 6, 2010 at 1:01 PM, Vadlamani, Satish {FLNA}
wrote:
> Gabor:
> Can I pass colClasses as a vector to read.csv.sql? Thanks.
> Satish
>
>
> -Original Message-
> From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com]
> Sent: Saturday, February 06, 2010 9:41 AM
> To: Vadlama
Hello,
I encounter two problems :
First, I need to modify some huge arrays (2000 individuals x 50 000
variables).
To format the data, I think I should benefit from optimized R-selection
and R-replacement inside a matrix and prohibite a naive use of loops.
Thank you in advance for providing
Hi,
I have a list of vectors (of varying lengths). I'd like to sort this
list by applying a function to each pair of vectors in the list and
returning information to sorting routine that let's it know which one
is larger.
To solve problems like this in Common Lisp, the sort function accepts
a fu
Hi all!
I am trying to develop a plot a figure in which I would like to show
the odds ratios obtained from a logistic model. I have tried with the
dotplot option but no success. Could you help me? Is there any option
when modelling the logistic model in R?
Thank you in advance
_
Hi Titus,
The latest version of reshape is 0.8.3 - perhaps upgrading will fix
your problem.
Hadley
On Sat, Feb 6, 2010 at 4:51 AM, Titus von der Malsburg
wrote:
> Hi list,
>
> I run R on Linux and OSX. On both systems I use R version 2.9.2 (2009-08-24)
> and reshape version: 0.8.2 (2008-11-04)
On Feb 6, 2010, at 1:21 PM, David Neu wrote:
Hi,
I have a list of vectors (of varying lengths). I'd like to sort this
list by applying a function to each pair of vectors in the list and
returning information to sorting routine that let's it know which one
is larger.
To solve problems like th
Hi Steve and other R folks,
Thanks for the suggestion. No - that doesn't work. I meant to put that
into my original email. To recap
x <-
big.matrix(nrow=2,ncol=50,type='short',init=0,dimnames=list(1:2,1:50))
#Gets around the 2^31 issue - yay!
#R takes 18 Gb RAM, so says top
rm(x
Hi,
On Sat, Feb 6, 2010 at 1:28 PM, gepeto wrote:
> Hi all!
>
> I am trying to develop a plot a figure in which I would like to show
> the odds ratios obtained from a logistic model. I have tried with the
> dotplot option but no success. Could you help me?
You can help us help you by showing th
I have trouble making sense of the question, and I wonder if there is
a terminology issue.
For example, you have a list like this one:
mylist <- list( v1=1:3, v2=1:4, v3=1:5, v4=1:6)
(That is, a list of vectors of varying lengths.)
You want to apply a function to each pair of vectors:
Fir
Hi,
I was wondering if anyone had any experience or knew if its possible to
run R on EC2?
Thanks,
Brian Wolf
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.or
David Neu davidneu.com> writes:
>
> Hi,
>
> I have a list of vectors (of varying lengths). I'd like to sort this
> list by applying a function to each pair of vectors in the list and
> returning information to sorting routine that let's it know which one
> is larger.
>
> To solve problems lik
Hi - I am not familiar with R. Could I ask you a quick question?
When I read a file like this, I get an error. Not sure what I am doing
wrong. I use a MAC. How do I specify a full path name for a file in R? Or
do files have to reside locally?
> KoreaAuto <- read.table(""/Users/
raviramaswamy
Try:
KoreaAuto <- read.table('Documents/Rutgers/HW1Data')
-or-
KoreaAuto <- read.table('Users/raviramaswamy/Documents/Rutgers/STT 586/HW1
Data.txt')
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
Hi Don,
Thanks for your response.
> Which one is larger, mylist$v1 or mylist$v2? Longer, yes, mylist$v2 is
> longer. But larger?
Sure, given any two vectors the goal is to be able to use any criteria
to determine if the first vector is "larger than" the second one. The
key requirement is that de
On 6 February 2010 at 12:04, Brian Wolf wrote:
| I was wondering if anyone had any experience or knew if its possible to
| run R on EC2?
Yes, and apparently pretty easily.
Ubuntu has a number of pre-build images which have the standard R packages
and a number of additional packages already in
On Feb 6, 2010, at 3:29 PM, Ravi Ramaswamy wrote:
Hi - I am not familiar with R. Could I ask you a quick question?
When I read a file like this, I get an error. Not sure what I am
doing
wrong. I use a MAC. How do I specify a full path name for a file
in R? Or
do files have to reside
On Sat, Feb 6, 2010 at 3:22 PM, Hans W Borchers
wrote:
> David Neu davidneu.com> writes:
>
>>
>> Hi,
>>
>> I have a list of vectors (of varying lengths). I'd like to sort this
>> list by applying a function to each pair of vectors in the list and
>> returning information to sorting routine that
Gabor:
I had success with the following.
1. I created a csv file with a perl script called "out.txt". Then ran the
following successfully
library("sqldf")
test_df <- read.csv.sql(file="out.txt", sql = "select * from file", header =
TRUE, sep = ",", dbname = tempfile())
2. I did not have success
Note that you can shorten #1 to read.csv.sql("out.txt") since your
other arguments are the default values.
For the second one, use read.csv.sql, eliminate the arguments that are
defaults anyways (should not cause a problem but its error prone) and
add an explicit eol= argument since SQLite can hav
You might want to look at the plot.Predict function in the rms package - it
allows you to plot the logits or probablities vs the predictor variable at
specified levels of other covariates (if any) in the model. There are many
examples in http://cran.r-project.org/web/packages/rms/rms.pdf
David F
On Feb 6, 2010, at 4:13 PM, David Freedman wrote:
You might want to look at the plot.Predict function in the rms
package - it
allows you to plot the logits or probablities vs the predictor
variable at
specified levels of other covariates (if any) in the model. There
are many
examples i
Hi Matt,
what's your sessionInfo()? Can you try installing bigmemory as follows:
install.packages("bigmemory", repos="http://R-Forge.R-project.org";)
it'll get you the latest version, in which I cannot reproduce the
problem you're reporting (ie, after gc(), I get all the RAM back)
b
On Sat, Fe
>>> See inline for responses. But people are always welcome to contact
>>> us directly.
Hi all,
I'm on a Linux server with 48Gb RAM. I did the following:
x <-
big.matrix(nrow=2,ncol=50,type='short',init=0,dimnames=list(1:2,1:50))
#Gets around the 2^31 issue - yeah!
>>> We stron
Hi there,
I want to read large files line by line in order to process each line
and store the information of each list iin an object. My problem is,
that I do not know how to process each line of the file, because I
want to avoid to import the whole file.
The data file "inputdata.csv" is a CSV fi
Lucio Intelligente gmail.com> writes:
>
> Hi,
>
> I'm running R 2.10.1 GUI 1.31 Leopard build 64-bit (5537).
>
> I cannot install RBloomberg on my Mac. After I type:
>
> install.packages("RBloomberg", repos="http://R-Forge.R-project.org";)
>
> I get the following message:
>
> Warning in in
Check this:
https://stat.ethz.ch/pipermail/r-help/2009-March/192942.html
On Sat, Feb 6, 2010 at 4:57 PM, Dick Harray wrote:
> Hi there,
>
> I want to read large files line by line in order to process each line
> and store the information of each list iin an object. My problem is,
> that I do not
Gabor:
Here is the update. As you can see, I got the same error as below in 1.
1. Error
test_df <- read.csv.sql(file="out_small.txt", sql = "select * from file",
header = TRUE, sep = ",", filter="perl parse_3wkout.pl", eol="\n")
Error in readRegistry(key, maxdepth = 3) :
Registry key 'SOFTWA
The software attempts to read the registry and temporarily augment the
path in case you have Rtools installed so that the filter can access
all the tools that Rtools provides. I am not sure why its failing on
your system but there is evidently some differences between systems
here and I have added
On Sat, 6 Feb 2010, Patrick Burns wrote:
A couple comments.
Although pseudo-random numbers were originally
used because of necessity rather than choice,
there is a definite upside to using them. That
upside is that the computations become reproducible
if you set the seed first (see 'set.seed')
Gabor:
Please see the results below. Sourcing your new R script worked (although with
the same error message). If I put eol="\n" option, it is adding a "\r" to the
last column. I took out the eol option below. This is just some more feedback
to you.
I am thinking that I will just do an inline e
I have uploaded another version which suppresses display of the error
message but otherwise works the same. Omitting the redundant
arguments we have:
ibrary(sqldf)
# next line is only needed once per session to read in devel version
source("http://sqldf.googlecode.com/svn/trunk/R/sqldf.R";)
test
On Sat, Feb 6, 2010 at 8:23 PM, hadley wickham wrote:
> The latest version of reshape is 0.8.3 - perhaps upgrading will fix
> your problem.
Thanks for your response, Hadley!
I just did the upgrade on the Linux system. On OSX I was already at
0.8.3. Now, I get the same result on both systems.
Also take a look at summary.rms and its plot method which produces odds
ratio dot charts directly.
Frank
David Winsemius wrote:
On Feb 6, 2010, at 4:13 PM, David Freedman wrote:
You might want to look at the plot.Predict function in the rms package
- it
allows you to plot the logits or pr
David Neu davidneu.com> writes:
> David Neu davidneu.com> writes:
>
> Hi,
>
> I have a list of vectors (of varying lengths). I'd like to sort this
> list by applying a function to each pair of vectors in the list and
> returning information to sorting routine that let's it know which one
> is l
Hi Jay and Benilton,
Thank you both for your help. When I do not use the dimnames argument,
everything works fine:
x <- big.matrix(nrow=2e4,ncol=5e5,type='short',init=0) #18 Gb RAM used
rm(x) #18 Gb RAM used
gc() #no RAM used
However, when I use dimnames, I get this problem, reproducibly:
x <-
Ok, I studied the source code of melt.data.frame. With na.rm=T melt
operates normally except that it deletes rows from the molten
data.frame that have NAs in the value column. NAs in the id.vars are
not touched. This could be clearer in the documentation especially as
it seems that earlier versi
Gabor:
It did suppress the message now and I was able to load the data. Question.
1. test_df <- read.csv.sql(file="3wkoutstatfcst_small.dat", filter="perl
parse_3wkout.pl")
In the statement above, should the filename in file= and the file name that the
perl script uses through the filter= comm
Jim Lemon bitwrit.com.au> writes:
>
> On 02/06/2010 06:57 PM, Charlotte Maia wrote:
> > Hey all,
> >
> > Does anyone know if there are any R packages with a copy of the KJV?
> > I'm guessing the answer is no...
> >
> > So the next question, and the more important one is:
> > Does anyone think it
On Sat, Feb 6, 2010 at 6:30 PM, Hans W Borchers
wrote:
> David Neu davidneu.com> writes:
>
>> David Neu davidneu.com> writes:
>>
>> Hi,
>>
>> I have a list of vectors (of varying lengths). I'd like to sort this
>> list by applying a function to each pair of vectors in the list and
>> returning
On Feb 6, 2010, at 4:57 PM, Dick Harray wrote:
Hi there,
I want to read large files line by line in order to process each line
and store the information of each list iin an object. My problem is,
that I do not know how to process each line of the file, because I
want to avoid to import the who
file= is the input data file. filter= is just a command string that
specifies a program to run (not a data file).
1. If Filename.tmp is the name of a temporary file (that it creates)
it runs a batch command similar to this:
paste("cmd /c", filter, "<", file, ">", Filename.tmp)
2. Then it re
By the way, if you use the H2 database with sqldf then there is a
second way to read files in using sqldf.
# 1. run your perl program outside of R to create myfile.csv, say.
# 2. install java from http://java.sun.com
# and then install the RH2 package from CRAN
install.packages("RH2")
# 3. load
So I have a data set I would like to model using a non-linear method. I know
it should be an exponential decay. However I know what the first derivative
of the equation should be at two points, x=0 and x=100. Is there anyway to
establish this when inputing the model or how would one go about this
Hello R-Team,
May you help me to post a 'S4-creating Package Problem'?
Thanks already now for supporting.
The problem sounds like:
Hello R forum,
while compiling my R-package these 'Warnings' occur:
...
Warnung in matchSignature(signature, fdef, where) :
in the method signature for function
On Feb 6, 2010, at 10:33 PM, kupz wrote:
So I have a data set I would like to model using a non-linear
method. I know
it should be an exponential decay. However I know what the first
derivative
of the equation should be at two points, x=0 and x=100. Is there
anyway to
establish this when
Agreed, it would be simple to propose the relationship, however the
regression is necessary to model the data properly. Unfortunately a simple
decay based on those two points does not have the proper shape necessary.
This is due to an extreme amount of zero inflation with this fisheries data.
On
Hello,
Do you need /all/ the data in memory at one time? Is your goal to
divide the data (e.g according to some factor /or/ some function of
the columns of data set ) and then analyze the divisions? And then,
possibly, combine the results ?
If so, you might consider using Rhipe. We have analyzed (e
83 matches
Mail list logo