Quoting Duncan Murdoch murdoch.dun...@gmail.com:
On 21/10/2010 1:23 PM, j.delashe...@ed.ac.uk wrote:
Quoting Duncan Murdochmurdoch.dun...@gmail.com:
j.delashe...@ed.ac.uk wrote:
I have just started using the package 'rgl' to explore my data as a
3D scatterplot.
It's a great tool. But
Thank you for this!
I had also wanted in the past to do this, and ended up writing dummy
files with informative names to a folder I set to collect these
messages, so I'd check the folder to see the new files being
generated... It did the job, and at the same time I could see how long
it
Quoting Petr PIKAL petr.pi...@precheza.cz:
There are many ways how to import whole file by read.* commands but you
could also check scan or readLines functions. The result always depends on
looklike of your input file (separators, decimals, missing values etc.)
Regards
Petr
When a file
I have just started using the package 'rgl' to explore my data as a 3D
scatterplot.
It's a great tool. But I would like to be able to save some graph
views and it appears the only format available is 'png' and it doesn't
look that nice. It is excellent to work with on screen and
Quoting Duncan Murdoch murdoch.dun...@gmail.com:
j.delashe...@ed.ac.uk wrote:
I have just started using the package 'rgl' to explore my data as a
3D scatterplot.
It's a great tool. But I would like to be able to save some graph
views and it appears the only format available is 'png'
you forgot to include output1 in your cbind call.
what I normally do is initialise the variable where I want to store
the dataframe prior to starting the loop:
output1-NULL
then run the loop, and within it there should be a:
output1-cbind(output1, newdata)
where 'newdata' will be the new
Dear list,
is there a way to open a .zip folder so that one can extract and
modify files inside and then save teh .zip folder again?
thanks!
Jose
--
Dr. Jose I. de las Heras Email: j.delashe...@ed.ac.uk
The Wellcome Trust Centre for Cell BiologyPhone: +44 (0)131
Quoting Jeff Newmiller jdnew...@dcn.davis.ca.us:
In the way you describe it, no.
A) There is no such thing as a zip folder. You are most likely
being fooled by the visual presentation of zip files in Windows
Explorer, which automatically simulates it as a folder, when it is
really
Quoting Prof Brian Ripley rip...@stats.ox.ac.uk:
See also Omegahat package Rcompression (a copy of which for Windows is
on CRANextras).
Thank you, I will look into that.
But I would do this via unzip, modify, zip
once or even 10 times, yes. After that it gets boring :)
I'd like to use
Unfortunately the shorter version does not do what the op asked.
The correct way is using the 'collapse' parameter. Using paste on a
vector of length n with the parameter 'sep' you get a vector of n
elements. If you use collapse you get a single string.
Jose
Quoting Cristian Montes
Quoting Erik Iverson er...@ccbr.umn.edu:
j.delashe...@ed.ac.uk wrote:
Quoting Prof Brian Ripley rip...@stats.ox.ac.uk:
See also Omegahat package Rcompression (a copy of which for Windows is
on CRANextras).
Thank you, I will look into that.
But I would do this via unzip, modify, zip
Concise and perfect answer. Thanks!
I'm surprised I never came across this issue before (4 years playing with R).
Jose
Quoting Erik Iverson er...@ccbr.umn.edu:
FAQ 7.31
j.delashe...@ed.ac.uk wrote:
It is a strange behaviour in that I did not expect it... but I am
sure there is a
Hi everyone,
is there a way/package in R that would allow me to select a group of
points from a scatterplot by drawing a circle around them or some such?
I can use 'identify' to pick individual points, but that gets tedious
if one has more than 10-20 spots.
I can easily select spots
It is a strange behaviour in that I did not expect it... but I am sure
there is a simple explanation for it and it'll have to do with the way
numbers are stored in R, but it's caught me by surprise and I don't
find it obvious.
Here's a simplified example reproducing the behaviour I
I'm trying something that I thought would be pretty simple, but it's
proving quite frustrating...
I want to display, for instance, the correlation coefficient rho in a graph.
I can do something like:
text(x, y, paste(rho =, cor))
where cor would be my previously calculated correlation
Quoting baptiste auguie baptiste.aug...@googlemail.com:
Hi,
try this,
plot.new()
x=0.8
text(0.5, 0.5, bquote(rho == .(x)))
HTH,
baptiste
Aha!
That does exactly what i wanted! Thanks!
Jose
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration
Quoting Peter Ehlers ehl...@ucalgary.ca:
j.delashe...@ed.ac.uk wrote:
Quoting baptiste auguie baptiste.aug...@googlemail.com:
Hi,
try this,
plot.new()
x=0.8
text(0.5, 0.5, bquote(rho == .(x)))
HTH,
baptiste
Aha!
That does exactly what i wanted! Thanks!
Jose
But does it do what it
Ah! sorted!
it was NOT running the same code.
We're making a GUI using Perl (Tcl/Tkx) to facilitate a number of
analyses in our lab to other people who don't necessarily want to know
about R (their loss ;-)
I provided the R code to my colleague and he assured me he used it
without
Hello list,
I use R for microarray analysis.
One procedure I use takes a large matrix, and loops through it looking
for specific rows, does an operation with them, and outputs a result
(single row) as a row of another matrix. The loop goes on about 25000
times.
When I run the loop
Quoting Peter Dalgaard [EMAIL PROTECTED]:
[EMAIL PROTECTED] wrote:
Hi,
I have been using 'read.table' regularly to read tab-delimited text
files with data. No problem, until now.
Now I have a file that appeared to have read fine, and the data inside
looks correct (structure etc), except I
The result was 11, 24001 times, as I expected originally. hmmm...
JOse
Quoting Gabor Grothendieck [EMAIL PROTECTED]:
Try looking at the result of count.fields to diagnose it.
On Tue, Sep 23, 2008 at 5:19 AM, [EMAIL PROTECTED] wrote:
Hi,
I have been using 'read.table' regularly to read
Hi,
I have been using 'read.table' regularly to read tab-delimited text
files with data. No problem, until now.
Now I have a file that appeared to have read fine, and the data inside
looks correct (structure etc), except I only had 15000+ rows out of
the expected 24000. Using 'readLines'
Hi,
I was wondering if there's a way in R to open a web browser (such as
Internet Explorer, or Firefox or whatever).
I'm doing some analyses that have associated urls, and it would be
nice to have the ability to directly open the relevant page from
within R.
I was looking at the help for
Fantastic! That's perfect.
how didn't I find that???
Thank you!
Jose
Quoting Henrique Dallazuanna [EMAIL PROTECTED]:
Use browseURL:
browseURL('about:blank')
On Fri, Aug 15, 2008 at 7:55 AM, [EMAIL PROTECTED] wrote:
Hi,
I was wondering if there's a way in R to open a web browser
Thanks to everyone who replied to me, both on and off-list.
Indeed, searching for url alone finds 'browseURL' and the very
interesting 'shell.exec'... I must have had a fuzzy moment because I
did not see it when I first looked, but yes, there they are!
So, apologies for asking something
Hi everyone,
I hope there's a simple way to achieve what I want, but I haven't
found the way.
I do microarray analysis using R and a number of packages as well as
some functions created my myself.
When I save the workspace, it saves all the data structures, that's
great... But when I
Excellent!
Thanks for the pointers. Although the functions were indeed loaded
with a source() call... I'll recheck the behaviour and see if I get
this to work how I want it.
thanks again!
Jose
Quoting Sarah Goslee [EMAIL PROTECTED]:
Functions you've loaded using source() should be
Quoting Scionforbai [EMAIL PROTECTED]:
I just wonder: why should R and its community try to support such an
awful program, with its protected formats and unmantained
features/bugs?
I mean, from both philosophical and technical point of view: R is free
software and should rather try to be
Quoting Scionforbai [EMAIL PROTECTED]:
It would be dumb to ignore the fact that Excel is a very widespread
program, and therefore in the real world we are very likely to
encounter data formatted by Excel.
Of course I know the widespreading of such programs. But the point is:
how can we
29 matches
Mail list logo