Re: [R] editor for MacOS

2010-12-16 Thread Jakson A. Aquino
?script_id=2771 Best regards, Jakson Aquino __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained

Re: [R] .R file

2010-10-25 Thread Jakson A. Aquino
with object under cursor as argument. - Call R's help() with object under cursor as argument. - Syntax highlighting of the object browser. * Most of the plugin's behavior is customizable. -- Jakson Aquino Federal University of Ceara - Brazil __ R

[R] Vim-R-plugin now works on Windows too

2010-09-17 Thread Jakson A. Aquino
on the correct version of python being installed. It was tested only with Vim 7.3, which requires python 2.7. The plugin's documentation has many more details. Please report any issues! Best regards, Jakson Aquino __ R-help@r-project.org mailing list

Re: [R] Saving/loading custom R scripts

2010-09-09 Thread Jakson A. Aquino
On Thu, Sep 9, 2010 at 1:14 PM, Joshua Wiley jwiley.ps...@gmail.com wrote: On Thu, Sep 9, 2010 at 7:05 AM, Bos, Roger roger@rothschild.com wrote: Josh, I liked your idea of setting the repo in the .Rprofile file, so I tried it: r - getOption(repos) r[CRAN] - http://cran.stat.ucla.edu;

Re: [R] Plot map Brazil and documentation

2010-07-01 Thread Jakson A. Aquino
2010/7/1 Pablo Cerdeira pablo.cerde...@gmail.com: *If not, can someone help me to find some brazilian map (with states)?* You may look at: http://www.gismaps.com.br/divpol/divpol.htm and ftp://geoftp.ibge.gov.br/mapas/malhas_digitais/ __

Re: [R] Network Analysis

2010-04-14 Thread Jakson A. Aquino
. -- Jakson A. Aquino Federal Uni. of Ceara www.lepem.ufc.br - Brazil __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented

Re: [R] outputing text colors

2010-03-19 Thread Jakson A. Aquino
) print(x) -- Jakson A. Aquino Federal Uni. of Ceara www.lepem.ufc.br - Brazil __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

Re: [R] igraph plot - vertex colors

2009-12-08 Thread Jakson A. Aquino
On Sun, Dec 06, 2009 at 04:34:18PM -0800, Brock Tibert wrote: I have successfully created and analyzed my network data. I am new to R, and Network Analysis too, but I want to color my vertex based on some of the centrality measures calculated. Can someone point me in the right direction?

Re: [R] Announce: edtdbg, integrating R's debug() with your text editor

2009-12-07 Thread Jakson A. Aquino
http://heather.cs.ucdavis.edu/~matloff/R/edtdbg/ since the tar.gz package was not available. -- Jakson Aquino __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

Re: [R] Get back to the console with ssh access

2009-12-04 Thread Jakson A. Aquino
On Fri, Dec 04, 2009 at 02:23:18AM +0100, Timothée Poisot wrote: I am currently learning how to work with a new shared computer (a Mac pro) in our lab, that is dedicated to execute R code for large simulations (over a few days). We have a VNC option to remote control the computer, with a

Re: [R] Histogram and Density on the the same graph

2009-11-30 Thread Jakson A. Aquino
On Mon, Nov 30, 2009 at 12:01:12PM +0100, Trafim wrote: Dear all, I cannot find a function which would allow drawing hist and density on the same graph. x - seq(1,40,1) y - 2*x+1+5*rnorm(length(x)) hist(y,freq = FALSE) plot(density(y)) The package descr has the function histkdnc()

Re: [R] other decriptive stats packages

2009-11-22 Thread Jakson A. Aquino
On Sat, Nov 21, 2009 at 02:01:07PM -0800, frenchcr wrote: i just found the following list, i wondered if anybody could add to this as i have to characterize a large data set and am new to R...the list below was so helpfulcan you add to this??? Just to forestall confusion amongst those

Re: [R] Compiling from sources (ubuntu and x11)

2009-11-20 Thread Jakson A. Aquino
On Thu, Nov 19, 2009 at 11:34:22PM -0600, stephen sefick wrote: am using ubuntu 9.10 and I am getting and x11 lib/headers not found. I have installed libx11-dev. I thought this would solve the problem, but it is not. Any help would be appreciated. Looking at output of the configure script

Re: [R] Run R code by Vim-R-plugin (How do I to run two or more programs at the same time)?

2009-11-03 Thread Jakson A. Aquino
On Tue, Nov 03, 2009 at 04:59:30PM +0800, Pan, Jia-chiun/潘家群 wrote: I use R on Ubuntu 9.04 by Vim editor with vim-R-plugin. I want to use Vim to run two R programs A.R and B.R. At beginning, I sent A.R to R prompt by pressing \rf and F5 on my keyboard, and it works well. Meanwhile, I want to

Re: [R] Boxplot with grouped data

2009-10-22 Thread Jakson A. Aquino
On Thu, Oct 22, 2009 at 04:36:22PM +0100, Paul Smith wrote: Is there some way of drawing a boxplot, with R, when one does not have the original continuous data, but only the data grouped in classes? The function boxplot() can only deal with original data. Do you mean a numeric vector grouped

Re: [R] Linear Regression Question

2009-10-14 Thread Jakson A. Aquino
On Tue, Oct 13, 2009 at 11:17:11PM +0200, Alexandre Cohen wrote: I have two vectors rendements_CAC40 and rendements_AlcatelLucent. I use the lm function as follows, and then the sumarry function: regression=lm(rendements_CAC40 ~ rendements_AlcatelLucent); sum=summarry(regression); [...] I

[R] Vim-R-plugin (new version)

2009-10-05 Thread Jakson A. Aquino
file) \sw . Sweave and PDF (cur file) \sp . Rebuild (list of objects) \ro Best regards, Jakson Aquino __ R-help@r-project.org mailing list https

Re: [R] Vim-R-plugin (new version)

2009-10-05 Thread Jakson A. Aquino
On Mon, Oct 05, 2009 at 08:03:23PM -0400, Gabor Grothendieck wrote: Looks interesting. Could you make a vimball out of it to facilitate installation. It seems that VimBall is capable of creating vimballs of simple plugins which have a file at ftplugin and a another at doc. The Vim-R-plugin

Re: [R] comma as decimal separator in xtable

2009-09-16 Thread Jakson A. Aquino
one that I'm using. On Tue, Sep 15, 2009 at 5:06 PM, Jakson A. Aquino jaksonaqu...@gmail.comwrote: Hello, How can I make xtable print a comma as decimal separator? Setting the option OutDec isn't enough for xtable: library(xtable) options(OutDec = ,) x - c(1.1, 1.2, 1.3) y

Re: [R] comma as decimal separator in xtable

2009-09-16 Thread Jakson A. Aquino
On Wed, Sep 16, 2009 at 01:59:29PM +0200, David Hajage wrote: Perhaps with the dcolumn package ? http://newton.ex.ac.uk/research/qsystems/people/latham/LaTeX/dcolumn.pdf Thanks for the suggestion, but the problem isn't of alignment. When I have commas as decimal separators, the values are

Re: [R] comma as decimal separator in xtable

2009-09-16 Thread Jakson A. Aquino
On Wed, Sep 16, 2009 at 09:14:39AM -0300, Henrique Dallazuanna wrote: Try this also; format(coef(summary(lm.D9)), decimal.mark = ',') or using gsub: apply(coef(summary(lm.D9)), 2, gsub, pattern = \\., replacement = ,) using lm.D9 object from ?lm example. Thanks for your suggestion!

Re: [R] comma as decimal separator in xtable

2009-09-16 Thread Jakson A. Aquino
{document} results=tex= x - matrix(rnorm(4), 2, 2) library(xtable) xtable(x, align = c(l, |, d{2}, |, c, |)) @ \end{document} It works. Thanks! 2009/9/16 Jakson A. Aquino jaksonaqu...@gmail.com On Wed, Sep 16, 2009 at 01:59:29PM +0200, David Hajage wrote: Perhaps

Re: [R] comma as decimal separator in xtable

2009-09-16 Thread Jakson A. Aquino
On Wed, Sep 16, 2009 at 03:16:12PM -0300, Henrique Dallazuanna wrote: Try this: sapply(x, format, decimal.mark = ',') Yes, this works as I need, regarding the replacement of dots with commas. Thanks! On Wed, Sep 16, 2009 at 2:06 PM, Jakson A. Aquino jaksonaqu...@gmail.com wrote

[R] comma as decimal separator in xtable

2009-09-15 Thread Jakson A. Aquino
Hello, How can I make xtable print a comma as decimal separator? Setting the option OutDec isn't enough for xtable: library(xtable) options(OutDec = ,) x - c(1.1, 1.2, 1.3) y - c(2.3, 2.2, 2.1) d - data.frame(x, y) d print(xtable(d)) Thanks! Jakson Aquino

[R] Vim R plugin-2

2009-05-08 Thread Jakson A. Aquino
(xterm or gnome-terminal). This last feature was already present in Johannes Ranke's plugin. I would like to know if you have any suggestions of improvements. Best regards, -- Jakson Aquino Professor of Political Science Federal University of Ceará Brazil