• Artículos
  • Documentos
    • Libro de Energía Solar Fotovoltaica
  • Omnia sunt Communia!

Omnia sunt Communia!

~ Sobre software, documentación y ciencia libres

Omnia sunt Communia!

Archivos de etiqueta: CRAN

On the RStudio download logs

15 sábado Jun 2013

Posted by Oscar Perpiñán Lamigueiro in R-english, R-project

≈ 1 comentario

Etiquetas

CRAN, Mirror, R, RStudio

Some days ago H. Wickham (Chief Scientist of the RStudio company) posted an article about the RStudio CRAN mirror with this information:

Finally, because every download from a CRAN mirror is logged, CRAN mirrors provide a rich source of data about R and package usage. To date, it’s been hard to get access to this data. We wanted to change that, so you can now download our anonymised log data from cran-logs.rstudio.com.

There has been a number of posts about these download logs (most of them included in the Top 7 articles of the week of R-Bloggers):

  • Tracking CRAN packages downloads
  • Where is the R activity?
  • Top 100 R packages for 2013 (Jan-May)
  • A list of R packages, by popularity

More or less explicitely they use the RStudio logs to give an answer to the question «How many people use this R package?». In my opinion, such question cannot be answered safely with the RStudio download logs.

The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a
given body of data. (John Tukey)

Here are my objections, partly inspired by this interesting thread on R-devel.

RStudio mirror logs register download statistics, which is different from usage.

For example, I have downloaded (and installed) most of the packages included in the Top 10 list. Does that mean that I am a user of these packages? No. I only use three of them on a regular basis. The rest of packages were once downloaded to give them a try, or because they were required by another package, etc. On the other hand, I am a regular user of packages that I don’t download from a CRAN mirror because they are already installed with my R (for example, Recommended packages) or because I use Debian packages to install them.

You may be interested in this question in stackoverflow, these posts by D. Eddelbuettel, and this thread about popular R packages.

The RStudio mirror is only one of the network of the Comprehensive R Archive Network of servers.

CRAN includes today 90 mirrors worldwide. Thus, the RStudio logs represent only a fraction of the total download values.

Reading this message in the thread on R-devel I discovered that log files have also been readily available from the main CRAN mirror for years: http://www.r-project.org/awstats/awstats.cran.r-project.org.html http://cran.r-project.org/report_cran.html

The RStudio mirror is a sample that cannot be safely regarded as representative of the mirrors network.

The mirrors of the Comprehensive R Archive Network, mostly operated by public or nonprofit institutions, provide faster package downloads for users at their geographical location. The RStudio mirror is different:

  • It is a virtual machine run by Amazon’s EC2 service using Amazon CloudFront, a web service for content delivery automatically routed to the nearest edge location.
  • It is operated by a private company.

RStudio is a company dedicated to providing software, education, and services for the R statistical computing environment. (From http://www.rstudio.com/about/)

The RStudio company promotes a list of courses focused on the packages developed and maintained by their team. Besides, one of the main products of this company, the RStudio IDE, uses the RStudio mirror as the default choice for RStudio. Let’s assume that most RStudio users do not deliberately choose a different mirror. Then, a significant percentage of the RStudio mirror logs are affected by the choices of the RStudio IDE users community, which in turn could be partly influenced by the RStudio training philosophy.

I would like to close this post with a warning raised by J. Ryan at the previously mentioned R-devel thread:

While I think download statistics are potentially interesting for developers, done incorrectly it can very likely damage the community.

Anuncio publicitario

Comparte / Share

  • Correo electrónico
  • Imprimir
  • Twitter
  • Facebook
  • LinkedIn
  • Pinterest
  • Más
  • Tumblr
  • Reddit

Me gusta esto:

Me gusta Cargando...

New version of solaR

13 jueves Jun 2013

Posted by Oscar Perpiñán Lamigueiro in Energía Solar Fotovoltaica, R-english, R-project

≈ 10 comentarios

Etiquetas

CRAN, photovoltaics, R, solar, solar radiation, time series

I have updated my package solaR. This package provides calculation methods of solar radiation and performance of photovoltaic systems from daily and intradaily irradiation data sources.

This last version is able to produce a synthetic daily irradiation time series from 12 monthly average values following the procedure proposed by Aguiar, Collares-Pereira and Conde, «Simple procedure for generating sequences of daily radiation values using a library of Markov transition matrices», Solar Energy, Volume 40, Issue 3, 1988.

library(solaR)
## Monthly averages of daily values (Wh/m2)
G0dm <- c(2.766,3.491,4.494,5.912,6.989,7.742,7.919,7.027,5.369,3.562,2.814,2.179)*1000;
Ta <- c(10, 14.1, 15.6, 17.2, 19.3, 21.2, 28.4, 29.9, 24.3, 18.2, 17.2, 15.2)
g0 <- calcG0(lat=37.2, modeRad='aguiar', dataRad=G0dm)
xyplot(g0)
view raw solaR36.R hosted with ❤ by GitHub

aguiar

On the other hand, there is a new function named writeSolar to export the results of the set of functions of this package.

Comparte / Share

  • Correo electrónico
  • Imprimir
  • Twitter
  • Facebook
  • LinkedIn
  • Pinterest
  • Más
  • Tumblr
  • Reddit

Me gusta esto:

Me gusta Cargando...

rasterVis

06 miércoles Jul 2011

Posted by Oscar Perpiñán Lamigueiro in R-english, visualization

≈ 10 comentarios

Etiquetas

CRAN, lattice, levelplot, raster, visualization

The raster package defines classes and methods for spatial raster data access and manipulation. The new rasterVis package complements raster providing a set of methods for enhanced visualization and interaction. It is now at CRAN.

Several examples can be found at the webpage of the project.

https://procomun.files.wordpress.com/2011/06/wpid-levelplot_layer11.png

Comparte / Share

  • Correo electrónico
  • Imprimir
  • Twitter
  • Facebook
  • LinkedIn
  • Pinterest
  • Más
  • Tumblr
  • Reddit

Me gusta esto:

Me gusta Cargando...

solaR 0.24 at CRAN

17 viernes Jun 2011

Posted by Oscar Perpiñán Lamigueiro in R-english

≈ 2 comentarios

Etiquetas

CRAN, memoir, R, R-Forge, siar, solar

The version 0.24 of solaR is at CRAN and R-Forge. Some days before the 0.23 version was uploaded, but I had to make a quick fix to readMAPA: the url of http://www.mapa.es/siar has been changed to http://www.marm.es/siar. Moreover, this function has been renamed to readSIAR, although it is still available as readMAPA. Consequently the mode modeRad='mapa' is now deprecated and renamed to modeRad='siar'.

Besides, the arguments prom, mapa, bd and bdI of calcG0, calcGef, prodGCPV and prodPVPS have been unified in the new dataRad argument. Those arguments are now deprecated although still available.

The previous solaR 0.23 fixed a bug in fInclin when horizBright=FALSE, and:

  • Four sun-geometry methods are now available.
  • ThzS, AlS and AzS are not set to NA outside sunrise-sunset period.
  • fInclin and calcGef gain a new argument, HCPV, for High Concentrated Photovoltaics.
  • A bug in fSolI and fTheta when lat=0 has been corrected.

Last, the vignette has been reformated and now uses the memoir class of LaTeX. It is available here.

Comparte / Share

  • Correo electrónico
  • Imprimir
  • Twitter
  • Facebook
  • LinkedIn
  • Pinterest
  • Más
  • Tumblr
  • Reddit

Me gusta esto:

Me gusta Cargando...

Maps of solar radiation

02 sábado Abr 2011

Posted by Oscar Perpiñán Lamigueiro in Energía Solar Fotovoltaica, R-english, visualization

≈ 4 comentarios

Etiquetas

CRAN, GNU General Public License, nasa, photovoltaics, R, R-project, solar, solar radiation

The Atmospheric Science Data Center (ASDC) at NASA Langley Research Center offers several data sources. For example, it is possible to download a text file with the 22-year (July 1983 – June 2005) monthly and annual average of global horizontal irradiation.

nasafile <- 'http://eosweb.larc.nasa.gov/sse/global/text/global_radiation'
nasa <- read.table(file=nasafile, skip=13, header=TRUE)

With this data, R and the solaR package we can calculate (for example) the global effective irradiation incident on several surfaces: a fixed PV generator, a two-axis tracker and a N-S horizontal tracker. First, let’s plot the original data using some spatial packages:


Sigue leyendo →

Comparte / Share

  • Correo electrónico
  • Imprimir
  • Twitter
  • Facebook
  • LinkedIn
  • Pinterest
  • Más
  • Tumblr
  • Reddit

Me gusta esto:

Me gusta Cargando...
← Entradas anteriores

Omnia sunt communia!

“As we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously”

RSS Feed RSS - Entradas

Introduce tu correo electrónico para suscribirte a este blog y recibir avisos de nuevas entradas.

Únete a otros 91 suscriptores

Posts Más Vistos

  • Libro de Energía Solar Fotovoltaica
  • Vector fields with streamlines
View Oscar Perpiñán Lamigueiro's profile on LinkedIn
profile for Oscar Perpiñán on Stack Exchange, a network of free, community-driven Q&A sites
Citations for Oscar Perpinan

@oscarperpinan

Mis tuits

Enlaces

  • Displaying time series, spatial and space-time data with R
  • Introducción a R

Top Clicks

  • oscarperpinan.github.com/…
  • r-bloggers.com/2023/05/3d…

Etiquetas

actuar anarquía autocontención ayuda mutua bloch ciencia circuitos eléctricos común cooperación CRAN creative commons data data.table data analysis ecología emacs Energía energía solar fotovoltaica entropía EOI esperanza exergía forecast fotovoltaica galeano github GNU General Public License información investigación jorge riechmann kropotkin latex lattice lewis mumford libro lyx map maps memoir meteorological data movimientos sociales nestoria nicolas georgescu roegen NWP open data openstreetmap orgmode pensar photovoltaics pobreza R R-project radiación solar raster rasterVis reproducible research siar small multiples software libre solar solar radiation sp spatial spatial data spplot tecnología time series trellis tufte uned utopía Vector field visualización visualization WRF

RSS R-bloggers

  • Simulating confounders, colliders and mediators by @ellis2013nz
  • Introduction to Mixed-effects Models in R workshop
  • Learn to ‘Make an outstanding Shiny App’ with us
  • Sorting, Ordering, and Ranking: Unraveling R’s Powerful Functions
  • Galton and Watson voluntarily skipping some generations
  • {attachment} v0.4.0: Breaking changes and configuration file for a better experience
  • Sharing the Big Book of R upgrade proposal
  • The do.call() function in R: Unlocking Efficiency and Flexibility
  • Version 1.0.0 of NIMBLE released, providing automatic differentiation, Laplace approximation, and HMC sampling
  • Checking normality in R

RSS dataanalytics

  • Se ha producido un error; es probable que la fuente esté fuera de servicio. Vuelve a intentarlo más tarde.

RSS Solar Energy (Elsevier)

  • Se ha producido un error; es probable que la fuente esté fuera de servicio. Vuelve a intentarlo más tarde.

RSS Progress in Photovoltaics

  • Se ha producido un error; es probable que la fuente esté fuera de servicio. Vuelve a intentarlo más tarde.

RSS Madridmasd

  • Cambio Climático, Gobiernos y Empresas; Casi todas sus promesas son mentira
  • Proyectos estratégicos para la recuperación y transformación económica (PERTE)
  • ¿En quién confiar? Debate sobre IA, ética y comunicación en el congreso de medios de comunicación
  • La Civilización perdida bajo los suelos y vegetación de Latinoamérica.
  • IMDEA Software e IMDEA Networks trabajan para desplegar en la Comunidad de Madrid “MadQCI”: la mayor red cuántica de Europa
  • Etnografía y Paleoecología de los Paisajes Precolombinos: El Papel del Fuego en las Culturas Aborígenes del SO de América del Norte (tribus Karuk y Yurok)
  • Homenaje a Manuel Espadas Burgos
  • Super Mario World
  • Taller doctoral en Historia de las Relaciones Internacionales 2023 en la Universidad de Padua
  • Directiva Europea de Protección de Suelos: Dos décadas de “vistas” y “consideraciones” y otras desconsideraciones
Licencia Creative Commons
Salvo indicación en contra todos los contenidos están publicados por Oscar Perpiñán Lamigueiro bajo una Licencia Creative Commons Reconocimiento-No Comercial-Compartir Igual 3.0 Unported.

Blog de WordPress.com.

Privacidad y cookies: este sitio utiliza cookies. Al continuar utilizando esta web, aceptas su uso.
Para obtener más información, incluido cómo controlar las cookies, consulta aquí: Política de cookies
  • Seguir Siguiendo
    • Omnia sunt Communia!
    • Únete a 91 seguidores más
    • ¿Ya tienes una cuenta de WordPress.com? Inicia sesión.
    • Omnia sunt Communia!
    • Personalizar
    • Seguir Siguiendo
    • Regístrate
    • Iniciar sesión
    • Denunciar este contenido
    • Ver sitio web en el Lector
    • Gestionar las suscripciones
    • Contraer esta barra
 

Cargando comentarios...
 

    A %d blogueros les gusta esto: