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

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-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
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
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

[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] help needed for RInside with Qt

2017-06-29 Thread Santosh Kumar
>Bert Gunter > > > >"The trouble with having an open mind is that people keep coming along > >and sticking things into it." > >-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > > > >On Wed, Jun 28, 2017 at 1:36

[R] help needed for RInside with Qt

2017-06-28 Thread Santosh Kumar
:\Program Files\R\R-3.4.0"I get QMake error: The system cannot find the path specified. Any help will be much appreciated. Thanks, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and

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 >

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(

[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] 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! > >

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

[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] 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);

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-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-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,

[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] 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] 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] [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] 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] 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

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
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) >

[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] 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] 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 : .

[R] Remote Connection

2015-06-29 Thread Santosh Maskar
the document where I can find more details about remote connection. thanks, Santosh __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

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] 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]] _

[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

Re: [R] plot a list of trellis objects

2014-02-18 Thread Santosh
Thanks for suggestions! I am just getting familiarized with these "grid" and "extra" businesses! Now I understand a bit better to find and scour through man/help pages :) santosh On Tue, Feb 18, 2014 at 1:00 PM, Frede Aakmann Tøgersen wrote: > Sorry this should of cour

Re: [R] plot a list of trellis objects

2014-02-18 Thread Santosh
, 2014 at 11:59 AM, Santosh wrote: > Thanks for the suggestion.. > Is there a way I can include arguments to the *grid.arrange* function? > > I tried in your example something like... > gridar <- function(x,ncol=2,...) grid.arrange(x,...) > do.call(gridar, lattice.plots); > &g

Re: [R] plot a list of trellis objects

2014-02-18 Thread Santosh
ows and have multiple pages the way possible using print.trellis Regards, Santosh On Mon, Feb 17, 2014 at 10:38 PM, Frede Aakmann Tøgersen wrote: > How about > > > lattice.plots <- list(xyplot(rnorm(10) ~ 1:10, type = "b"), > xyp

Re: [R] plot a list of trellis objects

2014-02-18 Thread Santosh
Thanks for all your suggestions.. santosh On Tue, Feb 18, 2014 at 4:11 AM, Duncan Mackay wrote: > Hi Santosh > > for more control on size and position > > ?lattice::print.trellis > > Duncan > > Duncan Mackay > Department of Agronomy and Soil Science > Univers

[R] plot a list of trellis objects

2014-02-17 Thread Santosh
objects into an argument to grid.arrange seems to negate the simplicity.. In addition, if I were to use grid.arrange on a list of trellis objects, is there a way to pass the list elements as arguments to grid.arrange? If you have other suggestions, please do.. Regards, Santosh

Re: [R] Fwd: Conditional inclusion of an element in an R object

2014-01-10 Thread Santosh
Besides, is there an R equivalent of "%m[/][.]%d[/][,]%y [%H[:%M[:%S[.%N]]][%p][[(]%3Z[)]]]" available in Splus (?class.timeDate) for tackling time-date format inconsistencies as mentioned above. Thanks, Santosh On Fri, Jan 10, 2014 at 2:32 PM, Bert Gunter wrote: > Don's resp

[R] Fwd: Conditional inclusion of an element in an R object

2014-01-10 Thread Santosh
My intention is to include certain columns if they meet certain criteria. For example, if "b" is one of the columns of a1, then keep otherwise don't. HTH.. santosh On Fri, Jan 10, 2014 at 1:01 PM, MacQueen, Don wrote: > Apologies, but all that ifelse() stuff is too hard to

Re: [R] Conditional inclusion of an element in an R object

2014-01-10 Thread Santosh
gth.out = length(ans)) : 'x' is NULL so the result will be NULL a2 <- subset(a1, sel=unlist(lc1)) # this works a3 <- subset(a1, sel=unlist(lc2)) # this doesn't work Is there a way to dynamically include columns in a dataframe? Regards, santosh On Fri, Jan 10, 2014 at 12

[R] Conditional inclusion of an element in an R object

2014-01-10 Thread Santosh
uot;) a2 <- subset(a1, sel=unlist(lc1)) # this works a3 <- subset(a1, sel=unlist(lc2)) # this doesn't Is there a way to dynamically include columns in a dataframe? Regards, santosh [[alternative HTML version deleted]] __ R-help@

Re: [R] read ".slk" file

2013-12-19 Thread Santosh
Dear Rxperts.. Thanks for your response... Will keep you posted. Santosh On Thu, Dec 19, 2013 at 10:06 AM, David Winsemius wrote: > > On Dec 16, 2013, at 3:10 PM, Santosh wrote: > > > Dear Rxperts.. > > > > I recently received a data file with the extension ".sl

[R] read ".slk" file

2013-12-16 Thread Santosh
Dear Rxperts.. I recently received a data file with the extension ".slk". If I save the file as MS Excel file, I am able to read in R without issues. Is it possible to read this ".slk" file without converting into another R-readable data format? Regards, Santosh

[R] Read shortcuts of MS Excel files through R

2013-09-26 Thread Santosh
;Ljava/lang/Object;", "invokeMethod", cl, : java.lang.IllegalArgumentException: Your InputStream was neither an OLE2 stream, nor an OOXML stream Would truly appreciate your suggestions. Regards, Santosh [[alternative HTML version deleted]] __

[R] Trouble with SASxport in R.3.0. under 32-bit and 64-bit Windows (both 7 and Vista)

2013-06-19 Thread Santosh
) library(SASxport) Warning message: package ‘SASxport’ was built under R version 3.0.1 read.xport(fname) Error in `label<-.default`(`*tmp*`, value = c("", "", "", "", "", "", : value must be character vector of length 1 Any sugg

Re: [R] Using tables package - request for help

2013-06-13 Thread Santosh
Please ignore my previous message.I was able to figure out a solution.. here it is.. nlen <- function(x) length(na.omit(x)) tabular(((p=factor(p))*(a=factor(a))+1) ~ (b + c)* ((N=nlen)+mean+sd),data=a) Thanks, Santosh On Thu, Jun 13, 2013 at 4:16 PM, Santosh wrote: > Dear R

[R] Using tables package - request for help

2013-06-13 Thread Santosh
),each=10),id=seq(30), b=round(log(runif(30,-10,20))), c=round(log(runif(30,40,70 tabular(((p=factor(p))*(a=factor(a))+1) ~ (b + c)* ((N=1)+mean+sd),data=a) Thanks so much.. Santosh [[alternative HTML version deleted]] __ R-help@r-project.or

Re: [R] Using Lattice, LatticeExtra - Hide right and top axes in multipanel plots

2013-06-09 Thread Santosh
", ylab="b", main="Overlay of Profiles by Schools and Classes", ) On Sun, Jun 9, 2013 at 5:52 PM, Santosh wrote: > Dear Rxperts, > How do I hide the top and right axes in multiple panel plots? A couple of > examples are provided below.. Would high

[R] Using Lattice, LatticeExtra - Hide right and top axes in multipanel plots

2013-06-09 Thread Santosh
A, line.lty=NA, line.lwd=0, line.alpha=0) panel.xyplot(x=x,y=y,subscripts=subscripts,pch=NA,lwd=1,type="l", col=q2$dcol[subscripts],lty=1,cex=0.7) }, strip=F, # strip=strip.custom(strip.names=T,strip.le

Re: [R] Expression evaluation of Plotting labels containing spaces

2013-06-04 Thread Santosh
Thanks so much!! Would be it be better if in vignette of plotmath, x %~% y and x~~y; likewise, other operations (.e.g., x %*% y, x * y) may be grouped, so that are not missed by a layman like me! - just a thought... Thanks, Santosh On Tue, Jun 4, 2013 at 9:13 PM, David Winsemius wrote

[R] Expression evaluation of Plotting labels containing spaces

2013-06-04 Thread Santosh
x27;'))) plot(1:10,1:10, ylab=parse(text= paste(exc$label[1],' (',exc$units[1],')',sep=''))) Thanks so much! Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https:/

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

2013-05-23 Thread Santosh
y03 svn rev62481 language R version.string R version 3.0.0 (2013-04-03) nickname Masked Marvel Any suggestions are highly welcome! Thanks, Santosh > On Fri, May 3, 2013 at 11:30 AM, Santosh wrote: > Just got it right please ignore the previous posting.

Re: [R] Lattice xyplot multipanels

2013-05-22 Thread Santosh
Dear Rxperts.. Just figured how to add a text at a custom location in panel.groups.. use grid.text(x=unit(value1,"npc"),y=unit(value2,"npc"),label="label content") With this, I hope to stop flogging such a valuable black horse! :) On Wed, May 22, 2013 at 10:

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 >

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-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, 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] 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] 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-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

[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] 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

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

[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

[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

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] 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] 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

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

[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] 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

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

[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] 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. >&

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] 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] 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: >

[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] 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

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

[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] binning by frequency

2012-11-27 Thread Santosh
Thanks for your response. Was wondering if there are any R functions/packages to perform optimal binning of continuous data. Thanks, again. Santosh. On Tue, Nov 27, 2012 at 9:09 AM, Mark Lamias wrote: > You might find the binning function in the sm package helpful here. > > --Ma

[R] Package installation errors

2012-09-06 Thread Santosh
14/rJava_0.9-3.zip' Content type 'application/zip' length 745867 bytes (728 Kb) opened URL downloaded 728 Kb package ‘rJava’ successfully unpacked and MD5 sums checked The downloaded packages are in C:\Users\santosh\AppData\Local\Temp\RtmpsJ5HoF\downloaded_packages > librar

Re: [R] library XML in R version 2.15.1

2012-07-20 Thread Santosh
Thanks for your response! Yes, I uninstalled previous versions this time. Earlier I used to run multiple versions of R without problems. I was finally able to install XML in the Windows Vista R version 2.14.2. I have not been able to install in R 2.15.x versions. Santosh On Fri, Jul 20, 2012 at

Re: [R] library XML in R version 2.15.1

2012-07-20 Thread Santosh
--- santosh On Fri, Jul 20, 2012 at 8:39 PM, arun wrote: > Hi, > > So, you got the same error message for R 2.14.1 and R 2.15? Or is it only > for R 2.15? > > It is always good to install the current version. > > Try this: > install.packages("XML",dependenc

Re: [R] library XML in R version 2.15.1

2012-07-20 Thread Santosh
ersion 2.14.1) > Santosh On Fri, Jul 20, 2012 at 8:16 PM, arun wrote: > HI, > > I have XML library installed in R2.15 and is working fine. I used it only > a few times, it was working. I am using Ubuntu 12.04. > > A.K. > > > > - Original Message - > From: San

[R] library XML in R version 2.15.1

2012-07-20 Thread Santosh
Hello Rxperts.. I have a peculiar situation.. XML library is not available with R2.15.1 whereas I was able to install it with R version 2.13.1. Would highly appreciate your suggestions. I am now trying to see if XML works with previous versions of R. Thanks, Santosh [[alternative HTML

Re: [R] HLOOKUP in R

2012-07-15 Thread santosh
Try ?match Adapt it to your need On Saturday, July 14, 2012 12:55:33 AM UTC+5:30, Silje Nord wrote: > > Hi, > > Is there a function similar to excel's hlookup in R ? > > Thanks, > Silje > > __ > R-help@r-project.org mailing list > https://stat.ethz

Re: [R] Process XML files

2012-06-18 Thread Santosh
Please ignore my previous request for clarification. I was able to resolve my problem using "getNodeSet". Thanks, Santosh On Thu, Jun 14, 2012 at 10:54 AM, Santosh wrote: > Dear Rxperts, > I am back to favoRite! I would need your favoR, please! > > Is there a way to use r

Re: [R] Process XML files

2012-06-14 Thread Santosh
ern="Solid"/><Borders><Border ss:Position="Bottom" ss:LineStyle="Double" ss:Weight="3"/></Borders><Font ss:Size="20"/><NumberFormat ss:Format="hh:mm:ss.000"/>ID1Start*2012-06-14T09:16:16.512* On Fri, Jun

[R] Process XML files

2012-06-06 Thread Santosh
L and SPXML available in S-Plus. Could anyone please share examples of reading an xml file and save the contents in a data frame? Are there Splus equivalents of "getNodeSet", "xmlSApply" and "xmlValue"? Thanks so much! Santosh

[R] Splus equivalent of reshape in R

2012-05-15 Thread Santosh
17 3623 3813 3244.6 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/posting-

Re: [R] number of Excel worksheets

2012-05-07 Thread Santosh
get the total number of "tabs" (aka pages) in an MS Excel workbook. Thanks, Santosh On Fri, Feb 5, 2010 at 6:24 PM, Kevin Wright wrote: > Sorry, I thought the code was clear, but probably not. As far as I know, > the "gdata" package requires perl. My read.xls functi

Re: [R] how to cumulate up times

2012-04-24 Thread Santosh
urs Thanks so much! Santosh On Tue, Apr 24, 2012 at 9:15 AM, René Mayer wrote: > Thanks Michael, > cumsum - yes of course! > Regards, > René > > > Zitat von "R. Michael Weylandt" : > > > ? cumsum >> >> something like >> >> library(

[R] apply transformation

2012-01-13 Thread santosh
c("Feb", "Jan", "Mar"), class = "factor"), X2006 = c(0.0204, 0.0145, 0.0027 ), X2006.Lbl = structure(c(3L, 2L, 1L), .Label = c("'0.27%'", "'1.45%'", "'2.04%'"), class = "

[R] Plot and polygon in log scale

2011-12-02 Thread Santosh
(1:10)^2*20,log="y") polygon(c(3:7,7:3),c((3:7)^2*20,c(7:3)^2*10),col='grey',angle=45,dens=30) Warning message: In polygon.fullhatch(xy$x[start:(end - 1)], xy$y[start:(end - 1)], : cannot hatch with logarithmic scale active Regards, S

Re: [R] Strplit code

2011-09-20 Thread Santosh
Dear R- Splus experts, In R, I have frequently used do.call with strsplit. and I have a hard time with Splus.. any suggestions? for example, the R code below: do.call(rbind,strsplit(paste(letters[1:10],c(1:10))," ")) Thanks so much, Santosh On Fri, Dec 5, 2008 at 8:51 AM, William Dun

Re: [R] how to subtract one string from another in R

2011-06-18 Thread Santosh Srinivas
Hello Vijayan, Depending on your end goal the following could possibly help substr(string,nchar(string1)+1, nchar(string)) or strsplit(string," ") HTH, Santosh On Sat, Jun 18, 2011 at 2:06 PM, Vijayan Padmanabhan wrote: > Dear R Group > Here is what i am trying to do.. bu

Re: [R] R program writing standard/practices

2011-06-15 Thread Santosh
able! Would highly appreciate your ideas on ways to improving code quality, easier code verification under resource crunch situations. Regards, Santosh On Fri, Jun 10, 2011 at 10:04 AM, vioravis wrote: > Check this out: > > http://www1.maths.lth.se/help/R/RCC/ > > -- > Vi

  1   2   3   >