Re: [R] clipart - box with rounded corners?

2014-05-12 Thread Spencer Graves
On 5/11/2014 8:53 PM, Paul Murrell wrote: Hi There is a grid.roundrect(), in case you are working in that alternative universe. Hi, Paul: Is there an easy way to specify the roundrect arguments in standard user coordinates? plot(7:8); grid.roundrect(.6, .4, .4, .2, name='rr')

Re: [R] invalid digital signature for R-3.1.0-mavericks

2014-05-12 Thread Prof Brian Ripley
Please do ask Mac-specific questions on R-sig-mac (see the posting guide): this about the Apple installer. But always try another mirror first: BTW cran.stat.ucla.edu gets far more than its share of problem reports. There have been no similar reports on R-sig-mac in the month or so that R

Re: [R] clipart - box with rounded corners?

2014-05-12 Thread Spencer Graves
On 5/11/2014 8:53 PM, Paul Murrell wrote: Hi There is a grid.roundrect(), in case you are working in that alternative universe. p.s. Is it feasible to mix grid with traditional graphics? Your Ch. 6 begins, This chapter is useful for drawing ... from scratch, and for adding output to plots

[R] Making a trial based Package for 30-days.

2014-05-12 Thread Ashis Deb
Hi all , I have a GUI package , which I want to make it work for a certain period,say-30days ,after which it should be self destructive . Could it be possible ?? ASHIS [[alternative HTML version deleted]]

[R] implementation for genetic algorithm

2014-05-12 Thread nourhan iyte
Dear All, I am a beginner for R programming Do you an example for implementation for genetic algorithm or how to use it in distance between cities algorithm Thanks in advanced Regards MAYA [[alternative HTML version deleted]]

Re: [R] clipart - box with rounded corners?

2014-05-12 Thread Paul Murrell
Hi On 05/12/14 18:17, Spencer Graves wrote: On 5/11/2014 8:53 PM, Paul Murrell wrote: Hi There is a grid.roundrect(), in case you are working in that alternative universe. p.s. Is it feasible to mix grid with traditional graphics? Your Ch. 6 begins, This chapter is useful for drawing ...

[R] Lag in dataframe

2014-05-12 Thread Abhinaba Roy
Hi R helpers, I have a dataframe as, ID_CASE Month CS0026A 201301 CS0026A 201302 CS0026A 201303 CS0026A 201304 CS0026A 201305 CS0026A 201306 CS0026A 201307 CS0026A 201308 CS0026A 201309 CS0026A 201310 CS0191C 201302 CS0191C 201303 CS0191C

Re: [R] Making a trial based Package for 30-days.

2014-05-12 Thread Helios de Rosario
I guess you could write some instructions in the configure file (configure.win for windows) at the root level of the package subdirectory, to create a scheduled task to uninstall and delete the package after a fixed period. That script would normally execute at the moment of installation. See

Re: [R] Making a trial based Package for 30-days.

2014-05-12 Thread Barry Rowlingson
On Mon, May 12, 2014 at 10:31 AM, Ashis Deb ashisde...@gmail.com wrote: Hi all , I have a GUI package , which I want to make it work for a certain period,say-30days ,after which it should be self destructive . Could it be possible ?? Yes. But why

Re: [R] Change position in package rgl

2014-05-12 Thread Duncan Murdoch
On 12/04/2014, 1:03 PM, Duncan Murdoch wrote: On 12/04/2014, 11:19 AM, Roland Rau wrote: Dear all, I am using package rgl and I want to change the position where I stand. Maybe a small example might clarify what I am looking for: # Begininng of explanatory example library(rgl) data(volcano)

[R] Plotly and rOpenSci: R and ggplot2 interactive, online, collaborative plotting

2014-05-12 Thread Matt Sundquist
Hello R help, My name is Matt, and I'm a co-founder at Plotly http://plot.ly, an online graphing and analytics project. We're building an R library http://plot.ly/r as part of the rOpenScihttp://ropensci.orgproject. You can use it to make interactive, web-based R and ggplot2 plots. The plots are

Re: [R] Lag in dataframe

2014-05-12 Thread arun
Hi, May be this helps: dat1 - structure(list(ID_CASE = c(CS0026A, CS0026A, CS0026A, CS0026A, CS0026A, CS0026A, CS0026A, CS0026A, CS0026A, CS0026A, CS0191C, CS0191C, CS0191C, CS0191C, CS0191C, CS0191C, CS0191C, CS0191C,

Re: [R] Making a trial based Package for 30-days.

2014-05-12 Thread Barry Rowlingson
On Mon, May 12, 2014 at 1:11 PM, Ashis Deb ashisde...@gmail.com wrote: Well it's the company requirement to do so , and give it on a trial basis to client to check , if they like they will BUY or it will self destruct itself , No, if they like it they will BUY or they will

Re: [R] Making a trial based Package for 30-days.

2014-05-12 Thread Spencer Graves
On 5/12/2014 7:28 AM, Barry Rowlingson wrote: On Mon, May 12, 2014 at 1:11 PM, Ashis Deb ashisde...@gmail.com wrote: Well it's the company requirement to do so , and give it on a trial basis to client to check , if they like they will BUY or it will self destruct itself , No,

[R] Creating Twitter network - rate limits being exceeded - cannot figure why

2014-05-12 Thread Niall Kelly
Hi everyone. This is my first ever ask for help, having searched archives and the package help, CRAN, and stackoverflow, and having spent 3 days on this. I am using a modified version of Pablo Barbera's code

Re: [R] variable length lisin in data frame

2014-05-12 Thread MacQueen, Don
I think it will depend on how you plan to use the data. Again in my opinion, I think the simplest most natural storage structure in the context of R would be a nested list: mydat - list( list(contacts=c(3,4), ncon=2), list(contacts=c(1,3,4), ncon=3), list(contacts=c(4,2,1), ncon=3),

Re: [R] Making a trial based Package for 30-days.

2014-05-12 Thread Barry Rowlingson
On Mon, May 12, 2014 at 3:45 PM, Spencer Graves spencer.gra...@structuremonitoring.com wrote: One company I know installed an S-Plus or R package only on servers, so their customers had to use it on a server. (In this case, the customers had a GUI and may not have known that it was

Re: [R] Making a trial based Package for 30-days.

2014-05-12 Thread Spencer Graves
On 5/12/2014 8:21 AM, Barry Rowlingson wrote: On Mon, May 12, 2014 at 3:45 PM, Spencer Graves spencer.gra...@structuremonitoring.com wrote: One company I know installed an S-Plus or R package only on servers, so their customers had to use it on a server. (In this case, the customers

[R] ASA CSP - call for short courses - deadline May 13

2014-05-12 Thread Adams, Jean
Reposting of an earlier announcement, with a reminder of the deadline which is *Tuesday May 13*. === R users, The 2015 American Statistical Association Conference on Statistical Practice is currently accepting proposals for short courses and tutorials. The conference will be held February

[R] package to plot mean and standard deviation directly on data

2014-05-12 Thread Luigi Marongiu
Dear all, is there a package, preferably not ggplot, to draw the lines for the standard deviation just by providing the vector with the data? more or less as it happens with the boxplot function. the procedure i implemented herein requires the calculation of the means, standard deviations, limits

Re: [R] how di I write a for loop in which i is in POSIX?

2014-05-12 Thread Adams, Jean
Christiane, You will get replies to your queries more quickly if you include reproducible code in your question. For example, it would have been helpful if you had posted the result returned by dput(head(treat)) rather than just copying and pasting the first few rows of treat. treat -

[R] Help conduction Egger's test

2014-05-12 Thread Sultan Malik
Hi, I am currently conducting a meta analyses and wish to carry out Egger’s test. I was just wondering, does the weighted linear regression model proposed by Egger et al correspond to the weighted regression with multiplicative dispersion” option in Metafor? Many thanks Sultan

[R] Convert to integers all entries of a table (for DESeq2)

2014-05-12 Thread Alicia R . Pérez-Porro
Dear R users, I have a .txt table that looks like: transcript_ID C3C4 CRL_2APR10 CRL_1_15JUL11 CRL_2_15JUL11 C1 CRL_6OCT11c CRL_3DEC11 CRL_13DEC11b LRV_A LRV_B c101054_g1_i2 15.53 231.47 131.86 218.69 16.70 0.00 587.79 0.00 624.32 10.00 6.00 c96583_g1_i2 0.00

[R] Fwd: Convert to integers all entries of a table (for DESeq2)

2014-05-12 Thread Alicia R . Pérez-Porro
Dear R users, I have a .txt table that looks like: transcript_ID C3C4 CRL_2APR10 CRL_1_15JUL11 CRL_2_15JUL11 C1 CRL_6OCT11c CRL_3DEC11 CRL_13DEC11b LRV_A LRV_B c101054_g1_i2 15.53 231.47 131.86 218.69 16.70 0.00 587.79 0.00 624.32 10.00 6.00 c96583_g1_i2 0.00

Re: [R] Convert to integers all entries of a table (for DESeq2)

2014-05-12 Thread David L Carlson
a - transcript_ID C3 C4 CRL_2APR10 CRL_1_15JUL11 CRL_2_15JUL11 C1 CRL_6OCT11c CRL_3DEC11 CRL_13DEC11b LRV_A LRV_B c101054_g1_i2 15.53 231.47 131.86 218.69 16.70 0.00 587.79 0.00 624.32 10.00 6.00 c96583_g1_i2 0.00 10.60 6.30 8.87 0.00 0.00 29.00 0.00 90.94 0.00 0.00 c19380_g1_i1 0.00 9.00 0.00

Re: [R] Help conduction Egger's test

2014-05-12 Thread Viechtbauer Wolfgang (STAT)
Yes, the 'traditional' Egger test is a weighted regression of the effect size estimates against their standard errors with weights s2/vi, where s2 is a multiplicative dispersion parameter. This is what you will get with: regtest(x, model=lm, predictor=sei) where 'x' is an object returned by

Re: [R] package to plot mean and standard deviation directly on data

2014-05-12 Thread Jim Lemon
On Mon, 12 May 2014 06:50:29 PM Luigi Marongiu wrote: Dear all, is there a package, preferably not ggplot, to draw the lines for the standard deviation just by providing the vector with the data? more or less as it happens with the boxplot function. the procedure i implemented herein

[R] Freeing up memory in R

2014-05-12 Thread Zilefac Elvis
Hi, I will like to free up memory in R and make my program execute faster. At the moment, MY PROGRAM IS VERY SLOW probably due to memory issues. Here is sample data (Rcode is found at the end) from one simulation(I have 1000 such files to process):  list(c(1971 1 1GGG1 0.00 -3.68 -0.29,

[R] Nonparametric MANOVA

2014-05-12 Thread Rich Shepard
I read a short thread on this topic from last June on stackoverflow.com. Both Bryan Hanson and Ben Bolker suggested looking for such functions using the sos package. I did this; the nonpartest function in npmv does not look to me like it does what I need. Since that thread did not reach a

Re: [R] package to plot mean and standard deviation directly on data

2014-05-12 Thread Duncan Mackay
Hi Luigi I have not got time at the moment to look at you question but see library(xyplot) demo(intervals) Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England Armidale NSW 2351 Email: home: mac...@northnet.com.au -Original Message- From:

Re: [R] set axis limit in lattice

2014-05-12 Thread Duncan Mackay
Hi Luigi Your key code was not included. That’s why I always put the key code with the key argument and the same for trellis.par.get() in panel.settings Your ratio was a character variable and would not plot When all else fails I get back to basics eg str(my.data) my.data$ratio -

[R] Contour plots in R Studio

2014-05-12 Thread Lydia Keppler
Hi all, I am using Windows 7 and R Studio version 3.0.2 (2013-09-25). I am relatively new to R and am trying to make a contour plot from a 3D data grid. I my data file has the following specifics: [1] file Data.nc has 3 dimensions: [1] time Size: 96 [1] lat Size: 21 [1] lon Size: 61 [1]

Re: [R] Contour plots in R Studio

2014-05-12 Thread Bert Gunter
Well one would expect that you might find something useful by searching the obvious, like ?contourplot and following the links therein. It also seems (to me, anyway) that you have made little effort to understand how R works, its data structures, syntax, and so forth. So please peruse An

Re: [R] Contour plots in R Studio

2014-05-12 Thread Jeff Newmiller
Granted, you are new here, but reading the Posting Guide is advice included in every post on this list. One key recommendation found there is to not post in HTML, as we don't see what you see when you do that. Use plain text email. Another key piece of advice in the Posting Guide is to provide a

Re: [R] Convert to integers all entries of a table (for DESeq2)

2014-05-12 Thread arun
Hi, You may also try using 'colClasses' while reading the data. setClass(NumerictoInteger) setAs(numeric, NumerictoInteger, function(from) as.integer(from)) datx1 - read.table(text=a, header=TRUE, stringsAsFactors=FALSE, colClasses=c(character,rep(NumerictoInteger,11))) ##David's result   dati

Re: [R] Contour plots in R Studio

2014-05-12 Thread Pascal Oettli
Hi Lydia, Your question match more the topics of the r-sig-geo list. Please have a look at the raster package, as well as the rasterVis package to read and work with NetCDF format. Regards, Pascal On Tue, May 13, 2014 at 6:27 AM, Lydia Keppler lydiakepp...@gmail.com wrote: Hi all, I am

Re: [R] how di I write a for loop in which i is in POSIX?

2014-05-12 Thread arun
Hi, You can also try: library(plyr) treat3 - ddply(treat, .(Zugnacht), mutate, su=min(Vollzeit), sa=max(Vollzeit)) identical(treat2[,c(2,1,3:4)],treat3) #[1] TRUE A.K. On Monday, May 12, 2014 2:46 PM, Adams, Jean jvad...@usgs.gov wrote: Christiane, You will get replies to your queries more

[R] efficient sine interpolation

2014-05-12 Thread Ortiz-Bobea, Ariel
Hello, I'm trying to fit a sine curve over successive temperature readings (i.e. minimum and maximum temperature) over several days and for many locations. The code below shows a hypothetical example of 5000 locations with 7 days of temperature data. Not very efficient when you have many more