Displaying 20 results from an estimated 9000 matches similar to: "Newbie:Export Data into Excel from R"
2002 Jul 18
2
RODBC and Excel Files
Hello,
I am trying to play with RODBC library and Excel Files. In my file
(doubs.xls) there are 2 spreadsheets:
> library(RODBC)
> connection<-odbcConnect("Excel Files")
> sqlTables(connection)
TABLE_CAT TABLE_SCHEM TABLE_NAME TABLE_TYPE REMARKS
1 F:\\Th?se\\R\\Doubs NA Faune$ SYSTEM TABLE NA
2 F:\\Th?se\\R\\Doubs NA Milieu$
2008 Mar 03
3
R data Export to Excel
Here is my R Code
x<-1:20000
y<-2:141
data.matrix<-data.matrix(data[,y])#create data.matrix
variableprobe<-apply(data.matrix[x,],1,var)
variableprobe #output variance across probesets
hist(variableprobe) #displaying histogram of variableprobe
write.table(cbind(data[1],
Variance=apply(data[,y],1,var)),file='c://variance.csv')
#export as a .csv file.
Output in Excel
all in 1
2006 Jul 18
1
Reproducible Research - Examples
All,
Recently I ran across a URL documenting published research using R:
http://www.cgd.ucar.edu/ccr/ammann/millennium/CODES_MBH.html
A note on the site indicates that the code is being revised. The code and
data are provided, so that one could reproduce the results without having to
buy a proprietary software program. In poking around the R website it is
clear that a lot of thought has gone
2008 Mar 05
4
Excel export into R
Hello,
I have this in excel
Control
543_BU
123_AT
432_CU
I want to be able to import to R so that it will read like this
c<-c("543_BU","123_AT","432_CU")
output:
[1] "543_BU" "123_AT" "432_CU"
This is just a short version. I have about 200000 rows and i need a simpler
way instead of typing each one.
thanks
--
View this message
2008 Mar 07
3
R-Logo in \LaTeX (Mag. Ferri Leberl)
Dear Mag. Ferri Leberl,
I'm using something like:
----------------------- tex.tex ---------------------------
\documentclass{article}
\usepackage{graphicx}
\usepackage{fancyvrb}
\newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}}
\newcommand{\myinput}[1] {\begin{scriptsize}
\VerbatimInput[frame=single,label=#1]{#1}
\end{scriptsize}}
\title{The R logo,
2008 Mar 07
3
R-Logo in \LaTeX (Mag. Ferri Leberl)
Dear Mag. Ferri Leberl,
I'm using something like:
----------------------- tex.tex ---------------------------
\documentclass{article}
\usepackage{graphicx}
\usepackage{fancyvrb}
\newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}}
\newcommand{\myinput}[1] {\begin{scriptsize}
\VerbatimInput[frame=single,label=#1]{#1}
\end{scriptsize}}
\title{The R logo,
2006 Oct 26
3
Measurements of 3000 criminals
Hallo everyone,
excuse me if this is not a genuine R question but I do not know where to
ask else.
Referring to e.g.
https://stat.ethz.ch/pipermail/r-help/2004-December/062114.html
I wonder if these measurements of 3000 criminals (raw data) are
available anywhere. At least I didn't find them in the R datasets
package or by means of Google. What I did find was a table of
frequencies of
2006 Oct 08
2
Size problem with two dotcharts side by side
Dear all,
I'm trying to produce two dotcharts side-by-side within a Sweave
document. When I'm compiling this example:
\documentclass{article}
\begin{document}
<<fig=T,width=8,height=4>>=
par(mfrow = c(1, 2), cex = 0.7)
for(i in 1:2) dotchart(1:10)
@
<<fig=T,width=8,height=4>>=
par(mfrow = c(1, 2), cex = 0.7)
for(i in 1:2) hist(1:10)
@
2006 Apr 19
2
par(tmag) question
Dear list,
I'm trying to understand the graphical parameters by a systematic exploration
of the par() function (if you are interested by the result it's here
http://pbil.univ-lyon1.fr/R/fichestd/tdr75.pdf, the comments are all in
french but it's pure R code under Sweave).
I have a problem with par(tmag) illustrated by the following code:
2006 Dec 08
1
Sweave and warning messages
How does one tell Sweave() to include analysis warning messages in
the verbatim output?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
Parcels: Room 102 Gilmer Hall
McCormick Road Charlottesville, VA 22903
Office: B011 +1-434-982-4729
Lab: B019
2008 Jan 27
4
[OT] vernacular names for circular diagrams
> Dear useRs,
>
> by a circular diagram representation I mean what you will get by entering
> this at your R promt:
>
> pie(1:5)
>
> Nice to have R as a lingua franca :-)
>
> The folowing quote is from page 360 in this very interesting paper:
>
> @article{SpenceI2005,
> title = {No Humble Pie: The Origins and Usage of a Statistical Chart},
>
2005 May 16
3
Mental Block with PCA of multivariate time series!
Please could someone point me in the right direction as I appear to be
having a total mental block with fairly basic PCA problem!
I have a large dataframe where rows represent independent
observations and columns are variables. I am wanting to perform PCA
sequentially on blocks of nrows at a time and produce a graphical output
of the loadings for the first 2 EOFs for each variable.
I'm sure
2008 Feb 25
3
How to include the documentation of a function in a Sweave document?
Dear R-help,
I would like to include the documentation of an R function in an
*.rnw document processed by Sweave. Because I'm sharing my *.rnw
files with colleagues under Linux and Windows (I'm on Mac OS X),
I would like a pure R solution.
The naive approach doesn't work, because Sweaving this *.rnw
file:
-------- tmp.rnw --------
\documentclass{article}
\begin{document}
2007 Dec 31
2
How to import ENSEMBL text data using R
Dear all,
I have a data which is in text file and i would like to import the data to R. From the manual, i?ve found the read.table command function is the most appropriate but when i wrote the command an error had occur. It say ?Error in read.table"C:/Users/user/Documents/cfa-1.txt", header = T, sep = "\t",skip=10) :more columns than column names?. Please help me with this as
2007 Nov 21
3
shrink a dataframe for plotting
I get tables with millions of rows. For plotting to a screen-size
jpg, obviously just about 1000 points are enough. Instead of feeding
plot() the original millions of rows, I'd rather shrink the original
dataframe, using some kind of the following interpolation:
-- split dataframe into chunks of N rows each, e.g. 1000 rows each
-- compute average for each column
-- issue one new row
2001 Nov 06
2
Canonical Correspondence analysis-CoCoAn package
Hi R-users,
I am new to R environment.I want to carry out a
correspondence analysis on a contigency table with 64
columns and 298 observation of Environmental data.In
many cells of the contigency table the frequency is
just the value '1'.
I got the following error.
> CAIV(Eplankton)
Error in if (L[i, j] < 0) return("Table L must contain
non-negative numbers") :
2007 Apr 22
1
exemple pour l'AFD
Bonjours monsieurs
Je suis un ?tudient en 4eme ann?e informatique a l?universite djilali liabes
SBA ALGERIE.
Je suis entrain de pr?parer un expos? sur l?AFD et j?ai besoin d?un exemple
sous R pour bien pr?senter mon travail.
2001 May 29
3
geary statistics
Hello,
i' m looking for a function to compute geary statistic for spatial correlation.
Thanks.
--
St?phane DRAY
---------------------------------------------------------------
Biom?trie et Biologie ?volutive - Equipe "?cologie Statistique"
Universite Lyon 1 - Bat 711 - 69622 Villeurbanne CEDEX - France
Tel : 04 72 43 27 56 Fax : 04 78 89 27 19
04 72 43 27 57 E-mail
2003 Nov 15
5
correlation and causality examples
Dear All,
I'am looking for examples showing that correlation does not imply
causality, the targeted audience consists of undergraduate students
(their first year at the university but in the BioMathStat track).
All practicals are under R.
I was able to extract this from R datasets:
### begin
data(sunspots)
data(lynx)
spots <- window(sunspots, freq = 1, start = 1880, end = 1900)
lnx <-
2006 Jun 18
2
analyze amino acid sequence (composition)of proteins
Dear R-helpers:
thank your for your attention.
i am a newer to R and i am doing some protein category classification based on
the amino acid sequence.while i have some questions urgently.
1. any packages for analysis amino acid sequence
2. given two sequences "AAA" and "BBB",how can i combine them into "AAABBB"
3. based on "AAABBB",how can i get some