Re: [R] qqline error: Error in sort.list(x, partial = unique(c(lo, hi))) : 'x' must be atomic for 'sort.list' Have you called 'sort' on a list?

2010-08-06 Thread Benjamin Caldwell
Woops, that should read e.g. >> qqnorm.lme(modelincrF) Error: could not find function "qqnorm.lme" On Fri, Aug 6, 2010 at 12:47 PM, Benjamin Caldwell wrote: > Okay, yeah, so he're the deal - nlme is loaded, did the library(nlme) thing > no problem. When I run > >??qqnorm.lme > the file comes up

Re: [R] qqline error: Error in sort.list(x, partial = unique(c(lo, hi))) : 'x' must be atomic for 'sort.list' Have you called 'sort' on a list?

2010-08-06 Thread Benjamin Caldwell
Oh, and now I see the call is qqnorm, not qqnorm.lme. Guess I needed lunch. Ben Caldwell On Fri, Aug 6, 2010 at 1:03 PM, Benjamin Caldwell wrote: > Woops, that should read > e.g. > >> qqnorm.lme(modelincrF) > Error: could not find function "qqnorm.lme" > > > On Fri, Aug 6, 2010 at 12:47 PM, Benja

Re: [R] qqline error: Error in sort.list(x, partial = unique(c(lo, hi))) : 'x' must be atomic for 'sort.list' Have you called 'sort' on a list?

2010-08-06 Thread David Winsemius
On Aug 6, 2010, at 4:03 PM, Benjamin Caldwell wrote: Woops, that should read e.g. >> qqnorm.lme(modelincrF) Error: could not find function "qqnorm.lme" You said you were getting expected results with: qqnorm(modelincrF) I was pointing out that the R methods dispatching was actually applyi

Re: [R] qqline error: Error in sort.list(x, partial = unique(c(lo, hi))) : 'x' must be atomic for 'sort.list' Have you called 'sort' on a list?

2010-08-06 Thread Benjamin Caldwell
All right, thanks. On Fri, Aug 6, 2010 at 1:13 PM, David Winsemius wrote: > > On Aug 6, 2010, at 4:03 PM, Benjamin Caldwell wrote: > > Woops, that should read >> e.g. >> >> qqnorm.lme(modelincrF) >> Error: could not find function "qqnorm.lme" >> > > You said you were getting expected results wi

Re: [R] image plot but data not on grid.

2010-08-06 Thread Hadley Wickham
On Fri, Aug 6, 2010 at 9:24 AM, W Eryk Wolski wrote: > Hi, > > Would like to make an image > however the values in z are not on an uniform grid. > > Have a dataset with > length(x) == length(y) == length(z) > x[1],y[1] gives the position of z[1] > > and would like to encode value of z by a color.

Re: [R] Signals and Noise

2010-08-06 Thread David Winsemius
On Aug 6, 2010, at 3:56 PM, TGS wrote: Is there a reference page indicating which packages or functions are available in R for the filed of electrical engineering? Have you seen?: http://cran.r-project.org/web/views/TimeSeries.html (I was surprised that tuneR was not mentioned there.)

Re: [R] r sig for tcl/tk?

2010-08-06 Thread Liviu Andronic
On Fri, 6 Aug 2010 14:51:59 -0500 Erin Hodgess wrote: > Dear R People: > > Is there an R sig for Tcl/Tk, please? > There is r-sig-gui that should fit most tcltk questions. Liviu __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listi

[R] brew equivalent of "R CMD Sweave"

2010-08-06 Thread Liviu Andronic
Dear all Is there an equivalent of "R CMD Sweave" for brew [1] documents? Something in the lines of "R CMD brew"? Can R be configured to parse brew documents from the commandline, without opening an interactive R session and issuing the following? require(brew) brew("featurefull.brew") I would li

[R] Latex errors when checking package

2010-08-06 Thread Christian Hennig
Dear listers, I just run R CMD check on an update of one of my packages. All seems fine but after having gone through all the Rd-file and example checking and so on, I get the following kind of errors: LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors f

Re: [R] Running Sweave directly from Windows command line

2010-08-06 Thread Gabor Grothendieck
On Fri, Aug 6, 2010 at 3:39 PM, wrote: > Hello everybody out there using R, > When I try to run the command "R CMD Sweave file.Rnw" (R Version 2.11.1) on > the command line of Windows 7, an error message tells me that the command > "sh" is not known. > I suppose that R is trying to use a shell

[R] converting "if not os.path.exists(afile): continue" to R

2010-08-06 Thread Hyunchul Kim
Hi, all How to convert following simple python script to R ? if not os.path.exists(targetfile): continue Thanks in advance, Hyunchul [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/l

Re: [R] converting "if not os.path.exists(afile): continue" to R

2010-08-06 Thread David Winsemius
On Aug 6, 2010, at 5:59 PM, Hyunchul Kim wrote: Hi, all How to convert following simple python script to R ? if not os.path.exists(targetfile): continue Thanks in advance, > Sys.glob("/Users/davidwinsemius/Downloads/") [1] "/Users/davidwinsemius/Downloads/" > Sys.glob("/Users/davidwinse

Re: [R] brew equivalent of "R CMD Sweave"

2010-08-06 Thread Duncan Murdoch
On 06/08/2010 5:23 PM, Liviu Andronic wrote: Dear all Is there an equivalent of "R CMD Sweave" for brew [1] documents? Something in the lines of "R CMD brew"? Can R be configured to parse brew documents from the commandline, without opening an interactive R session and issuing the following? req

Re: [R] brew equivalent of "R CMD Sweave"

2010-08-06 Thread Liviu Andronic
Dear Duncan On Fri, 06 Aug 2010 18:46:55 -0400 Duncan Murdoch wrote: > You can run a single R command from the command line using the -e > option, so > > R -e "brew::brew('featurefull.brew')" > > (or some variation on that, depending on how your shell handles > quotes) will run that one command

Re: [R] brew equivalent of "R CMD Sweave"

2010-08-06 Thread Duncan Murdoch
On 06/08/2010 7:10 PM, Liviu Andronic wrote: Dear Duncan On Fri, 06 Aug 2010 18:46:55 -0400 Duncan Murdoch wrote: You can run a single R command from the command line using the -e option, so R -e "brew::brew('featurefull.brew')" (or some variation on that, depending on how your shell handles

[R] Where is Graphic:Devie 2 ?

2010-08-06 Thread Stephen Liu
Hi folks, On console - RGUI (64 bit) -> Windows I can't find; R Graphic:Device 2 (ACTIVE) Only "R Console" is there. Please advise how to add it? TIA B.R. SL __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEA

Re: [R] Latex errors when checking package

2010-08-06 Thread Ben Bolker
Christian Hennig stats.ucl.ac.uk> writes: > LaTeX errors when creating PDF version. > This typically indicates Rd problems. > LaTeX errors found: > ! Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not > found I'm guessing you're running Ubuntu. If so,

Re: [R] converting "if not os.path.exists(afile): continue" to R

2010-08-06 Thread Henrique Dallazuanna
See ?file.exists ?file.info On Fri, Aug 6, 2010 at 6:59 PM, Hyunchul Kim wrote: > Hi, all > > How to convert following simple python script to R ? > > if not os.path.exists(targetfile): >continue > > Thanks in advance, > > Hyunchul > >[[alternative HTML version deleted]] > > ___

Re: [R] R script doesn't load libraries when called from cron

2010-08-06 Thread zerdna
Actually, i think i figured it out. My bad, i am inexperienced with cron. When it runs, it doesn't have the environment. Once i wrapped my R script into shell script that sourced the .bashrc file, i was back in business. Maybe there is more elegant solution, without additional shell script -- poss

[R] converting "if not os.path.exists(afile ): continue" to R

2010-08-06 Thread Hyunchul Kim
Hi, all How to convert following simple python script to R ? if not os.path.exists(targetfile): continue Thanks in advance, Hyunchul sundol313´ÔÀÇ ºí·Î±× ¾È³çÇϼ¼¿ä. [[alternative HTML version deleted]] __ R-help@r-p

Re: [R] Odp: Pausing script to allow user input from keyboard.

2010-08-06 Thread Michael Bedward
I'm having problems with your method Petr. I seem to get an additional prompt. Example... f <- function() { cat("\n", "Enter a string:", "\n") s <- scan(n=1) cat("\n", "You entered", s, "\n") } Running f() produces... Enter a string: 1: blah 1: Error in scan(file, what, nmax, sep, dec, q

[R] R: Backward elimination in svyglm function in R

2010-08-06 Thread aline uwimana
stepwise backward elimination in R is possible if we use the syvglm funtion in regression logistique? thanx -- Forwarded message -- From: aline uwimana Date: 2010/8/6 Subject: R:Backward elimination in svyglm function in R To: r-help@r-project.org Dear all, someone knows how t

Re: [R] 64-bit R on 64-bit Windows box... Still not enough memory?!

2010-08-06 Thread noclue_
sorry I opened a previous R version. Here is my 64-bit R session - > .Machine$sizeof.pointer [1] 8 -- View this message in context: http://r.789695.n4.nabble.com/64-bit-R-on-64-bit-Windows-box-Still-not-enough-memory-tp2315742p2316970.html Sent from the R help mailing list archive at Nabbl

[R] R: Confidence Intervals for logistic regression

2010-08-06 Thread Guazzetti Stefano
a closer look to the help on predict.glm will reveal that the function accepts a 'type' argument. In you case 'type = response' will give you the results in probabilities (that it seems to be what you are looking for). There also is an example on use of the 'type' argument at the end of the page.

Re: [R] apply family functions

2010-08-06 Thread Steven Kang
ini <- as.Date("2010/1/1", "%Y/%m/%d") # Generate arbitrary data frame consisting of date values oc <- data.frame(Open = seq(ini, ini + 6, 1), Close = seq(ini + 365, ini + 365 + 6, 1), Open1 = seq(ini + 365*2, ini + 365*2 + 6, 1), Close1 = seq(ini + 365*3, ini + 365*3 + 6, 1), Open2 = seq(ini + 365

<    1   2