[R] install packages in Windows Vista

2010-07-28 Thread Santosh
:/Users/santosh/Documents/R/win-library/2.11 . install.packages(C:/Users/santosh/Downloads/xpose4_4.2.1_win32.zip,repos=NULL,lib=C:/Program Files/R/R-2.11.1/library) Error in gzfile(file, r) : cannot open the connection In addition: Warning message: In gzfile(file, r) : cannot open compressed

[R] package xpose4 in Vista - Update

2010-07-28 Thread Santosh
assistance in debugging installation of xpose 4..2.1 with R.2.11.1 Thanks again.. -Santosh On Wed, Jul 28, 2010 at 12:46 PM, Santosh santosh2...@gmail.com wrote: Dear R experts... I would really appreciate your suggestions in installing a package in Windows Vista... I am unable to install a package

Re: [R] package xpose4 in Vista - Update

2010-07-30 Thread Santosh
Thanks for your response. How do I install xpose4 package with R.2.11.1? -Santosh 2010/7/29 Uwe Ligges lig...@statistik.tu-dortmund.de The binary package you downloaded is a binary for R 2.11.x. Since it is a package bndle, it cannot work on R-2.11.x anymore: Package bundles are no longer

[R] xyplot - help please

2010-09-30 Thread Santosh
Dear R Gurus! I would like to generate a multi-panel plot with grouped and reference lines in each panel .. Example dataset and code are provide below. Where am I getting wrong in the code below? Any assistance will be highly appreciated. Thanks so much! -Santosh start dataset --- X,l

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

[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/listinfo/r

Re: [R] histogram

2010-04-15 Thread Santosh
) }, strip=strip.custom( strip.names=F, strip.levels=T, par.strip.text=list(cex=0.75)), ) Thanks again, Santosh On Thu, Apr 15, 2010 at 12:41 AM, Paul Hiemstra p.hiems...@geo.uu.nlwrote: Santosh

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 p.hiems...@geo.uu.nl wrote: Santosh wrote: Thanks for your email... yes, I had tried that bw thing.. for some reason it does not seem to work.. could not figure out where I am wrong

Re: [R] Lattice Groups

2010-04-29 Thread Santosh
,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(space=right,text=c(A,H),points=T)) Thanks, Santosh _ On Wed, Apr 8, 2009 at 12:07 PM, Deepayan Sarkar deepayan.sar

[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
=list(space=right,text=c(A,H),points=T)) Thanks, Santosh On Thu, Apr 29, 2010 at 1:58 PM, RICHARD M. HEIBERGER r...@temple.eduwrote: Santosh, continuing with your example, I recommend several functions in the HH package. ## install.packages(HH) ## needed once, if you don't already have

[R] Controlling panel.text

2010-05-03 Thread Santosh
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 provide commented, minimal, self

[R] subset or condition as argument to a function

2009-11-20 Thread Santosh
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 PLEASE do read the posting guide http

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

2009-11-20 Thread Santosh
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 santosh2...@gmail.com wrote: Dear Rxperts! I was wondering if it is possible to write a function which can take

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

2009-12-01 Thread Santosh
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, Santosh On Mon, Nov 23, 2009 at 6:38 PM, Santosh santosh2...@gmail.com wrote: Thanks... I would try it out.. -santosh On Sat, Nov

[R] Statistical question and implementation

2009-12-10 Thread Santosh
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 deleted

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 auguie

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

2009-12-31 Thread Santosh
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 [[alternative HTML version deleted

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

2010-01-04 Thread Santosh
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 jholt...@gmail.com wrote: I am not too sure if this is what you are after, but I just created a new factor

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 Thanks, Santosh On Mon, Jan

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

2010-01-05 Thread Santosh
), data=dat, groups=gp1, allow.multiple=T, panel=panel.superpose, distribute.type=T, type=c(b,l,l), par.settings=pset, strip=strip.custom(strip.names=F,strip.levels=T)) Thanks.. Santosh On Mon, Jan 4, 2010 at 11:16 PM, Dennis Murphy djmu

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 fe...@nfrac.org wrote: You should reshape the data into a long format, and an easy way to do

[R] Barplot/Histogram (lattice)

2010-01-28 Thread Santosh
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.ch/mailman

Re: [R] lattice key inside panel

2010-02-02 Thread Santosh
, 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, self

[R] Fwd: lattice key inside panel

2010-02-02 Thread Santosh
(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/posting-guide.html

Re: [R] lattice key inside panel

2010-02-03 Thread Santosh
))) Your assistance is very highly appreciated. Thanks Santosh On Wed, Feb 3, 2010 at 1:16 AM, Deepayan Sarkar deepayan.sar...@gmail.comwrote: On Wed, Feb 3, 2010 at 10:50 AM, Santosh santosh2...@gmail.com wrote: Dear R-experts.. I am trying to generate legend inside panels of lattice barplots

[R] Boxplots: side-by-side

2009-06-24 Thread Santosh
, 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, self

[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
(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 santosh2...@gmail.com wrote: Hi R-users, Was wondering if there is a way to quickly compute correlations between continuous variables grouped

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

2009-07-15 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 santosh2...@gmail.com wrote: Dear R-users.. I hope the following scenario is more explanatory of my question.. Continuous

[R] locating rcmd.exe through a batch script

2009-05-01 Thread Santosh
\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]] __ R-help@r-project.org mailing list https

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

2009-05-01 Thread Santosh
are not supported: skipping On Fri, May 1, 2009 at 3:51 PM, Santosh santosh2...@gmail.com 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 |findstr /I 2.8.1 how do I implement

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

2009-06-05 Thread Santosh
) 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.. Regards, Santosh

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

2009-06-06 Thread Santosh
, 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 Ripley rip

[R] which.na

2009-03-19 Thread Santosh
Hi R- users I was wondering if there is any function equivalent to which.na used in S+? Thanks much in advance! Regards, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

[R] using xyplot

2009-03-22 Thread Santosh
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 deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] Binning

2009-03-30 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
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 the posting guide http://www.R

[R] strptime and strftime

2008-10-29 Thread Santosh
Dear R experts.. I am trying to understand what exactly strptime and strftime do... Where can I look for the detailed notes on these two functions? In addition, how POSIX functions like POSIXct and POSIXlt are used in these functions? Regards, Santosh [[alternative HTML version deleted

[R] extension of ftable

2009-01-22 Thread Santosh
362 Thanks much in advance, 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

[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
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 jholt...@gmail.com wrote: How do you want to extract the data? You can use 'readLines' to read

[R] using filter while Reading files -

2009-09-14 Thread Santosh
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-project.org mailing list

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

Re: [R] using filter while Reading files -

2009-09-16 Thread Santosh
T3 T4 T5 0 3.68000E+01 1.41660E+03 4.54000E+03 2.89000E+01 4.9E+01 56 3.67870E+01 5.46260E+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

[R] Re-order columns

2009-09-19 Thread Santosh
) pcols - c(names(x2)[x3$thix],x3$oi1$cnm) x4 - x2[,match(c(setdiff(names(x2),pcols),pcols),names(x2))] Thanks a TON Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

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

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 ggrothendi...@gmail.com wrote: Try this: junk - sapply(aa,function(x) print(histogram(x

Re: [R] sapply, lattice functions

2010-03-21 Thread Santosh
,...) panel.abline(v=c(quantile(as.vector(x1),prob=lqp,na.rm = T),vs), col=c(blue,blue,dark green),lwd=2,lty=c(2,2,1))}, strip=strip.custom( strip.names=F, strip.levels=T) ) Thanks so much for your help! Santosh On Sat, Mar 20, 2010 at 10:56 AM, Sundar Dorai-Raj sdorai

[R] Selecting data from list object

2011-04-07 Thread santosh
)) I extracted my data like this: getDate - function(x)(unlist(x[[1]])) unlist(lapply(d, getDate)) [1] 20110405 20110405 20110405 20110405 20110405 20110405 Isn't there an easier way to do this? Thanks, Santosh __ R-help@r-project.org mailing list

[R] a bug in write.csv?

2011-04-08 Thread Santosh
Dear Rxperts! A simple example where write.csv does not seem to accept user specified arguments.. Why? write.csv(t(1:10),./te1.csv,quo=F,col.names=F) Warning message: In write.csv(t(1:10), ./te1.csv, quo = F, col.names = F) : attempt to set 'col.names' ignored However, write.table does

[R] rownames in an apply function

2011-04-19 Thread santosh
Dear Group, I am doing an apply function on a zoo object. I need the rownames to be passed to the function. Any suggestions on how to accomplish this? Here is the code I am using tmp - structure(c(611.55, 611.55, 611.55, 611.55, 611.55, 520, 520, 520, 520, 520, 425, 425, 425, 432.2, 432.2, 337,

Re: [R] rownames in an apply function

2011-04-19 Thread santosh
Thanks David. Is there a way of explicitly passing the rowname since I need it in the function. On Apr 19, 4:19 pm, David Winsemius dwinsem...@comcast.net wrote: On Apr 19, 2011, at 6:59 AM, santosh wrote: Dear Group, I am doing an apply function on a zoo object. I need

[R] cut histogram

2011-04-19 Thread Santosh
, 6.90,29.91,9.93,30.95,6.88,7.89,31.97,31.98,3.92,7.91,31.72,6.83,29.88,29.80,29.81,27.90,32.94,28.93,28.97,7.83,28.76,28.77,6.98,34.01,10.97) hist(x1,brea=200), # arbitrarily chosen high number of breakpoints Would highly appreciate your thoughts/suggestions... Thanks so much Santosh [[alternative HTML version deleted

[R] Allocation of memory to a data frame

2011-04-20 Thread santosh
Hello gRoup, A while back I was advised that overallocating an object and filling it up is better than rbind. I am trying to optimize some code. I have the following object (empty which I know in advance). Is there an easy to create an empty data frame with 100,000 empty rows based on the

[R] sub-matrix block size

2011-04-26 Thread Santosh
) Thanks 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

Re: [R] sub-matrix block size

2011-04-27 Thread Santosh
Thanks, David! That is another interesting perspective to (sub/super) diagonal story! For now I was looking only at block sizes of lower triangle submatrices as Dennis suggested. Regards, Santosh On Wed, Apr 27, 2011 at 5:57 AM, David Winsemius dwinsem...@comcast.netwrote: On Apr 27, 2011

Re: [R] sub-matrix block size

2011-04-29 Thread Santosh
in this vector are the TRUE sizes of submatrices (zero is inserted to separate contiguous blocks of same size) Regards, Santosh On Wed, Apr 27, 2011 at 6:41 AM, Santosh santosh2...@gmail.com wrote: Thanks, David! That is another interesting perspective to (sub/super) diagonal story! For now I

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] which operating system + computer specifications lead to the best performance for R?

2011-01-22 Thread santosh
is selected, and if that was for an installation of both, will use 32-bit R. On Jan 23, 7:56 am, Joshua Wiley jwiley.ps...@gmail.com wrote: On Sat, Jan 22, 2011 at 6:37 PM, Santosh Srinivas santosh.srini...@gmail.com wrote: Hi Marc, I've exactly the same question and it looks like most

[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

[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] Statistics related question...compute RSE

2011-05-31 Thread Santosh
Dear Rxperts.. Is there a way to calculate RSE (relative standard error) of a %CV value if given a mean and its %CV? As an approximation, %CV = sqrt(variance). Thanks, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org

[R] print overlaid plots to a pdf file.. - Help please...

2011-06-02 Thread Santosh
of each other. Would highly appreciate your suggestions.. Thanks, Santosh p1a - bwplot(Y~X,notch=T,data=d3,subset=TYPE==3,ylab='',scales=list(relation='free',alternating=1),do.out=F) p2a - stripplot(Y~X,notch=T,data=d3,subset=TYPE==3,as.table=T,ylab='',col='gray50',cex=0.5

[R] R program writing standard/practices

2011-06-10 Thread Santosh
, are there any beacon lights that could help navigate through lines of code, programming styles, understand the scope of a program, identify gaps etc? Thanks, Santosh [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

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

[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

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

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

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

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

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

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

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

[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

  1   2   3   >