[R] Help on tidy_source

2014-09-19 Thread Agony
Dear all, Good time. Could anybody can help me with my below code on Windows 7 and R 3.1.0 when I run this code: tidy_source ( "ugly script.R", file = "beautiful script.R" ) I encounter this error message: Error in parse(text = x, keep.source = TRUE) : :11:14: unexpected '==' 10: 11: Cr

[R] How to draw Bubble chart with mini pie charts as bubbles in R

2014-06-14 Thread Agony
Dear all, Good day! Could anybody help me how to draw a bubble chart with mini pie charts as bubbles in R ? Introducing any experiences, books, booklet or source code will appreciated. Bunch of thanks. Best, Amir __ R-help@r-project.org mailing list

Re: [R] How to draw Bubble chart with mini pie charts as bubbles in R

2014-06-15 Thread Agony
2014 01:03:21 PM Agony wrote: > Dear all, > Good day! > > Could anybody help me how to draw a bubble chart with mini pie charts as > bubbles in R ? Introducing any experiences, books, booklet or source code > will appreciated. > Hi Amir, The floating.pie func

[R] A question in rms package

2014-01-02 Thread Agony
Dear all, Happy new year all of You and with best wishes coming to you in this new year. I have a problem in running a command in rms package. Does any can help me with my problem. I wanna use predab.resample command to compute bias-corrected estimates of a vector of indexes of Predictive accu

[R] Installing WinBUGS & OpenBUGS on OS X 10.8.5

2014-02-24 Thread Agony
Dear all,  Could any body help me how to install OpenBUGS or WinBUGS on my operating system; OS X 10.8.5? Actually, If there are too many way what is the best way? I will be very grateful to receive your guidance and comments. The installation manual could help me in the best way. Bunch of thank

Re: [R] Installing WinBUGS & OpenBUGS on OS X 10.8.5

2014-02-27 Thread Agony
s emulator.   2. Another possibility is to install JAGS (http://mcmc-jags.sourceforge.net/)  via MacPorts (http://www.macports.org/)  and use R2JAGS. Agony Sent by: r-help-boun...@r-project.org 02/24/2014 09:18 AM Please respond to Agony To "r-help@r-project.org" , "r-he

[R] (no subject)

2014-03-04 Thread Agony
Dear all, I have a problem reading xlsx files in R. Could anybody help me how to resolve the problem? install.packages("xlsx", dependencies=TRUE) library(xlsx) library(rJava) data <- read.xlsx("3.1.xlsx", sheetIndex = 3.1) data <- read.xlsx("3.1.xlsx", sheetName= "a",as.data.frame=TRUE, header=T

[R] How can I use muliple cores of CPU in Windows or OS X?

2013-11-05 Thread Agony
Dear all, I have about 50 pages of R codes and ran it in both OS X and Windows. It takes at least haft a day to have the results. The running time is not very different in both Systems. I found that R does not use all cores of CPU by default. Can anybody help me to use all cores of CPU in my prog

[R] decode and annotate

2013-11-10 Thread Agony
Dear all, Could anyone help me annotate and decode the below codes? Many thanks in advance. Best, coverage.col <- rep(0, length(mean)) coverage.col[coverage=="a"] <-  rainbow(50)[30] coverage.col[coverage=="b"] <-  rainbow(50)[15] coverage.col[coverage=="c"] <- rainbow(50)[8] coverage.col[cove