similar to: colouring a table, data.frame or matrix in an interactive R session

Displaying 20 results from an estimated 10000 matches similar to: "colouring a table, data.frame or matrix in an interactive R session"

2010 Feb 23
3
colour highlighting inputs and outputs in the R terminal?
Dear all Is it possible to get basic colour highlighting for inputs and outputs in the R terminal? I am looking for something similar to what GUIs provide, such as JGR and (I think) the Windows R GUI: colouring all inputs in red, and all outputs in blue. All this in a colour-aware console (in my case, on Linux). I've been looking into xterm256 and highlight, but I am sofar unable to do with
2013 Apr 10
2
Table with n(%) formatting: A better way to do this?
Hello All, Am learning to create tables with n(%) formatting using R. Below is a working example. I think this is not bad but wondered if there are better ways of doing it. Although it can be quite humbling, seeing good code helps me assess my progress as an R programmer. Ultimately want to have code that I can turn into a function. Will then use the output produced to make tables using
2017 Jun 01
3
odfWeave - A loop of the "same" data
Before I go and do this another way - can I check if anyone has a way of looping through data in odfWeave (or possibly sweave) to do a repeating analysis on subsets of data? For simplicity lets use mtcars dataset in R to explain. Dataset looks like this: > mtcars mpg cyl disp hp drat wt ... Mazda RX4 21.0 6 160 110 3.90 2.62 ... Mazda RX4 Wag 21.0 6 160 110 3.90
2009 Jul 06
1
odfWeave: odt-file damaged
Dear all, I am doing my first steps with odfWeave. After running the r code (see below), I am trying to open the ODF-document with open office, but I am getting the error message: "The file is damaged, but it can be repaired". If I confirm the question and repair the file with open office, I can open it with the desired output, which seems to be fine. My system: R Version 2.9.1
2013 Feb 18
3
odfWeave: Trouble Getting the Package to Work
Hello All, Have recently started learning Sweave and Knitr. Am now trying to learn odfWeave as well. Things went pretty smoothly with Sweave and Knitr but I'm having some trouble with odfWeave. My understanding was that odfWeave should work in pretty much the same way as Sweave. With odfWeave, you set up an input .odt file in a folder, run that file through the odfWeave function, and then
2009 Apr 11
1
Install odfWeave on Ubuntu 8.10 Intrepid Ibex
Hello togheter, I've installed R with this instruction: http://edtechdev.blogspot.com/2009/03/r-in-ubuntu-intrepid.html After that I tried to install odfWeave with this: > install.packages("odfWeave") Then there came this warning: Warnung in install.packages("odfWeave") : Argument 'lib' missing: use '/home/johannes/R/i486-pc-linux-gnu-library/2.8'
2012 May 29
1
odfWeave fails to load
R version 2.15.0 (2012-03-30) Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-pc-mingw32/i386 (32-bit) package ?survey? successfully unpacked and MD5 sums checked package ?odfWeave.survey? successfully unpacked and MD5 sums checked > library(odfWeave.survey) Loading required package: odfWeave Error: package ?odfWeave? could not be loaded any
2011 Feb 22
1
odfWeave graphics glitch
Using R2.12.1 on Ubuntu 10.04.1 I've tried to run the following code chunk in odfWeave <<fig1, echo=TRUE,fig=TRUE,width=7,height=4>>= x<-seq(1:100)/10 y<-sin(cos(x/pi)) imageDefs <- getImageDefs() imageDefs$dispWidth <- 4.5 imageDefs$dispHeight<- 4.5 setImageDefs(imageDefs) X11(type="cairo") plot(x,y) title(main="sin(cos(x/pi))")
2006 Sep 19
1
odfWeave help
Hi R users I haven't run odfWeave example, R give me: Setting wd to C:\DOCUME~1\MARIOM~1\CONFIG~1\Temp\Rtmph2Nzqb/odfWeave19070343633 Copying C:/ARCHIV~1/R/R-23~1.1/library/odfWeave/examples/simple.odt Decompressing ODF file using unzip -o "simple.odt" Erro en odfWeave(demoFile, outputFile) : Error unzipping file Adem?s: Warning message: unzip no encontrado I have installed
2010 Aug 31
1
odfWeave
Dear -r-helpers, I'm trying to get my students to use odfWeave. Windows users are having trouble. I would appreciate advice. Comment 1: Hello I have spent a while today trying to get odfWeave to be successful I installed the unzip and zip program but it has not changed the error message.I have copied the error message below but I am sure it is the one others have experienced. >
2011 Dec 17
1
odfWeave error
I am new to using odfWeave but I have encountered a problem running both the example in the help file as well as another file.? I am not sure how to correct the error. First example: library(odfWeave) filein <- 'c:\\my documents\\example01_in.odt' fileout <- 'c:\\my documents\\example01.odt' odfWeave(filein, fileout, control = odfWeaveControl(cleanup = T)) error:
2011 Dec 16
1
odfWeave
I am new to using odfWeave but I have encountered a problem running both the example in the help file as well as another file. I am not sure how to correct the error. First example: library(odfWeave) filein <- 'c:\\my documents\\example01_in.odt' fileout <- 'c:\\my documents\\example01.odt' odfWeave(filein, fileout, control = odfWeaveControl(cleanup = T)) error:
2007 Jun 05
1
multiple plot in odfWeave
Hello R users, I found the odfWeave package to create an odf document. It seems to be a very nice tool. So i tried to used it to create a report with multiple plot: I create an odt file with some code inside: I connect to a mysql database I get a list of projects foreach project I would like to make a plot (a map exactly) then in a R console I use the odfweave (inFile, outFile) function.
2011 Jan 23
1
odfWeave Error unzipping file in Win 7
Hey guys, I?m just getting started with R (version 2.12.0) and odfWeave and kinda stumble from one problem to the next, the current one is the following: trying to use odfWeave: > odfctrl <- odfWeaveControl( + zipCmd = c("C:/Program Files/unz552dN/VBunzip.exe $$file$$ .", + "C:/Program Files/unz552dN/VBunzip.exe $$file$$")) > >
2011 May 13
1
issue with odfWeave running on Windows XP; question about installing packages under Linux
Good morning R community, I have two questions (and a comment): 1) A problem with odfWeave. I have an odf document with a table that spans multiple pages. Each cell in the table is populated using \sexpr{<R stuff>}. This worked fine on my own machine (windows 7 box using any R2.x.y, for x>=11) and on a colleagues machine (Windows XP box running R2.11.1). However, on a third machine
2008 Dec 15
2
Baffled: triggering error message with an sd result in odfWeave?
I hope someone can point out my stupid error, because I'm baffled. I am calculating a bunch of variable values and then placing them in a document using odfWeave tags. This is working very nicely for every spot except one. One of the values I calculate is traindev: traindev <- if (trainlength>0) round(sd(trainscores, na.rm=T),1) else "" when I try to insert this traindev
2007 Jun 25
1
eps in odfWeave
Dear Weavers, Does someone have an example of using eps or any other vector graphics with odfWeave? It tried the example below (and commented variants) with simple.odt in the examples directory, and got an error. Dieter #--- library(odfWeave) plotInfo <- getImageDefs() plotInfo$type = "eps" #plotInfo$device = "postscript" setImageDefs(plotInfo)
2017 Jun 01
0
odfWeave - A loop of the "same" data
On Thu, 1 Jun 2017, POLWART, Calum (COUNTY DURHAM AND DARLINGTON NHS FOUNDATION TRUST) via R-help wrote: > Before I go and do this another way - can I check if anyone has a way of > looping through data in odfWeave (or possibly sweave) to do a repeating > analysis on subsets of data? > > For simplicity lets use mtcars dataset in R to explain. Dataset looks like this: >
2008 Jan 04
1
Help on odfWeave package
Hi R users ! I'm trying to use odfWeave package I have a problem with unzipping files : when I try to run the example given in odfWeave help I get this error message : Copying C:/Documents and Settings/stgduclos/Mes documents/R/win-library/2.6/odfWeave/examples/simple.odt Setting wd to C:\DOCUME~1\STGDUC~1\LOCALS~1\Temp\RtmpzfZ6ye/odfWeave04141446464 Unzipping ODF file using
2009 Feb 13
2
odfWeave & prettyR
Hello, I've been trying to use odfWeave and prettyR packages to create documents with both text and graphs, but so far I haven't been very lucky... With the function R2html () in prettyR package, when I try to use a source file, which works perfectly if I run it directly form R using "source("file")", it works for the first part and then it makes a mess, i guess