Re: [R] RQuantLib

2017-12-29 Thread Orvalho Augusto
Hi Bob, I don't know what is the cause of your trouble but try this: 1. Download the zip of package. 2. And install it from local zip files. This you find on the Packages menu. Hope it helps OA On Fri, Dec 29, 2017 at 10:31 AM, rsherry8 wrote: > Joshua, > > Thanks for the response. When you

Re: [R] Draw Overlapping Circles with shaded tracks

2017-12-29 Thread Jim Lemon
Hi Abou, Without an illustration it's hard to work out what you want. here is a simple example of two circles using semi-transparency. Is this any help? pdf("circles.pdf") plot(0:10,type="n",axes=FALSE,xlab="",ylab="") draw.circle(4,5,radius=3,border="#ffaa",lwd=10) draw.circle(6,5,radius=3,bo

Re: [R] package : plm : pgmm question

2017-12-29 Thread Uwe Ligges
Please talk to the package maintainer whi may not be listen on R-help. Best, Uwe Ligges On 25.12.2017 10:53, Ye Dong wrote: Dear Sir, I am using the package pgmm you build in panel regression. However, I found that when T is 10, N=30, the error would show as following: system is computa

Re: [R] Help with script

2017-12-29 Thread Ek Esawi
Hi Pablo, Rui's suggestion is probably the best and easiest. In addition to Eric's, i think the apply functions will work well here too. Best of luck, EK On Thu, Dec 28, 2017 at 7:03 PM, PABLO ORTIZ PINEDA wrote: > Hello there. Happy new year for everyone! > > I need help with a table. This ta

Re: [R] RQuantLib

2017-12-29 Thread rsherry8
Joshua, Thanks for the response. When you said at least version 3.4.0, I upgraded to 3.4.2 which I believe is the current version. Now, I attempted to install the package RQuantLib but it did not work. Here is what I got: > install.packages("RQuantLib") Installing package into ‘C:/Users/rshe

Re: [R] Writing text files out of a dataset

2017-12-29 Thread Jeff Newmiller
This presumes that 'data[["material"]]' is numeric. It is unnecessary to put the output data into a separate vector d (it is already in a vector that is part of the 'data' data frame). I would just overwrite `d` (or `d1`) each time through the loop: for (i in seq_along( data[["material"]] ) )

Re: [R] Writing text files out of a dataset

2017-12-29 Thread Rui Barradas
Hello, You have to create the vector 'd' outside the loop before using it. d <- numeric(nrow(data)) Only then comes the loop. Hope this helps, Rui Barradas On 12/29/2017 2:31 PM, Luca Meyer wrote: Hello, I am trying to run the following syntax for all cases within the dataframe "data" d1

Re: [R] Facing problem in installing the package named "methyAnalysis"

2017-12-29 Thread Martin Morgan
On 12/29/2017 07:00 AM, Pijush Das wrote: Thank you Michael Dewey. Can you please send me the email id for Bioconductor. https://support.bioconductor.org Make sure you are using packages from a consistent version of Bioconductor source("https://bioconductor.org/biocLite.R";) BiocInstaller

Re: [R] Facing problem in installing the package named "methyAnalysis"

2017-12-29 Thread Robert Baer
Bioconductor help is here: https://www.bioconductor.org/help/ On 12/29/2017 6:00 AM, Pijush Das wrote: Thank you Michael Dewey. Can you please send me the email id for Bioconductor. regards Pijush On Fri, Dec 29, 2017 at 5:20 PM, Michael Dewey wrote: Dear Pijush You might do better t

Re: [R] Why aov() with Error() gives three strata?

2017-12-29 Thread Jorge Fernando Saraiva de Menezes
Thank you Peter, I now understand it. Indeed, when there is only one replicate per combination of IV and SUBJECT there is only two strata. The reason this behavior is not observed in other statistical tools is because they usually do not allow more than one measure per combination of period and sub

Re: [R] Facing problem in installing the package named "methyAnalysis"

2017-12-29 Thread Pijush Das
Thank you Michael Dewey. Can you please send me the email id for Bioconductor. regards Pijush On Fri, Dec 29, 2017 at 5:20 PM, Michael Dewey wrote: > Dear Pijush > > You might do better to ask on the Bioconductor list as IRanges does not > seem to be on CRAN so I deduce it is a Bioconductor

Re: [R] Writing text files out of a dataset

2017-12-29 Thread Eric Berger
You have an error with the filename in the loop. Try replacing the relevant line wtih fileConn<-file(sprintf("TESTI/%d.txt",i)) HTH, Eric On Fri, Dec 29, 2017 at 4:31 PM, Luca Meyer wrote: > Hello, > > I am trying to run the following syntax for all cases within the dataframe > "data" > > d1 <

[R] Writing text files out of a dataset

2017-12-29 Thread Luca Meyer
Hello, I am trying to run the following syntax for all cases within the dataframe "data" d1 <- data[1,c("material")] fileConn<-file("TESTI/d1.txt") writeLines(d1, fileConn) close(fileConn) I am trying to use the for function: for (i in 1:nrow(data)){ d[i] <- data[i,c("material")] fileConn<

Re: [R] Facing problem in installing the package named "methyAnalysis"

2017-12-29 Thread Michael Dewey
Dear Pijush You might do better to ask on the Bioconductor list as IRanges does not seem to be on CRAN so I deduce it is a Bioconductor package too. Michael On 29/12/2017 07:29, Pijush Das wrote: Dear Sir, I have been using R for a long time. But recently I have faced a problem when inst

[R] Draw Overlapping Circles with shaded tracks

2017-12-29 Thread AbouEl-Makarim Aboueissa
Dear All: I am wondering if there is a way in R to draw these two circles with shaded tracks in both circles using R, and make both circles uncovered. I am trying to make it in MS words, but I could not. Your help will be highly appreciated. In my previous post I added the image of the two circ

[R] Facing problem in installing the package named "methyAnalysis"

2017-12-29 Thread Pijush Das
Dear Sir, I have been using R for a long time. But recently I have faced a problem when installing the Bioconductor package named "methyAnalysis". Firstly it was require to update my older R (R version 3.4.3 (2017-11-30)) in to newer version. That time I have also updated the RStudio software.

Re: [R] Help with dates

2017-12-29 Thread peter dalgaard
Mostly agree, except that I would suggest hardcoding the notion of "in the future", so that you don't get surprises when someone reruns your code 20 years from now. -pd > On 28 Dec 2017, at 21:54 , Simmering, Jacob E > wrote: > > Your dates have an incomplete year information with 34. R assu