Displaying 20 results from an estimated 10000 matches similar to: "Changing default library"
2008 Jan 24
3
store variable as tab-del. txt-file
Hallo,
how can I store a variable as a tab-delimited txt-file? I crated a
variable with the following commands:
> fit12<-lmFit(qrg[,1:2])
> t12<-toptable(fit12,adjust="fdr",number=25,genelist=qrg$genes[,1])
> t12
ID logFC t P.Value adj.P.Val B
522 PLAU_OP -6.836144 -8.420414 5.589416e-05 0.01212520 2.054965
1555 CD44_WIZ -6.569622
2007 Oct 16
1
Chronological data manipulation question
Hi all,
I currently work on a survey which contains biographical data stored
in a chronological way, ie something like :
id year variable
001 2000 0
001 2001 0
001 2002 1
001 2003 0
002 1996 0
002 1997 0
002 1998 1
002 1999 0
002 2000 0
where id is a person identifier, year the year of observation and
variable the
2008 Dec 16
1
Introduction to R (in french)
Hi all,
I recently put a new version of my french introduction to R online. It
is more specifically targeted at social sciences students and
researchers, but could be interesting for beginners who are not
really familiar with statistics and coding.
The document is available (in french) in PDF, as well as the Sweave
source code, from the following page :
http://alea.fr.eu.org/j/intro_R.html
2007 Apr 20
1
lancer R en batch
hello,
I'd like know if it's possible to run R with the options BATCH it means not interactively
thanks.
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
2007 Apr 19
2
macro sous R
hello I'd like know if it's possible to write macro variables under R as we know do it with SAS
thanks
---------------------------------
[[alternative HTML version deleted]]
2007 Apr 23
1
extract from a data frame
hello,
I'd like know how to do to extract data from a frame for example
how can I do to extract only the data where variety=victory or variety=golden rain
thanks.
> Oats
Block Variety nitro yield
1 I Victory 0.0 111
2 I Victory 0.2 130
3 I Victory 0.4 157
4 I Victory 0.6 174
5 I Golden Rain 0.0 117
6 I Golden Rain
2007 Oct 02
2
convert a tar.gz to a Windows zip
Dear R Gurus;
Is there a simple way to convert a Linux produced tar.gz file (a
package) to a Windows binary zip package, please?
Thanks in advance
2007 Oct 04
1
Sweave and LaTeX
Hi
I started using Sweave and LaTeX but have a (smaller) problem.
As I am not yet very fluent in LaTeX I do the following: I texify my snw-file to look for errors in my LaTeX and correct them.
However, if I have the following chunk, I get an error when texifying:
...
\usepackage{Sweave}
...
<<echo=F, results=tex>>=
2008 Jan 24
2
hello
hello,
happy new year.
I want to know if it's possible to send a bar chart from the software R to an directory.
Thanks.
_____________________________________________________________________________
[[alternative HTML version deleted]]
2008 Apr 07
2
pie graphic
Hi,
My problem is:
I have many data to plot as pie-chart, so the labels are not readable!
Is there a way to solve my problem? For example is it possible move the
labels more far to the graphic?
Thanks in advance
Marco
2008 Apr 21
3
another matrix question
Hi everyone,
I would like to do the following.
Given matrix m and matrix n, I would like to compute mn[i,,j]= m[i,,j]
+ n[i,,j] if either of these elements is 0. (In other words, whichever
number is nonzero.)
Else I want mn[i,,j]=(m[i,,j] + n[i,,j])/2
I need a fast method.
Thanks very much for any help.
Bill Simpson
2007 Apr 20
3
How to return more than one variable from function
Dera R users,
I have written a function which computes variance, sd,
r^2, R^2adj etc. But i am not able to return all of
them in return statement.
So how to return more than one variable from
function. In C i used to return by pointers etc. is
there any way like that.
Thanks in advance.
2007 Sep 24
3
Data manipulations with numbers which are in 'comma' format
Hi R,
May be a trivial question, but struggling to find a solution...
v=data.frame(a=c("1,234","2,345","5,567"))
> v
a
1 1,234
2 2,345
3 5,567
I need a column 'b', which is just the addition of column 'a' with 5.
How do I do it? And, entries in column 'a' are with commas, always.
Also, class(v$a)=factor.
2007 Apr 20
3
sequences extraction
Hello,
I need to extract sequences from an ordered vector.
For example, if
a<-c(1,2,3,6,10,11,13)
I need to get the followings 4 vectors
(1,2,3),(6),(10,11),(13)
Thank You
-Bruno
------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-mode? di Wind
http://i-mode.wind.it/
2007 Apr 19
2
Using "mean" if two values are identical
Hello,
I have got a question.
I've got a matrix (mail end) with the colnames x, y, z. In this matrix
are different measurements. x and y are risign coordinates.
My question. Always, if the "x" AND "y" coordinates are the same, I want to
get the mean of their z values.
e.q. "
x" AND "y" in line1 and line8 are identical:
29 4.5 --> mean of
2008 Apr 28
2
X11 window title setting in X11() Device (PR#11325)
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,
I think I have found a very little bug in the new version of the X11()
device in R 2.7.0, more precisely in the devX11.c file.
The problem is that when you open a new window with X11(), the title
of the window (the WM_NAME property) is not immediately set. It seems
that the window is created, then it
2010 Jul 01
1
How best to set library search path so user libraries come first
I want my local libraries to have priority over the system installed
ones, which, as far as I can make out from help(".libPaths"), means they
have to come first in that list (it doesn't actually_say_ so, but that
seems to be the idea).
We have R_LIBS_USER which looks made for specifying where I keep my own
libraries. Unfortunately it comes last in .libPaths() [which appears to
2016 Feb 20
2
R Package Installation Ignores libPaths Setting
Good day,
I believe from the documentation that folders in R_LIBS should appear in the output of .libPaths, but they do not. The documentation contains "The library search path is initialized at startup from the environment variable R_LIBS ..."
However,
$ export R_LIBS=/users/stgrad/dario/tmp/
$ Rscript -e ".libPaths()"
[1] "/dskh/nobackup/biostat/Bioconductor"
2007 Nov 28
2
help("R_LIBS") brings up the wrong help file (PR#10475)
Doing
help("R_LIBS")
brings up a help file (the same one as help(library)),
but the help file doesn't mention R_LIBS.
It does have a link to .libPaths, which does document R_LIBS.
The quickest fix would be for help("R_LIBS") to bring up the .libPaths
help file.
--please do not edit the information below--
Version:
platform = i386-pc-mingw32
arch = i386
os = mingw32
2007 Sep 25
5
Am I misunderstanding the ifelse construction?
I have a function like this:
changedir <- function(dataframe) {
dir <- dataframe$dir
gc_content <- dataframe$gc_content
d <- ifelse(dir == "-",
gc_content <- -gc_content,gc_content <- gc_content)
return(d)
}
The goal of this function is to be able to input a data frame like this:
> lala
dir gc_content
1 + 0.5
2 - 0.5
3 +