Re: [R] colouring a table, data.frame or matrix in an interactive R session

2012-01-08 Thread Jakson Alves de Aquino
e "colorout" package users will be able to choose a different color for negative numbers. I'll release it soon but anyone wanting to try it immediately may write directly to me. -- Jakson Alves de Aquino Federal University of Ceará Social Sciences Department www.lepem.ufc.br/aqu

Re: [R] Making outregs in R

2011-12-09 Thread Jakson Alves de Aquino
On Fri, Dec 9, 2011 at 7:22 AM, David . wrote: > I am interesting in making an equivalent command like > outreg in stata where I get all my 8 regressions in one table. > Does R have an easy command to that? The function of mtable() of memisc package may be what you want. There is also a script ca

[R] [R-pkgs] New package 'colorout' to colorize R output on terminal emulators

2011-11-29 Thread Jakson Alves de Aquino
Stop colorizing R output setOutputColors:Set the colors to be used on R output setOutputColors256: Set the colors to be used on R output show256Colors: Create and show a table with 256 colors Any feedback will be appreciated. Sincerely, -- Jakson Alves de Aquino Federal University of Cea

Re: [R] Boxplot

2011-11-27 Thread Jakson Alves de Aquino
do it if you pass suitable values for the 'width' argument of boxplot(). -- Jakson Alves de Aquino Federal University of Ceará Social Sciences Department www.lepem.ufc.br/aquino.php __ R-help@r-project.org mailing list https://stat.ethz.ch/mail

Re: [R] On-demand importing of a package

2011-11-25 Thread Jakson Alves de Aquino
age is > only named in Imports but, if not, it might be sufficient to put > RSQLite in both Imports and Suggests.  Thanks. I have done this with the 'descr' package. It wasn't necessary to put the imported packages in two places, only in the "Imports" field. This wa

Re: [R] On-demand importing of a package

2011-11-25 Thread Jakson Alves de Aquino
; RSQLite is installed too without having RSQLite automatically load > when sqldf loads. [...] I think that the following procedure has the result that you want: Put in the DESCRIPTION file: Imports: RSQLite And in the R code write something like: RSQLite::AnRSQLiteFunction() -- Jakson Alves de

[R] new package: colorout (Colorize R output on terminal emulator)

2011-11-16 Thread Jakson Alves de Aquino
Hello, Two days ago I posted a patch to R source code to colorize its output when running it in a terminal emulator (Linux or other Unix with support to ANSI escape codes). I converted the patch into an R package, and people interested in testing it should do the following: 1) Download and insta

[R] Colored output in terminal emulator

2011-11-14 Thread Jakson Alves de Aquino
Hi, I wrote a small patch to make it possible to get colored output from R running in a Linux terminal emulator. It's a dirty patch. I hope that someone with better knowledge of R source code and C programming will improve it. To force the use of Rstd_WriteConsoleEx function (src/unix/sys-std.c) I

Re: [R] Need some help in R : value more than equals to a row.

2009-06-07 Thread Jakson Alves de Aquino
suparna mitra wrote: > Hallo, > I was trying some code, but couldn't make one step of the code properly. > Can anybody please help me? > > I have one matrix like this >> values > [,1] [,2] [,3] [,4] [,5] > [1,] 0.778 0.3611 0. 0.139 0.000

Re: [R] Journal Articles that Have Used R

2009-06-06 Thread Jakson Alves de Aquino
Jason Rupert wrote: > Is there a way to get a reference list of journal articles that have used R? > > I am just looking for some examples of R graphs and presentation of results > where R was used to generate the results. Did you try Google Scholar: http://scholar.google.com.br/scholar?q=R%

Re: [R] Bug in gmodels CrossTable()?

2009-05-31 Thread Jakson Alves de Aquino
:51 AM, Jakson Alves de Aquino wrote: > >> Is the code below showing a bug in Crosstable()? My expectation was that >> the values produced by xtabs were rounded instead of truncated: >> >> library(gmodels) >> abc <- c("a", "a", "b",

[R] Bug in gmodels CrossTable()?

2009-05-31 Thread Jakson Alves de Aquino
Is the code below showing a bug in Crosstable()? My expectation was that the values produced by xtabs were rounded instead of truncated: library(gmodels) abc <- c("a", "a", "b", "b", "c", "c") def <- c("d", "e", "f", "f", "d", "e") wgt <- c(0.8, 0.6, 0.4, 0.5, 1.4, 1.3) xtabs(wgt ~ abc + def) Cr

Re: [R] Cream Text Editor

2009-05-24 Thread Jakson Alves de Aquino
Paul Heinrich Dietrich wrote: > Thank you much for the help, I will work on this over the weekend. Is there > a way in Windows to connect R and Cream? Perhaps, although I can't help... It would be necessary to write another plugin: https://stat.ethz.ch/pipermail/r-help/2009-May/197794.html _

Re: [R] Cream Text Editor

2009-05-24 Thread Jakson Alves de Aquino
JiHO wrote: > On 2009-May-23 , at 20:16 , Jakson Alves de Aquino wrote: > >> Just a note: there is no need of before . Almost all key >> bindings work in insert, normal and visual modes. > > Well, without switching to the non-insert mode, I find that pressing F9 >

Re: [R] Cream Text Editor

2009-05-23 Thread Jakson Alves de Aquino
As pointed by JiHO the biggest disadvantage of using the plugin is that R is running through a pipe and consequently it is less interactive. Just a note: there is no need of before . Almost all key bindings work in insert, normal and visual modes. The last version of the plugin allows the user t

Re: [R] How to do a pretty panel plot?

2009-05-15 Thread Jakson Alves de Aquino
Ajay Shah wrote: > Here's my best version of your code: > > ## Data > M <- structure(list(date = structure(c(13634, 13665, 13695, 13726, > 13757, 13787, 13818, 13848, 13879, 13910, 13939, 13970, > 14000, > 14031, 14061, 14092, 14123, 14153, 14184, 142

Re: [R] Reading large files quickly

2009-05-09 Thread Jakson Alves de Aquino
Rob Steele wrote: > I'm finding that readLines() and read.fwf() take nearly two hours to > work through a 3.5 GB file, even when reading in large (100 MB) chunks. > The unix command wc by contrast processes the same file in three > minutes. Is there a faster way to read files in R? I use statist