Re: [R] grid: Grid graphics flickering

2013-08-18 Thread Paul Murrell
Hi Two points: 1. grid.remove() redraws the entire scene (and because the drawing is slow you see a flicker) 2. Doing this ... dev.hold() grid.gremove("lastShape") dev.flush() ... may reduce flicker for you. Paul On 07/25/13 06:10, Daniel Guetta wrote: I'm designing an interactive plot

Re: [R] image versus levelplot

2013-08-18 Thread Paul Murrell
Hi You could try the 'useRaster' argument to levelplot() Alternatively, if you are not doing much annotation (such as axes and labels) around the matrix-representations, you could possibly speed things up by calling grid.rect() directly. Feel free to contact me directly if that sounds like a

Re: [R] Amelia, Zelig and latex in R

2013-08-18 Thread Christopher Desjardins
Hi, I am glad you could get it to work. I don't really know I usually just use xtable and any additional formatting I need done I do in my LaTeX editor. Perhaps there isn't a nice tex format out of the box for MI data. Once you write some nice code, you could keep reusing it or better yet package

Re: [R] First time r user

2013-08-18 Thread jwd
On Sun, 18 Aug 2013 02:56:56 -0500 Paul Bernal wrote: Paul, I would suggest acquiring at least a small library of of books about R and reading them. I would recommend An Introduction to R and R Data Import/Export (both available online on the R Project Site in both pdf and HTML), Introductory S

Re: [R] Amelia, Zelig and latex in R

2013-08-18 Thread Francesco Sarracino
That's right! Your advice is in the right direction and with little adjustments it did the job. However, I admit it was tricky and the result looks a bit artisanal and needs some polishing that I will do by hand in the tex code. Is it possible that there is no way to get nicely latex formatted tabl

[R] How can I do nonparametric regression with multivariate dependent variables.

2013-08-18 Thread Ying Zheng
I have tried several commands in "np" package, like "npregbw". I cannot find a command that can apply to the case with multivariate dependent variables. My original problem is to evaluate several conditional moments nonparametrically. That is E(y|x=x_0) with y a 2X1 variables. I cannot do them sep

Re: [R] First time r user

2013-08-18 Thread Steve Lianoglou
Yes, please do some reading first and give take a crack at your data first. This will only be a fruitful endeavor for you after you get some working knowledge of R. Hadley is compiling a nice book online that I think is very helpful to read through: https://github.com/hadley/devtools/wiki/Introdu

Re: [R] Error in Corpus() in tm package

2013-08-18 Thread Milan Bouchet-Valat
Le dimanche 18 août 2013 à 09:19 -0700, Ajinkya Kale a écrit : > I did exactly what you mentioned... tried subset of these documents > and found out there were some junk non-txt files which were causing > this issue. Everything worked fine with dirsource once I deleted them > from the dir. > But I

Re: [R] Error in Corpus() in tm package

2013-08-18 Thread Ajinkya Kale
I did exactly what you mentioned... tried subset of these documents and found out there were some junk non-txt files which were causing this issue. Everything worked fine with dirsource once I deleted them from the dir. But I feel these functions should also tell what file they are failing at I

Re: [R] First time r user

2013-08-18 Thread Bert Gunter
This is ridiculous! Please read "An Introduction to R" (ships with R) or other online R tutorial. There are many good ones. There are also probably online courses. Please make an effort to learn the basics before posting further here. -- Bert On Sun, Aug 18, 2013 at 7:13 AM, Dylan Doyle wrote

Re: [R] First time r user

2013-08-18 Thread Dylan Doyle
Hello all thank-you for your speedy replies , Here is the first few lines from the head function brewery_idbrewery_name review_time review_overall review_aroma review_appearance review_profilename 1 10325 Vecchio Birraio 12348178231.5 2.0 2.5

Re: [R] Amelia, Zelig and latex in R

2013-08-18 Thread Christopher Desjardins
Seems you're after the pooled results. Would the following work? library(Amelia) library(Zelig) library(xtable) data(africa) m = 10 imp1 <- amelia(x = africa,cs="country",m=m) imp2 <- amelia(x = africa,cs="country",m=m) lm.imputed1 <- zelig(gdp_pc ~ trade + civlib, model="ls",data = imp1) lm.i

Re: [R] Error in Corpus() in tm package

2013-08-18 Thread Milan Bouchet-Valat
Le samedi 17 août 2013 à 11:16 -0700, Ajinkya Kale a écrit : > It contains all text files which were converted from doc, docx, ppt > etc. using libreoffice. > Some of them are non-english text documents. > > > Sorry I cannot share the corpus.. but if someone can shed light on > what might cause

[R] escaping % in Rd files

2013-08-18 Thread Jim Lemon
Hi all, In trying to write an Rd file for a new package, I was stumped at something that is probably quite simple. I have % characters in the examples of one Rd file. Both my previous experience and some searching argeed that one can escape % with \. This worked on this command: fh_dates<-

Re: [R] Amelia, Zelig and latex in R

2013-08-18 Thread Francesco Sarracino
Dear Christopher, I have multiply imputed two data-set (let's say Africa1 and Africa2). Now I run 1 regression (let's call it: reg1) using the imputed data from Africa1 and 1 regression (let's call it: reg2) using the imputed data from Africa2. For these 2 regressions I use Zelig that automatical

Re: [R] First time r user

2013-08-18 Thread Paul Bernal
Thank you so much Steve. The computer I'm currently working with is a 32 bit windows 7 OS. And RAM is only 4GB so I guess thats a big limitation. El 18/08/2013 03:11, "Steve Lianoglou" escribió: > Hi Paul, > > On Sun, Aug 18, 2013 at 12:56 AM, Paul Bernal > wrote: > > Thanks a lot for the valua

Re: [R] First time r user

2013-08-18 Thread Steve Lianoglou
Hi Paul, On Sun, Aug 18, 2013 at 12:56 AM, Paul Bernal wrote: > Thanks a lot for the valuable information. > > Now my question would necessarily be, how many columns can R handle, > provided that I have millions of rows and, in general, whats the maximum > amount of rows and columns that R can ef

Re: [R] latin1 encoding in WriteXLS

2013-08-18 Thread Rainer Hurling
[maintainer CC'ed] Am 17.08.2013 11:28, schrieb Hugo Varet: > Yes, it also occurs with WriteXLS version 3.2.1. > > This test on several computers always leads to the same error. Oops, sorry. I just realised that this happens on both Windows and Unix alikes. On Win7 I am using ActivePerl 5.16.3

Re: [R] First time r user

2013-08-18 Thread Paul Bernal
Thanks a lot for the valuable information. Now my question would necessarily be, how many columns can R handle, provided that I have millions of rows and, in general, whats the maximum amount of rows and columns that R can effortlessly handle? Best regards and again thank you for the help, Paul

Re: [R] First time r user

2013-08-18 Thread Steve Lianoglou
Hi Paul, First: please keep your replies on list (use reply-all when replying to R-help lists) so that others can help but also the lists can be used as a resource for others. Now: On Aug 18, 2013, at 12:20 AM, Paul Bernal wrote: > Can R really handle millions of rows of data? Yup. > I thoug