Re: [R] Code Book from SPSS Data

2013-10-28 Thread Gesmann, Markus
Peter, There is a function called codebook as part of the memisc package that probably does what you want. See also the package vignette: http://cran.r-project.org/web/packages/memisc/vignettes/anes48.pdf library(memisc) fn - NILT12w2.por dat - spss.portable.file(fn) codebook(dat) names(dat)

Re: [R] Draw two separate legends in xyplot

2013-09-16 Thread Gesmann, Markus
Here is an example using grid functions, based on an example from Deepayan (https://stat.ethz.ch/pipermail/r-help/2005-April/069459.html) I hope this helps. library(grid) library(lattice) ft - grid.layout(nrow = 2, ncol = 4, heights = unit(rep(1, 2), lines), widths

Re: [R] googleVis motionchart - slow with Date class

2011-10-31 Thread Gesmann, Markus
Hi Matt, In general my first approach would be to contact the package maintainer/author with questions. The World Bank example with monthly data runs quite smoothly on my PC using Windows XP and IE7. However, I can see that the performance deteriorates compared to the original demo. The

Re: [R] Creating a map with central Asian countries

2011-09-15 Thread Gesmann, Markus
Salaam, If you would like to display the chart online than the googleVis package might be helpful. The package provides you with an interface to the Google Visualisation API. Here is an example with a map of the population on the central Asian countries: library(googleVis) ## googleVis comes

Re: [R] Creating a flat legend 'grob' for lattice xyplot

2011-07-27 Thread Gesmann, Markus
Hi Mark, I believe the argument you are looking for is column not ncol. Try the following: library(lattice) xyplot(1~1, auto.key=list( bty='n', pch=rep(c(15,17),2), col=c('brown','green','blue','red'), columns=4, text=c('How','to make','this into', 'a grob?'), space=top )) Regards

Re: [R] error with geomap in googleVis

2011-06-10 Thread Gesmann, Markus
) ) plot(ComboChart) I hope this helps. Kind regards, Markus -Original Message- From: Mike Marchywka [mailto:marchy...@hotmail.com] Sent: 09 June 2011 19:12 To: Gesmann, Markus; mjphi...@tpg.com.au; r-h...@stat.math.ethz.ch Subject: RE: [R] error with geomap in googleVis I still got

Re: [R] error with geomap in googleVis

2011-06-09 Thread Gesmann, Markus
Hi all, This issue occurs with googleVis 0.2.4 and RJSONIO 0.7.1. Version 0.2.5 of the googleVis package has been uploaded to CRAN two days ago and should have fixed this issue. Can you please try to update to that version, e.g. from http://cran.r-project.org/web/packages/googleVis/ Further

Re: [R] Creating named lists

2010-03-12 Thread Gesmann, Markus
I think, you are looking for ?llist in the package Hmisc. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Rune Schjellerup Philosof Sent: 12 March 2010 09:46 To: Linlin Yan Cc: r-help@r-project.org Subject: Re: [R] Creating named

Re: [R] Sending an alert / email when R finished?

2009-03-05 Thread Gesmann, Markus
You could send a message to Twitter, see: http://finzi.psych.upenn.edu/R/Rhelp08/2009-February/187822.html Regards Markus -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Charles C. Berry Sent: 05 March 2009 17:03 To: nhawrylyshyn

Re: [R] twitter useRs?

2009-02-10 Thread Gesmann, Markus
Hi all, A colleague of mine wrote a little function to send messages to twitter: update - function(status){ method - http://twitter.com/statuses/update.xml?status=; encoded_status - URLencode(status) request - paste(method,encoded_status,sep = ) postForm(request,.opts = opts) } See also:

Re: [R] Who uses R?

2007-09-25 Thread Gesmann, Markus
Dear Eleni, Maybe the participants of the useR conferences are a good start, see e.g. http://www.r-project.org/useR-2006/participants.html Kind regards, Markus Gesmann FPMA Lloyd's Market Analysis Lloyd's * One Lime Street * London * EC3M 7HA Telephone +44 (0)20 7327 6472 Fax +44 (0)20