Hi all.
I just noticed that the release of version 2.14.2 was not announced on the
R home page.
Thanks,
~Caitlin
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
Step by step:
1. Create a new document in Open/LibreOffice
2. Copy/paste the following text into the document (as an example)
helloworld=
cat(Hello, world)
@
2. Save the file (e.g. hello.odt)
3. Start R (if not already) shouldn't matter if its plain R/RStudio
4. Change working directory to
I was thinking to create the plot manually?
What do you think?
Thanks
On Mar 7, 5:37 pm, darkpollo darkpo...@gmail.com wrote:
Hi,
I am new to R and i am not sure if i am doing something wrong.
I have a table with 4500x24 (rowsxcols) elements. The rows are data
related to each one of the
Yes, not cygwin\bin but Rtools\bin (which is in my path:)
Sys.which(date)
date
Z:\\R\\Rtools\\bin\\date.exe
The OP's error message (Error in system(date, intern = TRUE) : 'date' not
found) suggests he has no 'date' in his path.
I see ?system says DOS internal commands,
Dear All,
I have a problem in making a matrix from a data. I did a summary data from a
big data frame using (ddply), the resulting table is like that:
Site.NoPlant.NameCover.Percentage
1XXX15
1YYY 20
2XXX
Hi, thank you but it does work for vectors and matrix but not dataframes, it
gives me this message error:
MeanA - read.csv(MeanAmf.csv,header=T)
mysample - MeanA[sample(1:nrow(MeanA), 20, replace=FALSE),]
remainder-MeanA[-mysample]
Error in `[.default`(MeanA, -mysample) : invalid subscript type
Hi sarah, it is not clear to me how to do that, can you show me please?
Imagine I have a situation like this:
MeanA - read.csv(MeanAmf.csv,header=T)
mysample - MeanA[sample(1:nrow(MeanA), 20, replace=FALSE),]
Then?
--
View this message in context:
On 08/03/12 18:52, Chintanu wrote:
Hi,
A very simple thing that I'm unable to do. I did look at the help but
While putting a legend on a plot, I don't wish to have the enclosing
border surrounding the words (as given below).
Tried to use the following, but didn't help :
legend
Hi
I have only faint idea what was you problem as there is no context in you
message but maybe
remainder-MeanA[-mysample, ]
could work.
Regards
Petr
Hi, thank you but it does work for vectors and matrix but not
dataframes, it
gives me this message error:
MeanA -
Hi
If you wish to obtain a 3d plot i think you can use tha bpca library.
To test if it works try a code similar to this (after installing bpca
package):
bp-bpca(pca,lambda.end=3)
plot(bp,var.factor=3,rgl.use=T,obj.name=F)
Regards
Guido
2012/3/8 darkpollo darkpo...@gmail.com
I was thinking
Hi, thank you but it does work for vectors and matrix but not
dataframes, it
gives me this message error:
MeanA - read.csv(MeanAmf.csv,header=T)
mysample - MeanA[sample(1:nrow(MeanA), 20, replace=FALSE),]
Well, maybe slight correction
mysample - sample(1:nrow(MeanA), 20, replace=FALSE)
Hi
Dear All,
I have a problem in making a matrix from a data. I did a summary data
from a
big data frame using (ddply), the resulting table is like that:
Site.NoPlant.NameCover.Percentage
1XXX15
1YYY 20
2
On 03/08/2012 03:46 PM, Manish Gupta wrote:
Hi,
I am working on categorical data with column as disease name(categaory).
My input data is
[1] Acute lymphoblastic leukemia (childhood)
[2] Adiponectin levels
[3] Adiponectin levels
[4] Adiponectin levels
[5] Adiponectin levels
[6]
Hi,
One of the functions I use needs to write to a temporary file, in the
directory given by tempdir(). I want to change this from the standard
one, as the file is too large for the drive. However, tempfile() doesnt
seem to respect the environment variables when I change them with
Dear All,
I have an exon array and did not find any differential gene expression between
two samples. I was looking to perform correlation analysis on the same. Can
anyone recommend any package that would do this for an affy exon array?
Will SAM analysis give me correlated genes?
Thanks and
On 08-03-2012, at 12:15, Jon Olav Skoien wrote:
Hi,
One of the functions I use needs to write to a temporary file, in the
directory given by tempdir(). I want to change this from the standard one, as
the file is too large for the drive. However, tempfile() doesnt seem to
respect the
On Thu, 8 Mar 2012, Jon Olav Skoien wrote:
Hi,
One of the functions I use needs to write to a temporary file, in the
directory given by tempdir(). I want to change this from the standard one, as
the file is too large for the drive. However, tempfile() doesnt seem to
respect the environment
Dear John,
Thanks for the quick response. It works perfectly.
Michael
On Mar 7, 2012, at 9:19 PM, John Fox wrote:
Dear Michael,
effect() works with lmer(). Just load lme4 after the effect package. See the
penultimate example in ?effect.
I hope this helps,
John
Hi,
I am looking for a way to save the result of a function, e.g the lm()-function
to a file and reload it afterwards again. I'd like to do that in order to
minimize the used memory when running the function in a loop. The actual
function I want to store is the evaluate() from the dismo
On 08-Mar-12 12:45, Prof Brian Ripley wrote:
On Thu, 8 Mar 2012, Jon Olav Skoien wrote:
Hi,
One of the functions I use needs to write to a temporary file, in the
directory given by tempdir(). I want to change this from the standard
one, as the file is too large for the drive. However,
Hello
In the variable x.sub$Time i have the many dates in format 2006-10-31
20:10:35 EST, for example when
print (x.sub$Time) give this
[1] 2006-10-31 20:10:35 EST 2006-10-31 20:11:08 EST 2006-10-31 20:11:21
EST 2006-10-31 20:12:16 EST
[5] 2006-10-31 20:13:20 EST 2006-10-31 20:13:28 EST
Hi Hamada,
Could the following be helpful?
dtf is your data.frame
nr - nrow(dtf)
new.dtf - data.frame(Site.No=seq(1,nr/2))
new.dtf$XXX - dtf[seq(1,nr,2),3]
new.dtf$YYY - dtf[seq(2,nr,2),3]
or
new.mat - numeric()
new.mat - cbind(new.mat,dtf[seq(1,nr,2),3])
new.mat -
Thanks, but it doesn't work either, it gives me the same message error.
It works just if my first sample is taken in this way:
mysample - sample(1:nrow(MeanA), 20, replace=FALSE)
However, in this way it sample just the number of rows:
[1] 71 24 12 36 2 39 69 62 43 38 9 44 13 54 50 63 67 66
Sir,
This query is related to randomForest regression using R.
I have a dataset called qsar.arff which I use as my training set and
then I run the following function -
rf=randomForest(x=train,y=trainy,xtest=train,ytest=trainy,ntree=500)
where train is a matrix of predictors
Hi.Please help if someone can.
Problem:
I have 2 matrices
Eg
matrix 1:
Freq None Some
Heavy32 5
Never8 13 8
Occas14 4
Regul 95 7
matrix 2:
Freq None Some
Hi Petr,
Finally, I got the solution like you explained and I find another one like
the following:
Cover - tapply(cover[,3], cover[, c(1,2)], c)
It is working great.
Thanks for your help,
Hamada
--
View this message in context:
Thank you. I really appreciate the help.
May i ask two questions.
In the example below:
table - structure(c(4, 7, 0.2, 3, .1, 7, 222, 3, 10, 5, 11,
8, 8, 10, 7), .Dim = c(5L, 3L), .Dimnames = list(c(gene1,
gene2, gene3, gene4, gene5), c(codon1, codon2,
codon3)))
Library(ca)
Hello, I have a .txt file with many clinical exams reports (two examples of
which are attached to the message).
I have to create a data frame with as many rows as the number of clinical
exams reports in the text file and 24 columns:
the first (to be labelled as ID) with a number (representing an
Load doesn't return the object you saved, but rather a character
vector with the name of that object, here x. So you would do
something like
load(/path/to/file_A)
x # Here's your data
or more robustly
get(load(/path/to/file_A))
See ?load (value) for details.
Michael
On Thu, Mar 8, 2012 at
Hello All,
i've a set of observations that is in the form :
a,b,c,d,e,f
67.12,4.28,1.7825,30,3,16001
67.12,4.28,1.7825,30,3,16001
66.57,4.28,1.355,30,3,16001
66.2,4.28,1.3459,13,3,16001
66.2,
This question seems more suited to the Bioconductor mailing list:
you'll get specialized (and very good) help if you post there.
Michael
On Thu, Mar 8, 2012 at 6:22 AM, Ekta Jain ekta_j...@jubilantbiosys.com wrote:
Dear All,
I have an exon array and did not find any differential gene
Dear list members,
Within a loop, I need to create an xyplot with only a legend, not even
with the default external box drawn by lattice.
I already managed to remove the axis labels and tick marks, but I
couldn't find in the documentation of xyplot how to remove the
external box.
I would really
I wish to fit a dynamical model in R and I am running in a problem that
requires some of your wisdom to solve. For SAS users I am searching for
the equivalent of the */retain/ *statement.
For people that want to read complicated explanations to help me:
I have a system of two equations written
You don't provide either dput() or str() results, so nobody here knows exactly
what your data format is. But as a first guess, you should probably be using
sart-x.sub$Time[1]
instead.
Sarah
On Thu, Mar 8, 2012 at 4:35 AM, RMSOPS ricardosousa2...@clix.pt wrote:
Hello
In the variable
Ooops,
I forgot to specify that for each raw, containing records of the clinical
reports , the values of the 22 parameter measurement have to be reported.
For example, first raw, first 5 columns:
ID DATE GLICEMIA AZOTEMIA
CREATININEMIASODIEMIA ...
Hi,
thank you, Pascal, for your quick reply. Unfortunately your suggestion
is not working. Please have a look on the attachment, I have added
manually the mean lines I am trying to plot. The problem with 'abilne'
seems to be that the argument 'v' is relative to the graph area, not the
x-axis
dput(x.sub) so we can see what you really have.
Michael
On Thu, Mar 8, 2012 at 4:35 AM, RMSOPS ricardosousa2...@clix.pt wrote:
Hello
In the variable x.sub$Time i have the many dates in format 2006-10-31
20:10:35 EST, for example when
print (x.sub$Time) give this
[1] 2006-10-31
See inline:
On Thu, Mar 8, 2012 at 7:41 AM, Massimo Di Stefano
massimodisa...@gmail.com wrote:
Hello All,
i've a set of observations that is in the form :
a, b, c, d, e, f
67.12, 4.28, 1.7825, 30, 3, 16001
67.12, 4.28, 1.7825, 30, 3, 16001
One way is to do it manually
plot(..., xaxt = n)
axis(1, at = seq_along(wnd), labels = paste(seq_along(wnd), h)
The other is to give plot x and y vectors.
Michael
On Wed, Mar 7, 2012 at 10:25 PM, Jie Tang totang...@gmail.com wrote:
hi
I plot a series of observation data every minutes in a
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
We have nothing at all to go on.
John Kane
Kingston ON Canada
-Original Message-
From: lpchaparro...@gmail.com
Sent: Wed, 7 Mar 2012
Please use dput() to give a reproducible example: I can make this work
on a data frame quite easily --
x - data.frame(1:10, letters[1:10], rnorm(10))
str(x)
print(x)
x[sample(nrow(x), 5), ]
So it's not a problem with something being a data frame or having factors.
Michael
On Thu, Mar 8, 2012
On Thu, 8 Mar 2012, RMSOPS wrote:
Hello
In the variable x.sub$Time i have the many dates in format 2006-10-31
20:10:35 EST, for example when
print (x.sub$Time) give this
[1] 2006-10-31 20:10:35 EST 2006-10-31 20:11:08 EST 2006-10-31 20:11:21
EST 2006-10-31 20:12:16 EST
[5] 2006-10-31
Hi Kimmo,
Unfortunately, I can't visualize the attachment. Could you provide an example I
can reproduce?
Regards,
Pascal
- Mail original -
De : K. Elo mailli...@nic.fi
À : r-help@r-project.org
Cc :
Envoyé le : Jeudi 8 mars 2012 22h38
Objet : Re: [R] Re : Adding mean line to a
--begin included message --
I thought this would be trivial, but I can't find a package or function
that does this.
I'm hoping someone can guide me to one.
Imagine a simple case with two survival curves (e.g. treatment
control).
I just want to calculate the difference in KM estimates at a
Thanks all, I realized the error of my ways last night. Apparently my
brain was on vacation yesterday. Thanks to all for going through this
yet again!
Best,
Ista
On Thu, Mar 8, 2012 at 1:08 AM, Daniel Nordlund djnordl...@frontier.com wrote:
-Original Message-
From:
Hi everybody,
Thank you all for your suggestions, you have been very helpful.
However at the end I solved in this way:
mysample - MaxDH[sample(1:nrow(MaxDH), 150, replace=FALSE),]
A-mysample[1:120,]
B-mysample[121:150,]
So simple at the end...
Best,
Luca
--
View this message in context:
On Wed, Mar 7, 2012 at 1:47 PM, Mark Heckmann mark.heckm...@gmx.de wrote:
Michael, thanks for your answer!
The attribute solution has its problems though.
First, how it will work:
foo - function(){
w - gtkWindow()
da - gtkDrawingArea()
w$add(da)
asCairoDevice(da)
Dear all.
I have some data and I seek the way to start their evaluation. The values
are from survey of different persons and their opinion about various
methods (metoda) and instrument (uzel). I am not sure where to start. I
would like to end with combination of method (metoda) and instrument
On 08/03/2012 8:42 AM, R. Michael Weylandt wrote:
Load doesn't return the object you saved, but rather a character
vector with the name of that object, here x. So you would do
something like
load(/path/to/file_A)
x # Here's your data
or more robustly
get(load(/path/to/file_A))
See ?load
odfWeave is an R package.
First off, be sure it is installed. Use
install.packages(odfWeave)
to install it and then load it with the command
library(odfWeave)
General Intro
http://cran.r-project.org/web/packages/odfWeave/vignettes/odfWeave.pdf
Specific newbie tips.
Hi
You can use this function to add arbitrary line to already plotted lattice
graph.
addLine- function(a=NULL, b=NULL, v = NULL, h = NULL, ..., once=F) {
tcL - trellis.currentLayout()
k-0
for(i in 1:nrow(tcL))
for(j in 1:ncol(tcL))
if (tcL[i,j] 0) {
k-k+1
trellis.focus(panel, j,
Original-Nachricht
Datum: Thu, 08 Mar 2012 09:51:01 -0500
Von: Duncan Murdoch murdoch.dun...@gmail.com
An: R. Michael Weylandt michael.weyla...@gmail.com
CC: Johannes Radinger jradin...@gmx.at, R-help@r-project.org
Betreff: Re: [R] Save/Load function()-result to file in a
Here is a quick start. You will have to either greatly reduce the length of
the names or play around with various plot or barplot options to get the x
labels.
Have a look at ?plot.default and ?barplot for more information
John Kane
Kingston ON Canada
The R-help list usually strips attachements and did so with yours so we have no
data. You can include sample data by using dput and pasting the result into
your email. See ?dput for more information.
John Kane
Kingston ON Canada
-Original Message-
From: totang...@gmail.com
Sent:
Hello,
I am using {plm} to estimate panel models. I want to estimate a model that
includes fixed effects for time and individual, but has a random individual
effect for the coefficient on the independent variable.
That is, I would like to estimate the model:
Y_it = a_i + a_t + B_i * X_it + e_it
Dear John, et al.:
What happens if lme4 is loaded before the effect package?
Is this an issue of a user wanting to use two different packages
with potentially conflicting names? What are the standard
recommendations for handling issues like this? Just to test my
I think this is what you want.
library(reshape2)
dcast( xx, Site.No ~ Plant.Name)
John Kane
Kingston ON Canada
-Original Message-
From: medo_bot...@hotmail.com
Sent: Thu, 8 Mar 2012 01:20:42 -0800 (PST)
To: r-help@r-project.org
Subject: [R] Problem with a Matrix
Dear All,
I
Humm If I understand what you are saying, you are correct. I get
144.138 for 2009-03-20 for column C. Maybe I posted the wrong code? If so,
sorry. Let me know if you disagree. I still plan to come back to this and
optimize it more, so if you see anything that would make it faster that
would
Dear Spencer,
-Original Message-
From: Spencer Graves [mailto:spencer.gra...@prodsyse.com]
Sent: March-08-12 10:29 AM
To: Michael Kubovy
Cc: John Fox; r-help
Subject: Re: [R] Packages 'effects' loads 'name' which conflicts with
'lme4' [corrected subject: Package 'effects' loads
Dear John, et al.:
What happens with import(foo) and importFrom(foo, f, g) with foo
in suggests? Does foo appear in the search path? If no, then it may be
wise to specify all uses in package mine of objects from package
other using import and importFrom with other in suggests.
Dear all I am having two numerical vector the x and y.
I would like to find the identical x,y pairs. How I can do that in R?
I would like to thank you in advance
B.R
Alex
[[alternative HTML version deleted]]
__
R-help@r-project.org
Perhaps which(x == y) or intersect(x,y) or x %in% y or many others.
You really need to give an example of x and y and say what you mean by
identical pairs to get any concrete suggestions.
Michael
On Thu, Mar 8, 2012 at 11:17 AM, Alaios ala...@yahoo.com wrote:
Dear all I am having two numerical
On Mar 8, 2012, at 5:10 AM, shameek ghosh wrote:
Sir,
This query is related to randomForest regression using R.
I have a dataset called qsar.arff which I use as my training set
and
then I run the following function -
Hi Alex,
x - sample.int(4,20,replace=TRUE)
y - sample.int(4,20,replace=TRUE)
cbind(x,y)[x==y,]
Thanks,
Mitch
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Alaios
Sent: Thursday, March 08, 2012 11:18 AM
To: R help
Subject: [R]
Hi all,
I have a nx1 logical array of zeros and ones and I want to calculate the
individual lengths of all 1-consecutive sequences contained in it. Is there an
easy quick way to do this in R? So, if I have a vector such as
1110011011110
I would like to get (1) 3, (2) 2, (3) 1, (4) 7
Hello
I try save the results in the the vector,
v_star[1]-x.sub$Time[1]
and give me the following error
In v_end[1] - x.sub$Time[1] :
number of items to replace is not a multiple of replacement length, how
put this [1] *2006-10-31 19:03:01 EST*
inside the vetor
Thanks
--
View
I'm trying to copy the results of a dataframe to another within a cycle for
but I am not able to implement the rbind, because give th
d-Null
df-NULL
for(r in 2: nrow(x))
{
val_user-x.name[[r]]
pos-x.pos[[r]] -4
age -x.age[[r]]
d-data.frame(val_user,pos,)
rle should get you started.
Michael
On Thu, Mar 8, 2012 at 9:35 AM, Jorge Molinos jgarc...@tcd.ie wrote:
Hi all,
I have a nx1 logical array of zeros and ones and I want to calculate the
individual lengths of all 1-consecutive sequences contained in it. Is there
an easy quick way to do
Is v_star a vector? That is, was it already created?
Otherwise you'll need:
v_star - x.sub$Time[1]
as a number of people have already suggested.
Sarah
On Thu, Mar 8, 2012 at 9:39 AM, RMSOPS ricardosousa2...@clix.pt wrote:
Hello
I try save the results in the the vector,
I'm trying to copy the results of a dataframe to another within a cycle for
but I am not able to implement the rbind, because give th
d-Null
df-NULL
for(r in 2: nrow(x))
{
val_user-x.name[[r]]
pos-x.pos[[r]] -4
age -x.age[[r]]
d-data.frame(val_user,pos,)
?rle
If your vector is as shown, you'll need to split it into its
component elements
first, possibly with strsplit().
If you use dput() or some other means of providing a reproducible example,
someone might be inclined to offer you actual code.
Sarah
On Thu, Mar 8, 2012 at 9:35 AM, Jorge
What goes wrong? Your code isn't reproducible and you didn't give an
error message. I'd mention that d - Null does not assign NULL to d
which might lead to a dimension mismatch at some point. Also,
something about your loop syntax seems funny: you are looping over
rows but selecting columns of
What exactly are you trying to do?
We can't replicate your code because we don't have your data,
we don't know what your objective is, and we don't know what
went wrong.
Also, Null and NULL are not the same thing.
On Thu, Mar 8, 2012 at 11:26 AM, RMSOPS ricardosousa2...@clix.pt wrote:
I'm
Dear Spencer,
Perhaps I misunderstand what you suggest, but I don't see how importing
objects helps, when there are objects of the same name in both nlme and lme4
that users of effects will use in different circumstances. That is
effect.lmer() and effect.lme() should both work, though not in the
HI again,
thanks for the replies. Unfortunately, due to my deadlines, I had no
time to test Petr's suggestion. I will test it later. I had to figure
out an alternate solution, so I decided to use normal plotting functions:
with(subset(ISGFINC2, as.numeric(SGENDER)==1), plot(density(PV1CIV),
Hello everyone:
I'm a new member of this group.
Following the question(2) of Amit Patel-7,
I know oneway.test has the option of
var.equal=F.
Maybe it's can be the answer of this
Hi I am very new to R.
I am using lattice package to create levelplot.
Original code has
levelplot(cor.Cars93[ord, ord], xlab = NULL, ylab = NULL)
where cor.Cars93 is 18x18 double matrix containing correlation between
variables, and ord is just order of variables.
However my data looks like
Var1
Hello R Help!
I would like to make a legible boxplot of tree growth rates for each of
seven tree species at each of seven different sites. It's a lot of data to
put on one figure, I know. I made a beautiful, interpretable figure using
color, but my target journal can't deal with color figures. I
Hi there,
I wish to read a 9.6GB .DAT file into R (64-bit R on 64-bit Windows machine)
- to then delete a substantial number of rows then convert to a .csv file.
Upon the first attempt the computer crashed (at some point last night).
I'm rerunning this now am closely monitoring
On 08-03-2012, at 14:50, Journals wrote:
I wish to fit a dynamical model in R and I am running in a problem that
requires some of your wisdom to solve. For SAS users I am searching for
the equivalent of the */retain/ *statement.
For people that want to read complicated explanations to
On Thu, Mar 8, 2012 at 1:08 PM, Gabriel Yospin yosp...@gmail.com wrote:
Hello R Help!
Hello Gabe Yospin! (I feel like I should start playing some arena rock
anthem now ;-) )
I would like to make a legible boxplot of tree growth rates for each of
seven tree species at each of seven different
When using a gtkDrawingArea as a Cairo device I very often encounter the error:
figure margins too large
Even for the below getting started example from http://www.ggobi.org/rgtk2/
this is the case.
win = gtkWindow()
da = gtkDrawingArea()
win$add(da)
asCairoDevice(da)
[1] TRUE
plot(1:10)
On Fri, Mar 9, 2012 at 3:08 AM, Terry Therneau thern...@mayo.edu wrote:
A note on standard errors: S(t) +- std is a terrible confidence
interval. You will be much more accurate if you use log scale. (Some
argue for logit or log-log, in truth they work well.) If n is large
enough,
Dear R-help,
I recently upgraded from R 2.13.1 to R 2.14.2 and now get warning
messages when plotting after using x11(). Example:
plot(rnorm(10))### no warnings
x11(); plot(rnorm(10))
Warning messages:
1: In axis(side = side, at = at, labels = labels, ...) :
Font family not found in
Given
studentNumbers-10;
subjEnglish-sample(-1:100,studentNumbers,replace=TRUE);
when subEnglish =0, 'U'
=39, 'F'
=49 'D'
=59, 'C'
=69, 'B'
=79,'A'
Hi All,
I'm using read.xls from GDATA and it seems to be treating ampersands
differently depending on whether the source file is an XLS or the more
current XLSX. Ampersands from an XLSX become amp;.
As a test I have a csv:
write.csv(data.frame(a=c(JERRY, DICK LINDA)), ampersand.csv,
?findInterval
subjEnglish-sample(-1:100,studentNumbers,replace=TRUE);
grade - c(-Inf, 39, 49, 59, 69, 79, 100) # grade break points
let - c(U, F, D, C, B, A, A+)[findInterval(subjEnglish, grade)]
cbind(subjEnglish, let)
subjEnglish let
[1,] 77B
[2,] 93A
[3,] 52
On Mar 8, 2012, at 3:14 PM, Ajay Askoolum wrote:
Given
studentNumbers-10;
subjEnglish-sample(-1:100,studentNumbers,replace=TRUE);
when subEnglish =0, 'U'
=39, 'F'
=49 'D'
=59, 'C'
=69, 'B'
On Mar 8, 2012, at 20:27 , Mark Heckmann wrote:
When using a gtkDrawingArea as a Cairo device I very often encounter the
error: figure margins too large
Even for the below getting started example from http://www.ggobi.org/rgtk2/
this is the case.
win = gtkWindow()
da =
Peter, thanks for the answer!
Indeed, it does work if I set par(mar=c(0,0,0,0)) but not when it is set to the
default values mar=c(5.1, 4.1, 4.1, 2.1).
The par settings returned in the example are the defaults, so no extraordinary
big mar settings or char size (see below).
Also, it does not
Thanks - Jason Connor, Rolf Turner and Pascal Oettli.
Either of the following can remove the border surrounding the words.
legend (locator(1), Important ones, box.col=NA)
legend (locator(1), Important ones , bty=n)
regards,
Chintanu
[[alternative HTML version deleted]]
My opinion is that you should be spending your effort on setting up a SQL
engine and importing it there. If you have 32GB of RAM your current direction
might work, but working with sampled data rather than population data seems
pretty typical for statistical analysis.
Hi,
On Thu, Mar 8, 2012 at 1:19 PM, RHelpPlease rrum...@trghcsolutions.com wrote:
Hi there,
I wish to read a 9.6GB .DAT file into R (64-bit R on 64-bit Windows machine)
- to then delete a substantial number of rows then convert to a .csv file.
Upon the first attempt the computer crashed (at
On Thu, Mar 8, 2012 at 6:19 PM, RHelpPlease rrum...@trghcsolutions.com wrote:
Hi there,
I wish to read a 9.6GB .DAT file into R (64-bit R on 64-bit Windows machine)
- to then delete a substantial number of rows then convert to a .csv file.
Upon the first attempt the computer crashed (at some
Hi Jeff Steve,
Thanks for your responses. After seven hours R/machine ran out of memory
(and thus ended). Currently the machine has 4GB RAM. I'm looking to
install more RAM tomorrow.
I will look into SQLLite3; thanks!
I've read that SQL would be a great program for data of this size
Hi,
On Thu, Mar 8, 2012 at 6:45 PM, RHelpPlease rrum...@trghcsolutions.com wrote:
Hi Jeff Steve,
Thanks for your responses. After seven hours R/machine ran out of memory
(and thus ended). Currently the machine has 4GB RAM. I'm looking to
install more RAM tomorrow.
You can't load a 9.6GB
Dear All,
I have two matrices A (40 x 732) and B (40 x 1230) and would like to calculate
correlation between them. I can use: cor(A,B, method=pearson) to calculate
correlation between all possible pairs. But the issue is that there is one-many
specific mappings between A and B and I just need
Hi Barry,
You could do a similar thing in R by opening a text connection to
your file and reading one line at a time, writing the modified or
selected lines to a new file.
Great! I'm aware of this existing, but don't know the commands for R. I
have a variable [560,1] to use to pare down the
Hi Sarah,
Thanks for the SQL info! I'll look into these straightaway, along with the
notion of opening a text connection.
Thanks again!
--
View this message in context:
http://r.789695.n4.nabble.com/Reading-in-9-6GB-DAT-File-OK-with-64-bit-R-tp4457220p4458083.html
Sent from the R help
On Thu, Mar 8, 2012 at 1:19 PM, RHelpPlease rrum...@trghcsolutions.com wrote:
Hi there,
I wish to read a 9.6GB .DAT file into R (64-bit R on 64-bit Windows machine)
- to then delete a substantial number of rows then convert to a .csv file.
Upon the first attempt the computer crashed (at some
1 - 100 of 130 matches
Mail list logo