Re: [R] Presentation Quality Tables, e.g., Ten rows, Five columns, with nice headers

2017-03-26 Thread Robert Baer
Quite nice Jim. A little par() magic, some well thought plot window dimensions, and good to go. I wasn't looking, but now that I've seen it, I can imagine uses. Bruce - see also https://cran.r-project.org/web/packages/xtable/vignettes/xtableGallery.pdf On 3/26/2017 4:28 PM, Jim Lemon

Re: [R] [FORGED] Can fallback font be specified?

2017-03-26 Thread Paul Murrell
Hi The following code uses 'gridSVG' to export the plot to SVG (after using 'gridGraphics' to convert the plot to using 'grid'), which allows you to specify a "font stack" for the exported SVG. In this example, I am adding "SimHei" to the "serif" font stack. I attach a screen shot of what

Re: [R] Presentation Quality Tables, e.g., Ten rows, Five columns, with nice headers

2017-03-26 Thread Jim Lemon
Hi Bruce, Well, a start might be: bdf<-data.frame(Pre=sample(10:20,10), During=sample(8:18,10), EOT=sample(5:15,10),fu3mo=sample(7:17,10), fu6mo=sample(10:20,10)) rownames(bdf)<-paste("S",1:10,sep="") plot.new() library(plotrix) addtable2plot(0.15,0.2,bdf,display.rownames=TRUE,

Re: [R] Presentation Quality Tables, e.g., Ten rows, Five columns, with nice headers

2017-03-26 Thread Bert Gunter
Look again! (e.g. google "make tables in R") (Note that "quality table construction" is subjective and undefined, so it's up to you to either define them sufficiently for others or do your own research to see if what's out there meets your undefined criteria). Cheers, Bert Bert Gunter "The

Re: [R] Presentation Quality Tables, e.g., Ten rows, Five columns, with nice headers

2017-03-26 Thread Richard M. Heiberger
I will assume that a "quality table" is a LaTeX tabular environment, possibly with some nested row or column structures. For that I recommend the latex function in the Hmisc package. The examples in ?latex are simple. Quite complex structures, for example, with nested sets of labled rows and

Re: [R] Presentation Quality Tables, e.g., Ten rows, Five columns, with nice headers

2017-03-26 Thread Duncan Murdoch
On 26/03/2017 1:16 PM, MyCalendar wrote: Hi R'ers: After browsing for a good package for quality table construction, I found nothing. Any advice? Try the task view on Reproducible research: . Duncan Murdoch

Re: [R] Presentation Quality Tables, e.g., Ten rows, Five columns, with nice headers

2017-03-26 Thread Ista Zahn
You're going to have to be more specific. What output format? What packages did you find and in what ways are they unsatisfactory? Best, Ista On Mar 26, 2017 2:22 PM, "MyCalendar" wrote: Hi R'ers: After browsing for a good package for quality table construction, I found

[R] Presentation Quality Tables, e.g., Ten rows, Five columns, with nice headers

2017-03-26 Thread MyCalendar
Hi R'ers: After browsing for a good package for quality table construction, I found nothing. Any advice? Thanks Bruce --- __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Can fallback font be specified?

2017-03-26 Thread Jinsong Zhao
Hi there, I have searched the google, however, I don't find anything that related with fallback font in R. I also try to read the source code of R, however, I am not familiar with C and the algorithm about font specific in text/plot. Thus, I try to specify different fonts for Latin and

Re: [R] passing API key in leaflet

2017-03-26 Thread David Winsemius
> On Mar 25, 2017, at 3:44 AM, Thierry Onkelinx > wrote: > > Dear all, > > I'd like to use the OpenCycleMap as background image in a leaflet map. > This requires an API key. I've stored the key in an environment > variable. Below is a minimal example of the leaflet

Re: [R] Script Taking Long to run

2017-03-26 Thread Jeff Newmiller
This is not a question about R... it is either a bug in the sirad package or normal behaviour for that function. Either way you should be corresponding with the package maintainer. -- Sent from my phone. Please excuse my brevity. On March 26, 2017 7:05:42 AM PDT, Frederic Ntirenganya

Re: [R-es] Alternativa a RStudio

2017-03-26 Thread Fernando Arce via R-help-es
Hola de nuevo Tiene modos (lo que los humanos llamamos paquetes, en emacs son modos ) y varios para python y para casi cualquier lenguaje... inluso para escribir con varios en documentos dinamicos (años ates de que fuera algo tan popular lo de mezclar codigos y texto y con resultados)  

[R] Script Taking Long to run

2017-03-26 Thread Frederic Ntirenganya
Dear R users, I do have a challenge in a srcipt of computing Sora Radiation. One line is taking long time without giving the results. The line in which I have problem is : dat1$RS.daily<-ap(days=days,lat=lat,lon=lon,A=A,B=B,SSD=Sunshine,extraT=NULL) Could you please assist me? Thanks Here is

Re: [R] combine

2017-03-26 Thread Bert Gunter
?merge with all.x and all.y both set to TRUE. Use the NA's **NOT** 0's for nonmatching values that merge() gives. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County"

Re: [R-es] Alternativa a RStudio

2017-03-26 Thread Fernando Arce via R-help-es
Hola de nuevo (acabo de regresar del campo, de ahi la tardanza): No es sencillo. A Bill Venables, conocido sobre todo por su obra Venables & Ripley, se le atribuye la siguiente frase: "los primeros cinco anos con emacs son los peores, despues, es simplemente dificil". No conozco ningun tutorial