Displaying 20 results from an estimated 2000 matches similar to: "how to display a string containing greek chrs and variables"
2009 Sep 03
2
Calling R from a Perl script: much slower?
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 directly from the R console itself, it takes about
3 minutes in my computer. I'm ok with that.
Now,
2010 Aug 03
1
how to read/save .zip compressed files from R?
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.delasHeras at ed.ac.uk
The Wellcome Trust Centre for Cell Biology Phone: +44 (0)131 6507095
Institute for Cell & Molecular Biology Fax: +44 (0)131 6507360
Swann Building,
2010 Feb 03
2
selecting a group of points from a scatterplot?
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 within a rectangle defined by picking points
using identify... but a simple rectangle sometimes will
2008 Aug 15
6
Opening a web browser from R?
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 'url' and I can see I can probably
access the information I need and display it in my
2008 Sep 23
2
read.table & readLines behaviour?
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' instead, and breaking up the
data by tabs, gives me the expected result.
I do not
2007 Apr 26
1
Tinn-R editor question: saving syntax colour options.
Hi,
after reading about it in the forum, I tried the Tinn-R editor (in
WinXP) running R 2.5.0... nice one!
However, I am trying to change the syntax-colouring from the default
to my own preferences... and I can do that, but my options don't
appear to be saved and get lost when I close Tinn-R. I've searched
help menus, and google... and I can't find how to make sure my
2008 Jul 25
1
Saving a workspace with "extras"?
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 click (I'm on Windows XP, if it matters) on teh
resulting .RData file, I have to reload
2010 Oct 21
4
3D-scatterplots - high quality rendering?
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
explore/play, but when it comes to producing a good quality graphic
I'm a bit
2007 May 25
1
3D plots with data.frame
Dear all,
Thank you for any help. I have a data.frame and would like to plot
it in 3D. I have tried wireframe() and cloud(), I got
scatterplot3d(xs)
Error: could not find function "scatterplot3d"
> wireframe(xs)
Error in wireframe(xs) : no applicable method for "wireframe"
> persp(x=x, y=y, z=xs)
Error in persp.default(x = x, y = y, z = xs) :
(list)
2007 Apr 24
2
negative number to positive number
Hello all,
I know this is a pretty easy question but I can't find it in S poetry or
R help.
How can I make a negative number positive. Such as
-5 to be +5
I tried +(-5), but that didn't work.
So no, I don't mean taking a -5^2 just to get a positive number.
This is in a function so it's not just -5 it's x. :)
Thanks,
Paul
--
Research Technician
Mass Spectrometry
o The
2007 Jul 18
2
hist() Frequancy values
I have seen that the hist() function plots an histogram of the frequency but I
cannot find the value of the object hist that contains theese values... how
is possible to get out them?
thank you very mutch
best regards
Manuele
--
Manuele Pesenti
manuele a inventati.org
amicogodzilla a jabber.linux.it
http://mpesenti.polito.it
2007 May 14
2
Left/right hand side characters
Hello all
Is there a way reducing the number of characters in a list so that just
the left n numbers of characters is given?
For example, If I have a list, listnames, which consists of 4 strings of
6 characters;
>listnames
[1] "item12" "item34" "item56" "item78"
Is there a way to reduce this so only the 5 characters on the lefthand
side are
2007 May 22
4
Legend outside plotting area
Hi,
I have been trying many of the suggested options
to place a legend outside plotting area, including
something like this:
par(xpd=T,
oma=par()$oma+c(4.5,0,1.5,0),mar=par()$mar+c(1,0,1,0)
But the aspect of the four plots gets compromised
when I change the margin settings. I cannot use mtext
because I need to use colors for the text. I tried
layout, but wouldn't let me include
2007 Jun 02
4
Re : I need some help please!
To whom it may concern,
I want to plot two or more graphics in the same window by the means of the
"plot" command. To do that, I have tried the "add=TRUE" option, but this last
one does not work! Do you have an hint for me please?
Thank you very much for your attention.
Bernard Colin
Departement of Mathematics
Faculty of Sciences
Sherbrooke University
Sherbrooke (Quebec)
2007 Apr 27
2
Scatter Plot in R - Help
Dear All,
I am using the following commands to do the scatter
plot of two vectors, say X and Y.
plot(X,Y, col="blue")
abline(a=1,b=1, col="red")
abline(a=-1,b=1, col="green")
I would like to split the scatter plot into 3 part
with 3 different colors: (i) points lies between 2
lines, (ii) points above line 1, and (iii) points
below line 2. I am struggling to do
2007 Apr 13
2
Difficulty with formatting scatter.smooth output
Hello,
I have been using scatter.smooth and been trying to format my plots
and been unable to adjust the line type or color of the smooth curve.
When I specify col in scatter.smooth, I can adjust the color of the
scatter plot points, but the line always stays black and solid. lty
has no effect.
When I specify par prior to calling scatter.smooth, col will change
the color of the points,
2010 Oct 21
4
data.frame query
Hi All,
Apologies for the simplicity of my question, but I would be grateful for any
advice. Thanks
I'm trying to put the output from a for loop into a data frame, however I
have not been successful.
The steps I have taken are:
*R-code:*
>for (k in 1:(nt-1-n0) ){
> n<- n0-1+k
> lam=n/nt
> Q=x[n]
> output1<-data.frame(cbind(k,n,lam,Q))
> output1
> }
2007 Jul 18
2
Subsetting Enigma: More rows after dataframe[-list,]?
Hello again,
I'm trying to purge the indexes in i.delete from frame and end up with more
rows!? Please be so kind and let me know where I screw this up ...
Joh
> i.delete
[1] 40 45 165 212 253 270 280 287 301 352 421 433 463 467
487
[16] 517 537 542 573 594 596 612 614 621 635 650 696 699 707
732
[31] 738 776 826 891 892 936 937 935 940 976
2007 Apr 20
2
limmaGUI
Dear all,
I have a question about limmaGUI that is usually run in R environment.
My problem is loading data into the programm. I have 6 gpr files that
apparently are not compatible with limma. Everytime I'm trying to load
the data (including a RNA targets file, an error appears:Error reading
files. that I'm not sure,but seems to have something to do with the
format of my files
2007 May 14
3
x axis problems
I have been searching for the R manual, unable to solve my problem.
Questions
1) How can I put the x axis at the top of the plot?
2) I am plotting data from a CTD. I want to add series sal, obs and fluo
at the same plot by using points(sal,deepth) ets. The data have
different values so I want to use multiple x axis (4) with different
scaling. How can I do that?