Re: [R] installing "rgl" package

2017-11-26 Thread Santosh
’ * 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 <santosh2...@gmail.com> wrote: > Hi Duncan, > Thanks for the suggestions. How do I uninstall mesa related installations? > Do I need t

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 <murdoch.dun...@gmail.com> wrote: > On 24/11/2017 5:45 PM, Dirk

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 <murdoch.dun...@gma

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 <murdoch.dun...@gmail.com> wrote: > On 24/11/2017 2:30 PM, Santosh wrote: > >> Hi All, Duncan, Rolf, Ist

Re: [R] installing "rgl" package

2017-11-24 Thread Santosh
uot; | #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 still

[R] installing "rgl" package

2017-11-23 Thread Santosh
llowing 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]] __ R-help

Re: [R] help needed for RInside with Qt

2017-06-29 Thread Santosh Kumar
>Cheers, > >Bert > > > > > >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 ) > &g

[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 <r.tur...@auckland.ac.nz> wrote: > > On 19/04/17 20:01, peter dalgaard wrote: > > I believe that the list maintainer is

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

[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 <santosh2...@gmail.com> wrote: > Thanks so much for your suggestions!

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 <mattjdo...@gmail.com> wrote: > Thanks Bill for cc. > > Santosh, > > I'm almost certain you don't have package bit64 installed. When you do it > works fine

[R] fread transforms numbers

2017-03-22 Thread Santosh
ws, 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. Best regards

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

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

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

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 <murdoch.dun...@gmail.com> wr

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

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 <lig...@statistik.tu-dortmund.de >

[R] Testing installed package of rJava in Linux

2016-03-08 Thread Santosh
ll -> .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, see https://s

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

2016-02-24 Thread Santosh
Error" Anyway.. thanks for your help/response. again. Regards, Santosh On Wed, Feb 24, 2016 at 12:52 PM, Ista Zahn <istaz...@gmail.com> wrote: > On Wed, Feb 24, 2016 at 3:47 PM, Rolf Turner <r.tur...@auckland.ac.nz> > wrote: > > > > (1) Do not post in ht

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

2016-02-24 Thread Santosh
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.ethz.ch/mail

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 <gerg...@snowl.net> wrote: > On Mon, Feb 22, 2016 at 1:55 PM, Duncan Murdoch >

Re: [R] Tables, knitr markdown

2016-02-22 Thread Santosh
ine \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 <santosh2...@gmail.com> wrote: > Dear Rxperts.. > I am able to generate tables using Tables R package.. > However, when I have been unsuccessful in using ka

[R] Tables, knitr markdown

2016-02-22 Thread Santosh
. 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 [[al

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
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 : .onLoad failed

[R] Remote Connection

2015-06-29 Thread Santosh Maskar
to 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
) 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 To: r-help Subject: [R] Convert csv to xpt

[R] Convert csv to xpt file in R?

2015-05-06 Thread Santosh
of default must same as x Any suggestions/tips are welcome.. Thanks and regards Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help

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

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 dulca...@bigpond.com wrote: Hi Santosh for more control on size and position ?lattice::print.trellis Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England

Re: [R] plot a list of trellis objects

2014-02-18 Thread Santosh
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 fr...@vestas.comwrote: How about lattice.plots - list(xyplot(rnorm(10) ~ 1:10, type = b), xyplot(rnorm(10) ~ 1:10, type

Re: [R] plot a list of trellis objects

2014-02-18 Thread Santosh
, 2014 at 11:59 AM, Santosh santosh2...@gmail.com 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); I could

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 fr...@vestas.comwrote: Sorry this should of course be for all

[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

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

2014-01-10 Thread Santosh
(a1)),b,NULL)),C3=R) lc2 - list(C1 = P,C2 = ifelse(is.element(Q,names(a1)),Q,ifelse(is.element(b,names(a1)),b,NULL)),C3=Ra) 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

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

2014-01-10 Thread Santosh
in a dataframe? Regards, santosh On Fri, Jan 10, 2014 at 12:45 PM, Santosh santosh2...@gmail.com wrote: Dear Rxperts... I would like to conditionally include an element (as a column) in a dataframe. Please see the sample code below: a1 - data.frame(P=rep(1,10),Qr=LETTERS[1:10],b=letters[1:10

[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 macque...@llnl.gov wrote: Apologies, but all that ifelse() stuff is too hard

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

2014-01-10 Thread Santosh
][[(]%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 gunter.ber...@gene.com wrote: Don's response seems apropos to me. Do you understanding indexing, i.e. the [ operator

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 dwinsem...@comcast.netwrote: On Dec 16, 2013, at 3:10 PM, Santosh wrote: Dear Rxperts.. I recently received a data file with the extension .slk. If I save

[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 [[alternative HTML version

[R] Read shortcuts of MS Excel files through R

2013-09-26 Thread Santosh
stream, nor an OOXML stream Would truly appreciate your suggestions. 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

[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 suggestions/assistance is highly welcome! Thanks so much.. Santosh [[alternative

[R] Using tables package - request for help

2013-06-13 Thread Santosh
=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.org mailing list https://stat.ethz.ch/mailman/listinfo/r

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 santosh2...@gmail.com wrote

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

2013-06-09 Thread Santosh
=list(cex=1.7,font=2),bg=0, var.name=School), xlab=t, ylab=b, main=Overlay of Profiles by Schools and Classes, ) Thanks so much, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

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

2013-06-09 Thread Santosh
, ) On Sun, Jun 9, 2013 at 5:52 PM, Santosh santosh2...@gmail.com wrote: Dear Rxperts, How do I hide the top and right axes in multiple panel plots? A couple of examples are provided below.. Would highly appreciate appreciate your assistance.. #Example 1 library(latticeExtra) xyplot((1:200

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

2013-06-05 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 dwinsem

[R] Expression evaluation of Plotting labels containing spaces

2013-06-04 Thread Santosh
(exc$label[1],' (',exc$units[1],')',sep=''))) 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

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

2013-05-23 Thread Santosh
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 santosh2...@gmail.com wrote: Just got it right please ignore the previous posting... It worked! Prof Ripley made my day

Re: [R] Lattice xyplot multipanels

2013-05-22 Thread Santosh
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 santosh2...@gmail.com wrote: Dear Rxperts, Sorry about that..forgot to update the numeric part of the multipanel group indicator... Below

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:35 AM, Santosh santosh2...@gmail.com

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 santosh2

Re: [R] Lattice xyplot multipanels

2013-05-21 Thread Santosh
= 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 Profiles by Schools and Classes, ) On Tue, May 21, 2013 at 3:00 PM, Santosh

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] Create and read symbolic links in Windows

2013-05-03 Thread Santosh
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 rip...@stats.ox.ac.ukwrote: On 02/05/2013 19:50, Santosh wrote: Dear Rxperts.. Got a couple of quick q's.. I am using R in windows environment

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

2013-05-03 Thread Santosh
location. Still confuse with the error msges... Thanks, Santosh On Thu, May 2, 2013 at 11:42 PM, Prof Brian Ripley rip...@stats.ox.ac.ukwrote: On 03/05/2013 07:33, Santosh wrote: Thanks for the suggestions. In windows (Windows 7, 64-bit), I couldn't get file.symlink to work, but file.link did

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 santosh2...@gmail.com wrote: Thanks for your suggestion... I upgraded to R.3.0.0 in 64-bit Windows 7 environment.. This time when I use

Re: [R] Lattice xyplot multipanels

2013-05-02 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 santosh2...@gmail.com wrote: Sorry about the word brackets.. Yes, I meant

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

[R] Lattice xyplot multipanels

2013-05-01 Thread Santosh
! 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(q$grp, levels=unique(q$grp)) q$dcol - unlist(sapply(q$D,function(x) switch(x,D1

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 dwinsem...@comcast.netwrote: On May

[R] Grouped spaghetti plots in multipanel graphs

2013-04-30 Thread Santosh
by Schools and Classes, ) Thanks so much.. 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

[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
: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 way customization can be done in Tinn-R? Thanks and regards, Santosh [[alternative HTML

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

2013-04-24 Thread Santosh
svn://scm.r-forge.r-project.org/svnroot/tables/ I get the following error message: C:\Users\santosh\tempsvn 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' svn: E730060: Can't connect

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 santosh2...@gmail.com wrote: Thanks so much.. I

[R] Hmisc pdflatex

2013-04-22 Thread Santosh
' 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 messages: 1: running command 'C:\Windows\system32\cmd.exe /c cd C:\Users\santosh\AppData\Local\Temp\RtmpsZ3tP9 latex -interaction

Re: [R] Hmisc pdflatex

2013-04-22 Thread Santosh
to make latex point to the correct folder? I have similar problems with other functions like texi2dvi. owd - getwd() setwd(../Tables) latex(a1,output=test,file=t1.tex,here=T) This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9 64-bit) entering extended mode (C:/Users/santosh/AppData/Local

Re: [R] Hmisc pdflatex

2013-04-22 Thread Santosh
...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 the error message: Windows API error 2: The system cannot find the file specified: Data: C:\Users\santosh\ApptData\Local\Temp

[R] Tables package - remove NAs and NaN

2013-04-22 Thread Santosh
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.html and provide commented, minimal

Re: [R] creating dummy variables

2013-04-21 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 rolf.tur...@xtra.co.nz wrote: On 21/04/13 10:56, Eva Prieto Castro wrote:

Re: [R] NAMESPACE and imports

2013-04-21 Thread Santosh
! Thanks, Santosh On Fri, Apr 19, 2013 at 11:30 AM, Prof Brian Ripley rip...@stats.ox.ac.ukwrote: 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. Sort of. It actually accepts two

[R] tables package - error message of duplicate values

2013-04-19 Thread Santosh
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 [[alternative HTML version deleted

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 dwinsem...@comcast.netwrote: On Apr 19, 2013, at 1:29 PM, Santosh

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

2013-04-19 Thread Santosh
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 dwinsem...@comcast.netwrote: On Apr 19, 2013, at 2:03 PM, Santosh wrote: Rounding

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

2013-03-26 Thread Santosh
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-project.org

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 dcarl...@tamu.edu wrote: Package xtable will produce html output

[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 mlam...@yahoo.com wrote: You might find the binning function in the sm package helpful here

[R] Package installation errors

2012-09-06 Thread Santosh
unpacked and MD5 sums checked The downloaded packages are in C:\Users\santosh\AppData\Local\Temp\RtmpsJ5HoF\downloaded_packages library(rJava) Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry

[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] library XML in R version 2.15.1

2012-07-20 Thread Santosh
Thanks for your response. I tried R.2.15 also and just tried R.14.1 in 32-bit Windows Vista. Below is the error message I received. install.packages(XML) Warning message: In getDependencies(pkgs, dependencies, available, lib) : package ‘XML’ is not available (for R version 2.14.1) Santosh

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 smartpink...@yahoo.com 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,dependencies=TRUE) #Warning message

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

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

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 santosh2...@gmail.com wrote: Dear Rxperts, I am back to favoRite! I would need your favoR, please! Is there a way to use read

Re: [R] Process XML files

2012-06-14 Thread Santosh
=DateTime2012-06-14T09:16:16.512/Data*/Cell/Row/Table /Worksheet/Workbook On Fri, Jun 8, 2012 at 8:08 AM, Uwe Ligges lig...@statistik.tu-dortmund.dewrote: On 06.06.2012 22:44, Santosh wrote: Hello experts, Sorry for posting the SPlus related question here.. I have not found any solution

[R] Process XML files

2012-06-06 Thread Santosh
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 [[alternative HTML version deleted

[R] Splus equivalent of reshape in R

2012-05-15 Thread Santosh
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-guide.html

Re: [R] number of Excel worksheets

2012-05-07 Thread Santosh
of tabs (aka pages) in an MS Excel workbook. Thanks, Santosh On Fri, Feb 5, 2010 at 6:24 PM, Kevin Wright kw.s...@gmail.com wrote: Sorry, I thought the code was clear, but probably not. As far as I know, the gdata package requires perl. My read.xls function requires RODBC. If you don't have

Re: [R] how to cumulate up times

2012-04-24 Thread Santosh
Hello .. A really simple question for you. for some reason I am not getting it right.. How do I add time (in specified units) to a column of observed date/time (say a date-time in ISO 8601 format). For example, 2007-12-05T09:45:00 + 3 days 2007-13-05T09:45:00 + 3 hours Thanks so much! Santosh

[R] apply transformation

2012-01-13 Thread santosh
, 0.0122), X2007.Lbl = structure(1:3, .Label = c('0.65%', '0.82%', '1.22%'), class = factor)), .Names = c(Year, X2006, X2006.Lbl, X2007, X2007.Lbl), row.names = c(NA, -3L), class = data.frame) Please advise. Santosh __ R-help@r-project.org mailing list

[R] Plot and polygon in log scale

2011-12-02 Thread Santosh
: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, Santosh [[alternative HTML version deleted

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

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 padmanabhan.vija...@gmail.com wrote: Dear R Group Here is what i am trying

Re: [R] R program writing standard/practices

2011-06-15 Thread Santosh
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 viora...@gmail.com wrote: Check this out: http://www1.maths.lth.se/help/R/RCC/ -- View this message in context: http://r.789695.n4

  1   2   3   >