[R] installing "rgl" package

2017-11-23 Thread Santosh
I also tried installing .. using the following command.. install.packages("rgl",dep=T, INSTALL_opts="--no-multiarch", configure.args=c(rgl="--with-gl-includes=/usr/include/GL")) Thanks so much for your help! Santosh [[alternative HTML version deleted]] _

Re: [R] installing "rgl" package

2017-11-24 Thread Santosh
T "" | #define PACKAGE_URL "" | #define HAVE_GL_GL_H 1 | #define HAVE_GL_GLU_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. |Use char because int might match the return type of a GCC |builtin and then its argument prototype would stil

Re: [R] installing "rgl" package

2017-11-24 Thread Santosh
gnu/libGL.so /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/x86_64-linux-gnu/mesa/libGL.so Thanks again, Santosh On Fri, Nov 24, 2017 at 12:39 PM, Duncan Murdoch wrote: > On 24/11/2017 2:30 PM, Santosh wrote: > >> Hi All, Duncan, Rolf, Ista, DIrk, >> >> Thanks for the suggesti

Re: [R] installing "rgl" package

2017-11-24 Thread Santosh
u.com/quantal/libgl1-mesa-glx-dbg> are the latest available now. How do I install R package "rgl" successfully? it gives the error about glEnd... and removes the R package "rgl". Thanks again, Santosh On Fri, Nov 24, 2017 at 2:33 PM, Duncan Murdoch wrote: > On 24/11/2017

Re: [R] installing "rgl" package

2017-11-24 Thread Santosh
Hi Duncan, Thanks for the suggestions. How do I uninstall mesa related installations? Do I need to uninstall all of "mesa" or only the specific ones? Santosh On Fri, Nov 24, 2017 at 3:05 PM, Duncan Murdoch wrote: > On 24/11/2017 5:45 PM, Dirk Eddelbuettel wrote: > >> >

Re: [R] installing "rgl" package

2017-11-26 Thread Santosh
‘rgl’ * removing ‘/data/R/lib/rgl’Warning in install.packages : installation of package ‘rgl’ had non-zero exit status On Fri, Nov 24, 2017 at 3:45 PM, Santosh wrote: > Hi Duncan, > Thanks for the suggestions. How do I uninstall mesa related installations? > Do I need to uninstall all of &quo

[R] ggplot2 question plot mean/error bars

2017-04-05 Thread Santosh
! Yes, there are many ways of generating the plot.. Would high appreciate it if you could help debug this piece of code. Attaching sample code for your convenience.. Best, Santosh q <- data.frame(G=rep(paste("G",1:3,sep=""),each=50),D=rep(paste("D",1:5,sep="

Re: [R] ggplot2 question plot mean/error bars

2017-04-05 Thread Santosh
Dear Rxperts.. Here is the updated code.. to the above example.. how do I make the white circles as "white filled" so that lines in the circles are not shown.? Thanks and much appreciated.... Santosh q <- data.frame(G=rep(paste("G",1:3,sep=""),each=50),D=rep(

Re: [R] A new -up?

2017-04-19 Thread Santosh
otherwise explain it as unexplained "random variable"/ "residual error" :) Santosh On Wed, Apr 19, 2017 at 1:32 AM, Rolf Turner wrote: > > On 19/04/17 20:01, peter dalgaard wrote: > > I believe that the list maintainer is hunting this down. As I >

[R] Application of "merge" and "within"

2016-05-27 Thread Santosh
Dear Rxperts! Is there a way to compute relative values.. using within().. function? Any assistance/suggestions are highly welcome!! Thanks again, Santosh... ___ A sample dataset and the computation "outside" within() f

Re: [R] Application of "merge" and "within"

2016-05-31 Thread Santosh
Thanks for response.. I want to merge two data frames using "within" function..the columns to used for merge could vary.. then the other commands become simpler.. Thanks so much for your help! Santosh On Sat, May 28, 2016 at 1:53 PM, Duncan Murdoch wrote: > On 27/05/2016 7:00 PM,

Re: [R] Application of "merge" and "within"

2016-05-31 Thread Santosh
I agree that performing merge outside the scope of "within" function, is pretty straight forward.. At times there are situations when many, if not all, of the operations are needed to be done within the scope the "within" environment.. Thanks so much.. Regards, Santosh On Tue

Re: [R] Application of "merge" and "within"

2016-06-04 Thread Santosh
(as.matrix(apply($DATA,2,function(x) {require(gtools);x1 <- ifelse(invalid(x),0,x);return(x1)} For some reason, the above code is not working.. any ideas on converting NAs/blanks to 0 using apply in within? or any other similar method? Thanks so much.. I appreciate your help!! Regards, Santosh

Re: [R] Application of "merge" and "within"

2016-06-09 Thread Santosh
rform a multi-column sort in within? Thanks so much.. Santosh On Wed, Jun 1, 2016 at 1:45 AM, peter dalgaard wrote: > Notice that within-group processing is intended. I'd try > > > first <- function(x)x[1] > > s <- within(q, {bl <- ave(b, paste(G,a), FUN=first);

[R] Script to workflow conversion

2015-04-22 Thread Santosh
Dear Rxperts.. Sorry.. i don't have data for my query.. Is there a way that an R script can be converted to a workflow? or if not a workflow, converted into a flowchart or anything close to that effect. Regards, Santosh [[alternative HTML version de

[R] Convert csv to xpt file in R?

2015-05-06 Thread Santosh
Stype(xg2) <- "TestXge" write.xport(xg2,file="A1.xpt") Error in label.data.frame(df, default = "") : length of default must same as x Any suggestions/tips are welcome.. Thanks and regards Santosh [[alternative HTML version deleted]] _

Re: [R] Convert csv to xpt file in R?

2015-05-07 Thread Santosh
-25) Thanks and regards, Santosh On Thu, May 7, 2015 at 8:51 AM, Nordlund, Dan (DSHS/RDA) < nord...@dshs.wa.gov> wrote: > > -Original Message- > > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Santosh > > Sent: Wednesday, May 06, 2015 8:04 PM >

[R] ReporteRs R package installation issues in R.3.2.3 (Windows)

2016-02-22 Thread Santosh
#x27; length 947836 bytes (925 KB) downloaded 925 KB package ‘ReporteRs’ successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Users\santosh\AppData\Local\Temp\RtmpMlGfvG\downloaded_packages > library(ReporteRs) Loading required package: ReporteRsjars Error : .

Re: [R] ReporteRs R package installation issues in R.3.2.3 (Windows)

2016-02-22 Thread Santosh
Thanks so much for your response.. Would try that! Santosh On Mon, Feb 22, 2016 at 12:45 AM, Uwe Ligges < lig...@statistik.tu-dortmund.de> wrote: > I guess you are using a 64 bit version of R for Windows but you have only > a 32-bit installation of Java. Please install a 64-bit Ja

[R] Tables, knitr markdown

2016-02-22 Thread Santosh
quot;. The kable function in knitr package accepts data.frame. Is there a way to convert the tabular class objects into data.frame objects? Or is there a way that kable can accept "tabular" class object? Thanks so much.. Santosh

Re: [R] Tables, knitr markdown

2016-02-22 Thread Santosh
Just figured out.. as.data.frame(as.matrix(),stringsAsFactors=F) could work! :) On Mon, Feb 22, 2016 at 12:17 PM, Santosh wrote: > Dear Rxperts.. > I am able to generate tables using Tables R package.. > However, when I have been unsuccessful in using kable (from knitr package) >

Re: [R] Tables, knitr markdown

2016-02-22 Thread Santosh
\ \hline \nopagebreak B1. & 0.03 & 2.0 \\ \nopagebreak B2. & 0.011 & 1.8 \\ \rule{0pt}{1.7\normalbaselineskip}B3 & 0.10 & 2.7 \\ \nopagebreak B4. & 0.02 & 1.6 \\ \hline \multicolumn{3}{l}{\textbf{Molten}}\\ \hline \nopagebreak C1. & 0.01 & 1.1

Re: [R] Tables, knitr markdown

2016-02-22 Thread Santosh
Thanks, Gergely.. I wonder if it allows to insert lines etc as sent in previous email which might need some additional preprocessing.. Best, Santosh On Mon, Feb 22, 2016 at 3:27 PM, Gergely Daróczi wrote: > On Mon, Feb 22, 2016 at 1:55 PM, Duncan Murdoch > wrote: > > > &g

[R] Use of "quote" in Windows and Linux..

2016-02-24 Thread Santosh
uggest how to use quote in Linux environment..and explain why there is such a difference? Thanks much in advance!! Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.et

Re: [R] [FORGED] Use of "quote" in Windows and Linux..

2016-02-24 Thread Santosh
impleError" Anyway.. thanks for your help/response. again. Regards, Santosh On Wed, Feb 24, 2016 at 12:52 PM, Ista Zahn wrote: > On Wed, Feb 24, 2016 at 3:47 PM, Rolf Turner > wrote: > > > > (1) Do not post in html. > > > > (2) This is the R-help forum, not

[R] Testing installed package of rJava in Linux

2016-03-08 Thread Santosh
; .J -> .jcall -> .jcheck -> .Call Execution halted Would highly appreciate your tips/suggestions.. Thanks and much appreciated, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

Re: [R] Testing installed package of rJava in Linux

2016-03-09 Thread Santosh
Thanks for your response. Since the test failed due to X11 connectivity reasons, is it okay to use it in applications where X11 server connectivity is not required? Thanks and much appreciated, Santosh On Tue, Mar 8, 2016 at 10:41 PM, Uwe Ligges wrote: > > > On 09.03.2016 02:19, Sant

[R] fread transforms numbers

2017-03-22 Thread Santosh
on rows, the values in only this (column (having wide range of values) are displayed as x.xxxe-3yy. (e.g. 3.5639877e-324) I tried reading all the columns as "character" and didn't help. Would highly appreciate your assistance! Thanks so much in advance. Be

Re: [R] fread transforms numbers

2017-03-22 Thread Santosh
Thanks so much for your suggestions! Will try them out! Santosh On Wed, Mar 22, 2017 at 12:17 PM, Matt Dowle wrote: > Thanks Bill for cc. > > Santosh, > > I'm almost certain you don't have package bit64 installed. When you do it > works fine : > > > re

Re: [R] fread transforms numbers

2017-03-22 Thread Santosh
Dear Rxperts.. I am using R version 3.2.3 on Linux.. it says bit64 is not available for R version 3.2.3.. Thanks and your assistance much appreciated! Best regards, Santosh On Wed, Mar 22, 2017 at 7:50 PM, Santosh wrote: > Thanks so much for your suggestions! Will try them out! > >

[R] Scan and read.table

2009-09-07 Thread Santosh
2.32958E+00 4.60430E-02 1.68910E-01 1.70382E-01 -2548 -9997 1.60714E+00 1.56161E+00 7.36944E-01 2.37716E+00 4.96144E-02 1.35797E-01 1.62153E-01 -2539 Thanks Santosh [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] Scan and read.table

2009-09-08 Thread Santosh
boundaries and use read.table to read the data within those boundaries. I wanted to know if there is more efficient way of handling disparate sets of data Thanks, Santosh On Tue, Sep 8, 2009 at 6:37 PM, jim holtman wrote: > How do you want to extract the data? You can use 'readLines'

[R] using filter while Reading files -

2009-09-14 Thread Santosh
ably "scan" is the fastest way to scan a file, but, I noticed it sometimes takes a long time when reading large text files. Would really appreciate your suggestions. Regards, Santosh [[alternative HTML version deleted]] __ R-help@r

Re: [R] using filter while Reading files -

2009-09-15 Thread Santosh
Yes, my current program uses both scan and readLines. I was hoping for an R-based implementation similar to the Splus function ImportData(file, filter=xxx) Is similar option available in R? Thanks, Santosh On Mon, Sep 14, 2009 at 4:39 PM, David Winsemius wrote: > > On Sep 14, 2009, at 6

Re: [R] using filter while Reading files -

2009-09-16 Thread Santosh
03 4.94227E+03 2.42390E+01 4.84272E+01" " -1 8.67870E+01 9.46260E+03 4.94227E+03 2.31390E+01 4.84271E+01" Thanks, Santosh "TABLE NO. 1: Gold" " R1 T1 T2 T3 T4 T5 " "0

[R] Re-order columns

2009-09-19 Thread Santosh
E+03 2.33000E+01 4.9E+01", " 43 3.77870E+01 2.46260E+03 4.44227E+03 2.31390E+01 4.84272E+01", " -1 3.67870E+01 1.46260E+03 4.44227E+03 2.31390E+01 4.84271E+01") x2 <- read.table(textConnection(x1),as.is=T,head=T,skip=1) x3 <- oC(x2) pcols &l

[R] sapply, lattice functions

2010-03-19 Thread Santosh
Dear R-gurus aa <- data.frame(a1=rnorm(20),b1=rnorm(20,0.8),c1=rnorm(20,0.5)) sapply(aa,function(x) histogram(x,breaks=NULL)) or px <- sapply(aa,function(x) histogram(x,breaks=NULL)) print(px,split=c(1,1,1,1),more=F) The above code does not seem to work. am I missing something? Thanks, S

Re: [R] sapply, lattice functions

2010-03-19 Thread Santosh
Thanks for your response. how do I print them in an ordered manner, akin to using print(px,split=c(2,2,1,1),more=T)) or par(mfrow=c(x,y))? -Santosh On Fri, Mar 19, 2010 at 2:58 PM, Gabor Grothendieck wrote: > Try this: > > junk <- sapply(aa,function(x) print(histogram(x,breaks=NU

Re: [R] sapply, lattice functions

2010-03-21 Thread Santosh
fidence intervals x1 <- x[-1] vs <- x[1] panel.histogram(x1,col='light blue',...) panel.densityplot(x1,col.line='blue',lwd=1.75,...) panel.abline(v=c(quantile(as.vector(x1),prob=lqp,na.rm = T),vs), col=

[R] Correlation question (from a newbie)

2009-07-14 Thread Santosh
Hi R-users, Was wondering if there is a way to quickly compute correlations between continuous variables grouped by some categorical variables? What function do I use? Thanks much in advance. Regards, Santosh [[alternative HTML version deleted

Re: [R] Correlation question (from a newbie)

2009-07-14 Thread Santosh
the following formula correct? tapply(dat$WEIGHT, by=list(dat$AGE,as.factor(dat$Group),as.factor(dat$EX),as.factor(dat$RACE)),cor) Thanks, Santosh On Tue, Jul 14, 2009 at 7:34 PM, Santosh wrote: > Hi R-users, > > Was wondering if there is a way to quickly compute correlations between

Re: [R] Correlation question (from a newbie)

2009-07-14 Thread Santosh
Dear R-users please ignore my most recent posting.. Found the solution.. Thanks to David Winsemius.. Thanks, Santosh On Tue, Jul 14, 2009 at 9:14 PM, Santosh wrote: > Dear R-users.. > > I hope the following scenario is more explanatory of my question.. > > Continuous

[R] histogram

2010-04-14 Thread Santosh
Dear R gurus... How do I control "smoothing" of a density plot in panel.densityplot when using histogram? Thanks much, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/

Re: [R] histogram

2010-04-15 Thread Santosh
panel.abline(v=c(quantile(as.vector(x),prob=lqp,na.rm = T)), col="dark green",lwd=2,lty=2) }, strip=strip.custom( strip.names=F, strip.levels=T, par.strip.text=list(cex=0.75)), ) ##

Re: [R] histogram

2010-04-15 Thread Santosh
yes.. that now works! thank you so much, Paul & Peter!! -santosh On Thu, Apr 15, 2010 at 3:11 AM, Paul Hiemstra wrote: > Santosh wrote: > >> Thanks for your email... yes, I had tried that "bw" thing.. for some >> reason it does not seem to work.. could

Re: [R] Lattice Groups

2010-04-29 Thread Santosh
uot;),box.dot=list(col=c("red","blue",...) panel.superpose(panel.groups=panel.loess,lwd=2,col.line=c("red","blue"),alpha=0.2,lty=1,...) panel.abline(h=0,col="black",lty=2)}, xlab="time bin (week)", auto.key=list(spac

[R] control span in panel.loess in xyplot

2010-04-29 Thread Santosh
,panel.groups=panel.loess(span=c(2/3, 3/4,1/2)) or something like.. xyplot(y~x,data=d,groups=z,panel=function(...) {panel.superpose(...);panel.groups=panel.loess(span=3/4,...)}) Thanks, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] Lattice Groups

2010-04-29 Thread Santosh
t;blue"),alpha=0.2,lty=1,...) panel.abline(h=0,col="black",lty=2)}, xlab="time bin (week)", auto.key=list(space="right",text=c("A","H"),points=T)) Thanks, Santosh On Thu, Apr 29, 2010 at 1:58 PM, RICHARD M. HEIBERGER wro

[R] Controlling panel.text

2010-05-03 Thread Santosh
,space="right")) Thanks a TON!! Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and pro

Re: [R] Tunnelling X for R graphics

2009-10-14 Thread Santosh
In an ssh client, under connections section, there is an option for tunneling. Please ensure that the tunneling options are turned on.. and if applicable, incoming/outgoing tunnels, listen/destination ports, etc. are set. Thanks, Santosh On Tue, Feb 3, 2009 at 2:03 PM, Adam D. I. Kramer wrote

[R] "subset" or "condition" as argument to a function

2009-11-20 Thread Santosh
ferences/examples on efficient ways to plot simulated data overlaid with observed data? Have a good weekend! Thanx, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PL

Re: [R] "subset" or "condition" as argument to a function

2009-11-20 Thread Santosh
dition is in "here",... I am not able to use a similar conditioning as an argument to a function.. Any suggestions will be highly appreciated! Thnx.. Santosh On Fri, Nov 20, 2009 at 5:40 PM, Santosh wrote: > Dear Rxperts! > > I was wondering if it is possible to write a funct

Re: [R] "subset" or "condition" as argument to a function

2009-12-01 Thread Santosh
oints(y~x,data=d1,subset=cond3,col='red') If I try the above, I get the following error message: *Error in subset.data.frame(dat, cond) : 'subset' must evaluate to logical* If you could also suggest references implementing similar code, I would highly appreciate it. Thanks so much

[R] Statistical question and implementation

2009-12-10 Thread Santosh
s and residual (additive + proportional) errors? To fit the observed, Y = F + (a^2 +b^2/F^2) F = f(x,Ai, var(Ai)); where Ai = a matrix of parameters; x = a vector independent variables; var(Ai) = variability in the parameter (Ai) Regards, Santosh [[alternative HTML version de

Re: [R] "subset" or "condition" as argument to a function

2009-12-11 Thread Santosh
Thanks so much for the tips, I was able to use both parse() and eval()... I found eval(), quote(), bquote() easier and more flexible to use and to pass as arguments to a function. I can't say enough that you really made my day! :) Thanks, Santosh On Tue, Dec 1, 2009 at 9:36 AM, baptiste a

[R] Installation of R in Redhat Linux (64 bit)

2009-06-05 Thread Santosh
tPackages") was not found When I run the following: nm /usr/lib64/R/library/stats/libs/stats.so | grep _gfortran_copy_string gives the result: U _gfortran_copy_string Thanks so much in advance

Re: [R] Installation of R in Redhat Linux (64 bit)

2009-06-06 Thread Santosh
o.3, and that _gfortran_copy_string is not used in the libgfortran.so.3. Is that correct? I see the libgfortran.so.1 is available for Fedora. would it work on RHEL5? If not, where can I download libgfortran.so.1 for RHEL5? Thanks much in advance. Santosh On Fri, Jun 5, 2009 at 11:49 PM, Prof Brian

[R] Boxplots: side-by-side

2009-06-24 Thread Santosh
.. Thanks and regards, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented,

[R] using xyplot

2009-03-22 Thread Santosh
was, however, able to generate the plots (with xyplot) when I hard-code the index value! Could you please help me troubleshooting the above code? If you can also help with an alternate code using sapply, it would be helpful! Thanks much in advance! Regards, Santosh [[alternative HTML version delete

[R] Binning

2009-03-29 Thread Santosh
Dear useRs... How do you all do binning of an independent variable using R? For example, observations of a dependent variable at times different from a nominal time. Are there any R functions that help with binning? Thanks much in advance! Santosh [[alternative HTML version deleted

[R] Reading files

2009-04-25 Thread Santosh
e.g. e,g var="date" something like... data${var} <- "02 Oct 2009? Regards, santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read th

[R] locating rcmd.exe through a batch script

2009-05-01 Thread Santosh
s=*" %%i in (`dir /S /B C:\Progra~1\R\R* |findstr /I "rcmd.exe" |findstr /I "2.8.1"`) do @echo %%i and it does not seem to work! Where am I doing wrong? THANKS A TON in advance! Regards, Santosh [[alternative HTML version deleted]]

Re: [R] locating rcmd.exe through a batch script

2009-05-01 Thread Santosh
27;:Windows binary packages in zipfiles are not supported: skipping On Fri, May 1, 2009 at 3:51 PM, Santosh wrote: > Dear R-sians! > The following command works fine on Dos Prompt, but not in a windows batch > script... > > dir /S /B C:\Progra~1\R\R* |findstr /I "rcmd.exe" |f

[R] xyplot - help with multiple Y's vs. X of a member data in multiple panels

2009-12-31 Thread Santosh
.90 1,5,1,7,44.733,1,3.40,2.92,3.31 1,5,1,7,51.749,1,2.53,2.01,2.52 1,5,1,7,58.733,1,1.57,1.10,1.57 1,5,1,7,65.733,1,0.54,0.23,0.62 1,5,1,7,72.733,1,-0.23,-0.54,-0.24 1,5,1,7,79.733,1,-1.03,-1.14,-0.94 Please let me know if you need additional info. Thanks, Santosh

Re: [R] xyplot - help with multiple Y's vs. X of a member data in multiple panels

2010-01-04 Thread Santosh
r the "newFactor". I tried panel.xyplot(x,y,) with "group=ID" and "group=newFactor" and it did not work. Your suggestions would be highly appreciated!! Regards, Santosh On Thu, Dec 31, 2009 at 6:59 PM, jim holtman wrote: > I am not too sure if this is what you

Re: [R] xyplot - help with multiple Y's vs. X of a member data in multiple panels

2010-01-04 Thread Santosh
Hi, Thanks for your email.. Each panel (in a multiple panel) is identified by "DS1, DS2 & DS3" in the dataset sent earlier. I would like an overlay of Y1, Y2 & Y3 (each by different lines) for each ID in the group. Each ID in the group is represented by a color. Regards & T

Re: [R] xyplot - help with multiple Y's vs. X of a member data in multiple panels

2010-01-05 Thread Santosh
"green")) xyplot(y1+y2+y3~x|factor(gp3)+factor(gp2), data=dat, groups=gp1, allow.multiple=T, panel=panel.superpose, distribute.type=T, type=c("b","l","l"), par.settings=pset, strip=strip.custom(stri

Re: [R] xyplot - help with multiple Y's vs. X of a member data in multiple panels

2010-01-05 Thread Santosh
Hi.. thanks for the tips.. that variation works. How can I control "pch", "lty" and "col" for each member (gp1) in the group (paste(gp2, gp3))? Regards,Santosh On Tue, Jan 5, 2010 at 2:15 AM, Felix Andrews wrote: > You should reshape the data into a long format

[R] Barplot/Histogram (lattice)

2010-01-28 Thread Santosh
ple is shown below.. b1 <- data.frame(lets=sample(letters,200,rep=T),n=seq(200)) barplot(sort(table(b1$lets)) histogram(b1$lets) Regards, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.c

Re: [R] lattice key inside panel

2010-02-02 Thread Santosh
scales=list(rot=45,relation="free")) Thanks, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posti

[R] Fwd: lattice key inside panel

2010-02-02 Thread Santosh
distribute.type=T, layout=c(3,3), scales=list(rot=45,relation="free")) Thanks, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] lattice key inside panel

2010-02-03 Thread Santosh
strip=strip.custom(list(strip.names=T,strip.levels=T))) Your assistance is very highly appreciated. Thanks Santosh On Wed, Feb 3, 2010 at 1:16 AM, Deepayan Sarkar wrote: > On Wed, Feb 3, 2010 at 10:50 AM, Santosh wrote: > > Dear R-experts.. > > > > I am trying to generate legen

[R] Export R generated tables and figures to MS Word

2013-03-12 Thread Santosh
so much, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal

Re: [R] Export R generated tables and figures to MS Word

2013-03-13 Thread Santosh
Dear Rxperts.. Awesome responses! Thank you so much for your responses! I think I have a 50-course meal to gobble! If you get more ideas.. Please do continue to share. Santosh On Wed, Mar 13, 2013 at 10:13 AM, David L Carlson wrote: > Package xtable will produce html output. If you save

Re: [R] suggestions about import SAS Transport files to R.

2013-03-26 Thread Santosh
nd foreign. Any ideas/suggestions are more than welcome! Thanks so much! Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-p

[R] tables package - error message of "duplicate values"

2013-04-19 Thread Santosh
3 8 10 19 49 9 10 19 49 10 10 13 45 > tabular((a+1)~(n=1)+Format(dig=0)*(b + c) * (mean + sd),data=a) Error in term2table(rows[[i]], cols[[j]], data, n) : Duplicate values: a and b Is there a way to let the function accept the "apparently" duplicate values? Thanks, Santosh

Re: [R] tables package - error message of "duplicate values"

2013-04-19 Thread Santosh
Rounding was done to replicate the problem I faced in the original data set... 2 independent identifiers in a group (shown only for 1 of 7 groups) may have same value of b or c. On Fri, Apr 19, 2013 at 1:53 PM, David Winsemius wrote: > > On Apr 19, 2013, at 1:29 PM, Santosh wrote: >

Re: [R] tables package - error message of "duplicate values"

2013-04-19 Thread Santosh
c p a N mean sdmean sd A 1 10 16.30 2.497 52.30 9.358 3 10 15.60 2.716 60.30 8.001 B 2 10 15.40 2.366 57.70 10.414 All 30 15.77 2.473 56.77 9.601 Thanks so much, Santosh On Fri, Apr 19, 2013 at 3:15 PM, David Winsemius wrote: > > On Apr 19, 2013, at 2:03 P

Re: [R] creating dummy variables

2013-04-20 Thread Santosh
R is for dummies (like me, but I don't use dummy variables) or for the non-Dummies like all experts who help us all the time@@.. so dummy variables are not needed! :) QED... On Sat, Apr 20, 2013 at 6:16 PM, Rolf Turner wrote: > On 21/04/13 10:56, Eva Prieto Castro wrote: > >> Hi, >> >> Why do y

Re: [R] NAMESPACE and imports

2013-04-21 Thread Santosh
file ... Any suggestions welcome! Thanks, Santosh On Fri, Apr 19, 2013 at 11:30 AM, Prof Brian Ripley wrote: > On 19/04/2013 19:16, Frank Harrell wrote: > >> Now I see it. S3method() wants two arguments so I need to create multiple >> S3method() statements for each generic. >&

[R] Hmisc & pdflatex

2013-04-22 Thread Santosh
le="a1.tex") # summ2 is a "tabular" output using "tables" package 'latex' is not recognized as an internal or external command, operable program or batch file. Error in system(cmd, intern = TRUE, wait = TRUE) : 'yap' not found In addition: Warning messa

Re: [R] Hmisc & pdflatex

2013-04-22 Thread Santosh
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9 64-bit) entering extended mode (C:/Users/santosh/AppData/Local/Temp/RtmpeA78Zj/filefac46aa1ac3.tex LaTeX2e <2011/06/27> Babel loaded. ("C:\Program Files\Latex\tex\latex\base\report.cls" Document Class: report 2007/10/19

Re: [R] Hmisc & pdflatex

2013-04-22 Thread Santosh
uot;) seems to work but the resulting pdf file is something like..."file13207cb8d2c.pdf. When this file was created, "a1" tex tile, "file13207cb8d2c.aux" and " file13207cb8d2c.log" files were also created in the "current working" folder. I still get t

[R] Tables package - remove NAs and NaN

2013-04-22 Thread Santosh
5.77 2.473 56.77 9.601 Thanks so much, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.htm

Re: [R] Tables package - remove NAs and NaN

2013-04-24 Thread Santosh
n checkout svn://scm.r-forge.r-project.org/svnroot/tables/ I get the following error message: C:\Users\santosh\temp>svn checkout svn:// scm.r-forge.r-project.org/svnroot/tables/ svn: E730060: Unable to connect to a repository at URL 'svn://scm.r-forge.r-proj ect.org/svnroot/tables&#x

Re: [R] Tables package - remove NAs and NaN

2013-04-24 Thread Santosh
yes, With Duncan's and Liviu's help, I was able to remove those NAs and NaNs from the tabular summary. svn .. thing has not worked for me yet.. would try this later.. Thanks so much! Regards, Santosh On Wed, Apr 24, 2013 at 1:46 PM, Santosh wrote: > Thanks so much.. I wi

[R] RStudio.. text editor

2013-04-25 Thread Santosh
Dear Rxperts/RStudio users, Is there a way to set tabs (the TAB key) in the text editor of RStudio, similar to the way customization can be done in Tinn-R? Thanks and regards, Santosh [[alternative HTML version deleted]] __ R-help@r

Re: [R] RStudio.. text editor

2013-04-25 Thread Santosh
com > > Sent: Thu, 25 Apr 2013 12:04:17 -0700 > > To: r-help@r-project.org > > Subject: [R] RStudio.. text editor > > > > Dear Rxperts/RStudio users, > > Is there a way to set tabs (the TAB key) in the text editor of RStudio, > > similar to the

[R] Grouped spaghetti plots in multipanel graphs

2013-04-30 Thread Santosh
viewport(x = unit(0.8, "npc"), y = unit(0.9, "npc"))) }, strip=strip.custom(strip.names=T,strip.levels=T,par.strip.text=list(cex=1.7,font=2),bg=0, var.name="School"), xlab=deparse(substitute(x)), ylab=deparse(substitute(y)), main="Overlay

[R] Lattice xyplot multipanels

2013-05-01 Thread Santosh
ly welcome! Thanks, Santosh q <- data.frame(G=rep(paste("G",1:3,sep=""),each=50),D=rep(paste("D",1:5,sep=""),each=30),a=rep(1:15,each=10),t=rep(seq(10),15),b=round(runif(150,10,20))) q$grp <- paste(q$D,q$a,sep=":") q$grp <- ordered

Re: [R] Lattice xyplot multipanels

2013-05-01 Thread Santosh
Sorry about the word "brackets".. Yes, I meant curly braces! I have not heard of "curley braces"! :). Curly braces surrounding the values of "strip.levels" appear on the strip of multipanel plots. Thanks, Santosh On Wed, May 1, 2013 at 7:44 PM, David Winsemius wr

Re: [R] Lattice xyplot multipanels

2013-05-01 Thread Santosh
Thanks for all tips/suggestions.. Just a few more comments.. The same code I use with a different data set in another project does not create those curly braces! Regards, Santosh On Wed, May 1, 2013 at 8:16 PM, Santosh wrote: > Sorry about the word "brackets".. Yes, I meant cur

[R] Create and read symbolic links in Windows

2013-05-02 Thread Santosh
Dear Rxperts.. Got a couple of quick q's.. I am using R in windows environment (both 32-bit and 64-bit) a) Is there a way to create symbolic links to some data files? b) How do I read data from symbolic links? Thanks so much.. Santosh [[alternative HTML version de

Re: [R] Create and read symbolic links in Windows

2013-05-02 Thread Santosh
ng to do with administrator accounts and administrator rights... Is it something I should check with my system administrator? Thanks, Santosh On Thu, May 2, 2013 at 12:22 PM, Prof Brian Ripley wrote: > On 02/05/2013 19:50, Santosh wrote: > >> Dear Rxperts.. >> Got a couple of q

Re: [R] Create and read symbolic links in Windows

2013-05-03 Thread Santosh
s to the target location. Still confuse with the error msges... Thanks, Santosh On Thu, May 2, 2013 at 11:42 PM, Prof Brian Ripley wrote: > On 03/05/2013 07:33, Santosh wrote: > >> Thanks for the suggestions. In windows (Windows 7, 64-bit), I couldn't >> get "file.s

Re: [R] Create and read symbolic links in Windows

2013-05-03 Thread Santosh
Just got it right please ignore the previous posting... It worked! Prof Ripley made my day!! :) THANK YOU! On Fri, May 3, 2013 at 11:23 AM, Santosh wrote: > Thanks for your suggestion... I upgraded to R.3.0.0 in 64-bit Windows 7 > environment.. > > This time when I use fil

Re: [R] Lattice xyplot multipanels

2013-05-21 Thread Santosh
Dear Rxperts, Using the same example above, is there a way to remove the borders of multi-panel strips and control the display of the borders of each panel.. for example, I would like to keep only side 1 & 2 of a panel... Thanks, Santosh On Wed, May 1, 2013 at 11:11 PM, Santosh w

Re: [R] Lattice xyplot multipanels

2013-05-21 Thread Santosh
, y = unit(0.9, "npc"))) }, strip = strip.custom(strip.names = T,strip.levels = T,par.strip.text = list(cex = 1.7,font = 2),bg = 0,var.name = "School"), xlab = deparse(substitute(x)), ylab = deparse(substitute(y)), main = "Overlay of Profil

Re: [R] Lattice xyplot multipanels

2013-05-21 Thread Santosh
Dear Rxperts, Sorry about that..forgot to update the numeric part of the multipanel group indicator... Below is the updated code... in addition to getting rid of the curly braces, is there a better way to control the position of panel.text flexibly instead of hardcoding. Thanks, santosh q

Re: [R] Lattice xyplot multipanels

2013-05-22 Thread Santosh
er-defined functions (including data driven text annotations) in both "panel" and "panel.groups" arguments? Thanks so much.. Santosh On Tue, May 21, 2013 at 10:04 PM, Santosh wrote: > Dear Rxperts, > Sorry about that..forgot to update the numeric part of the multipanel >

  1   2   3   >