[R] How to install packages from GitHubb

2017-10-29 Thread Patrick Connolly
ent for install_github()? TIA -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_)

[R] Final models from caret's train function

2017-10-31 Thread Patrick Connolly
lways be true, so is that saying anything? Or is it a case of a model for prediction being useless for inference? > version _ platform x86_64-pc-linux-gnu arch x86_64 os

[R] Using bartMachine with the caret package

2017-11-24 Thread Patrick Connolly
he 'recipe' method. All the specific links in the help files were dead. Any suggestions welcome. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_

[R] Distributions for gbm models

2017-12-14 Thread Patrick Connolly
Shrinkage 4n.minobsinnode numeric Min. Terminal Node Size Is that a limitation of the caret package? Or is there something I'm not getting? -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~}

[R] Function gutenberg_download in the gutenbergr package

2018-01-23 Thread Patrick Connolly
ingi_1.1.5lazyeval_0.2.1 munsell_0.4.3 [43] slam_0.1-42 broom_0.4.2 > -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_

[R] Updating Rcpp package when it is claimed by dplyr

2018-02-01 Thread Patrick Connolly
loaded via a namespace (and not attached): [1] compiler_3.4.3 magrittr_1.5 R6_2.1.2 assertthat_0.1 parallel_3.4.3 [6] tools_3.4.3DBI_0.3.1 dplyr_0.4.3Rcpp_0.12.3grid_3.4.3 -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___P

Re: [R] Updating Rcpp package when it is claimed by dplyr

2018-02-02 Thread Patrick Connolly
; On 2 Feb 2018, at 08:15 , Jeff Newmiller wrote: |> > |> > Your last statement is extremely unlikely to be true. The dplyr package should not be present in a vanilla environment, so there should be no such conflict. |> > -- |> > Sent from my phone. Please excuse my brevity.

[R] Using gutenbergr with a firewall

2018-02-13 Thread Patrick Connolly
on on anyone else's experience. Thank you. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___ Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) S

Re: [R] Using gutenbergr with a firewall

2018-02-15 Thread Patrick Connolly
ou might also be having |> trouble with anti virus software. -- |> Sent from my phone. Please excuse my brevity. |> |> On February 13, 2018 10:55:40 PM PST, Patrick Connolly wrote: |> >I can use the gutenberg_download() function in the gutenbergr package |> >on a co

Re: [R] OT --- grammar.

2018-06-30 Thread Patrick Connolly
-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-project.org/posting-guide.html |> and provide commented, minimal, self-contained, reproducible code. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~

Re: [R] parallel processing in r...

2018-06-30 Thread Patrick Connolly
If you use gkrellm, you'll get a plot of each core's activity so it's easy to see how many are being used. yum install gkrellm. HTH On 07/01/2018 06:16 AM, Jeff Newmiller wrote: > Use "top" at the bash prompt. > > Read about the "mc.cores" parameter to mclapply. > > Make a simplified example v

[R] R-3.4.0 fails test

2017-05-17 Thread Patrick Connolly
h(fd) == 10, identical(fd, format(dct <- as.POSIXlt(dlt would pass. But would that be any use? TIA (Linux Mint 17.3) -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

Re: [R] Error with installed.packages with R 3.4.0 on Windows

2017-05-22 Thread Patrick Connolly
stats graphics methods base other attached packages: [1] lattice_0.20-35 loaded via a namespace (and not attached): [1] compiler_3.4.0 tools_3.4.0grid_3.4.0 > Has anyone a workaround? -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___

[R] Error in readRDS(dest) (was Re: Error with installed.packages with R 3.4.0 on Windows)

2017-05-23 Thread Patrick Connolly
On Mon, 22-May-2017 at 05:43AM -0400, Martin Morgan wrote: |> On 05/22/2017 05:10 AM, Patrick Connolly wrote: |> >Apparently it isn't harmless. |> > |> >>install.packages("withr") |> >Error in readRDS(dest) : error reading from connection |> |&g

Re: [R] Error in readRDS(dest) (was Re: Error with installed.packages with R 3.4.0 on Windows)

2017-05-24 Thread Patrick Connolly
fers to a repo and is zero length whereas 3.3.3 refers to a library. To me that would appear to be a major difference. That must have something to do with it. But what? Since the latter works and the former doesn't, it seems as though the problem is with 3.4.0's re

Re: [R] Error in readRDS(dest) (was Re: Error with installed.packages with R 3.4.0 on Windows)

2017-05-31 Thread Patrick Connolly
bear with a small brain, I can't figure out what differences should be expected. I have no idea what populates those 'dest' directories. TIA -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_

Re: [R] Error in readRDS(dest) SOLVED

2017-06-06 Thread Patrick Connolly
On Wed, 31-May-2017 at 10:05AM -0400, Martin Morgan wrote: |> On 05/31/2017 04:38 AM, Patrick Connolly wrote: |> >When I check out those directories in a terminal, there's a big diffrence: |> > |> >With R-3.4.0 |> >~ > ll /tmp/RtmpFUhtpY |> >total 4 |>

Re: [R] > Understanding strip.default & strip.custom

2016-06-29 Thread Patrick Connolly
s to Duncan Mackay also. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___ Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds dis

Re: [R] > Understanding strip.default & strip.custom

2016-06-30 Thread Patrick Connolly
"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 29, 2016 at 1:29 AM, Patrick Connolly

Re: [R] > Understanding strip.default & strip.custom

2016-06-30 Thread Patrick Connolly
an example but I cannot remember any of the |> details It would be amazing for anyone to remember those details. ;-) |> |> Regards |> |> Duncan |> |> |> -Original Message- |> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Patrick |> Conno

[R] Getting predictions for skewed t-distribution

2015-07-03 Thread Patrick Connolly
loaded via a namespace (and not attached): [1] Rcpp_0.11.3 assertthat_0.1grid_3.2.1DBI_0.3.1 [5] magrittr_1.0.1stringi_0.4-1 lazyeval_0.1.10 tools_3.2.1 [9] numDeriv_2014.2-1 parallel_3.2.1mnormt_1.5-3 -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

Re: [R] Why can't I access this type?

2015-03-25 Thread Patrick Connolly
; |> |> FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! |> Visit http://www.inbox.com/photosharing to find out more! |> |> __ |> R-h

[R] Using and abusing %>% (was Re: Why can't I access this type?)

2015-03-25 Thread Patrick Connolly
teractive one-off use. But |> lately I've seen examples of the '%>%' operator creeping into |> functions in packages. That could indicate that %>% is seductively easy to use. It's probably true that there are places where it should be done the hard way. |&

Re: [R] Why can't I access this type?

2015-03-27 Thread Patrick Connolly
150, c("Name", "Frost")] Modify the above to match where my guess at what you tried is in error. HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss ev

Re: [R] Using and abusing %>% (was Re: Why can't I access this type?)

2015-03-28 Thread Patrick Connolly
On Fri, 27-Mar-2015 at 03:27PM +0100, Henric Winell wrote: |> On 2015-03-26 07:48, Patrick Connolly wrote: |> |> >On Wed, 25-Mar-2015 at 03:14PM +0100, Henric Winell wrote: |> > |> >... |> > |> >|> Well... Opinions may perhaps differ, but apart from '

[R] Plots in ioslides and R markdown

2018-08-23 Thread Patrick Connolly
ke a badly scaled plot about 25 times the size of the plotting area, so only a fragment is visible. This is the code I've tried: --- title: "Barking up the wrong tree" author: "Patrick Connolly" date: "`r format(Sys.time(), '%a %d/%m/%Y %H:%M')`" output: iosl

Re: [R] Plots in ioslides and R markdown

2018-08-24 Thread Patrick Connolly
t would be clearer for me to have saved the objects to a file by a different name. Is there a better way to do that?? |> On August 23, 2018 2:15:19 AM PDT, Patrick Connolly wrote: |> >I'm having difficulty getting plots into ioslides. It seems to me |> >that the scale is c

Re: [R] Plots in ioslides and R markdown

2018-08-25 Thread Patrick Connolly
I've simplified it so that it's reproducible: --- title: "Barking up the wrong tree" author: "Patrick Connolly" date: "`r format(Sys.time(), '%a %d/%m/%Y %H:%M')`" output: ioslides_presentation: default slidy_presentation: default beam

Re: [R] Plots in ioslides and R markdown

2018-08-25 Thread Patrick Connolly
On Sat, 25-Aug-2018 at 07:53AM -0400, Duncan Murdoch wrote: |> On 25/08/2018 6:21 AM, Patrick Connolly wrote: |> >--- |> >title: "Barking up the wrong tree" |> >author: "Patrick Connolly" |> >date: "`r format(Sys.time(), '%a %d/%m/%Y %H

Re: [R] Plots in ioslides and R markdown

2018-08-26 Thread Patrick Connolly
On Sat, 25-Aug-2018 at 08:10PM -0400, Duncan Murdoch wrote: |> On 25/08/2018 7:37 PM, Patrick Connolly wrote: |> >On Sat, 25-Aug-2018 at 07:53AM -0400, Duncan Murdoch wrote: |> > |> >|> On 25/08/2018 6:21 AM, Patrick Connolly wrote: |> >|> >--- |>

[R] Why can't I make use of tcltk in this installation?

2018-09-10 Thread Patrick Connolly
#x27;t help. Where else should I be looking for a difference? TIA -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss peo

[R] Corrupted package?

2018-10-31 Thread Patrick Connolly
d? I removed the package and reinstalled it, but that made no difference. Is this documented anywhere? TIA -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_

Re: [R] Corrupted package?

2018-11-01 Thread Patrick Connolly
scales_1.0.0 [41] cli_1.0.1 stringi_1.2.4 stopwords_0.9.0 fastmatch_1.1-0 [45] tools_3.5.1 glue_1.3.0hms_0.4.2 parallel_3.5.1 [49] colorspace_1.3-2 bindr_0.1.1 haven_1.1.2 modeltools_0.2-22 > |> -pd |> [..] -- ~.~.~.~.~.~

Re: [R] Corrupted package?[solved]

2018-11-04 Thread Patrick Connolly
On Thu, 01-Nov-2018 at 08:51PM +1300, Patrick Connolly wrote: |> On Wed, 31-Oct-2018 at 07:30PM +0100, peter dalgaard wrote: |> |> |> Hm, a source install to r-devel gave me |> |> |> |> Peter-Dalgaards-MacBook-Air:BUILD pd$ ls -l library/pkgconfig/R/pkgconfig.rdb |>

[R] saveRDS() and readRDS() Why?

2018-11-06 Thread Patrick Connolly
s could have different permissions for different OSes, but should that affect the R objects? TIA -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:)

Re: [R] saveRDS() and readRDS() Why?

2018-11-07 Thread Patrick Connolly
They're both about 3kb. On 7/11/18 9:13 PM, Eric Berger wrote: > What do you see at the OS level? > i.e. on windows > DIR rawData.rds > on linux > ls -l rawData.rds > compare the file sizes on both. > > > On Wed, Nov 7, 2018 at 9:56 AM Patrick Connolly > mailto

Re: [R] saveRDS() and readRDS() Why?

2018-11-07 Thread Patrick Connolly
|> |> On 07/11/18 08:13, Eric Berger wrote: |> >What do you see at the OS level? |> >i.e. on windows |> >DIR rawData.rds |> >on linux |> >ls -l rawData.rds |> >compare the file sizes on both. |> > |> > |> >On Wed, Nov 7, 2018 at 9:56 AM

Re: [R] saveRDS() and readRDS() Why? [solved, kind of]

2018-11-07 Thread Patrick Connolly
readRDS(file = "rawData.rds") did! So what I needed was serialize but not unserialize. I still don't know Why, but I know How. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Avera

Re: [R] saveRDS() and readRDS() Why? [solved, kind of]

2018-11-10 Thread Patrick Connolly
On Thu, 08-Nov-2018 at 11:06AM +0100, Martin Maechler wrote: |> >>>>> Patrick Connolly |> >>>>> on Thu, 8 Nov 2018 20:27:24 +1300 writes: [...] |> > |> > I still don't know Why, but I know How. |> |> Hmm.. and nobody has been ab

Re: [R] saveRDS() and readRDS() Why? [solved, pretty much anyway)

2018-11-12 Thread Patrick Connolly
ot;y.rds") will work. An undocumented feature? Thanks to all who contributed. On Sat, 10-Nov-2018 at 08:48PM +1300, Patrick Connolly wrote: |> On Thu, 08-Nov-2018 at 11:06AM +0100, Martin Maechler wrote: |> |> |> >>>>> Patrick Connolly |> |> >>>>

[R] Corrupting files while copying (was Re: saveRDS() and readRDS() Why? [solved, pretty much anyway])

2018-11-13 Thread Patrick Connolly
ying the files corrupted them. How did you copy them |> >> (with R |> >> or cp or copy or ftp, etc.)? I don't see how this has anything to do |> >> with R. |> >> |> >> Bill Dunlap |> >> TIBCO Software |> >> wdunlap tibco.com [1] |&

Re: [R] Corrupting files while copying (was Re: saveRDS() and readRDS() Why? [solved, pretty much anyway])

2018-11-18 Thread Patrick Connolly
ication instructions, including telling us what |> host and gest operating systems you are using (including the |> versions), the version |> of virtualbox you used, and exactly what steps are needed to |> reproduce the surprising behavior. |> |> Best, |> Ista |> On Wed, Nov 1

Re: [R] Corrupting files while copying (was Re: saveRDS() and readRDS() Why? [solved, pretty much anyway])

2018-11-30 Thread Patrick Connolly
I'd be interested to know if anyone can replicate what I experienced. VBox version: 5.1.22 r115126 (Qt5.6.2) Versions of R and OSes below: On Sun, 18-Nov-2018 at 09:44PM +1300, Patrick Connolly wrote: |> Sequence of steps: |> |> Using R-3.5.1 and Windows 7 with the latest R

[R] BLUPS from lme models

2019-01-03 Thread Patrick Connolly
random term from the model, or setting it as a fixed effect? To get something meaningful, one needs to choose which random effects are relevant to the topic under study? Thank you. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___

Re: [R] yaxs Causes Boundary Line Colour to Change

2014-08-25 Thread Patrick Connolly
_ |> 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-contained, reproducible code. -- ~.~.~.~.~.~.~.~.

Re: [R] Unexpected behaviour of plyr::ddply

2014-09-29 Thread Patrick Connolly
("P","G")) However: > summary(hab$tot) Min. 1st Qu. MedianMean 3rd Qu.Max.NA's 22713282640 82645440 3039000 89 Those NAs interfere with the cut() statement. The simplest work around is > hab <-

[R] Oddity using multcompView package

2014-10-30 Thread Patrick Connolly
s: [1] grid grDevices utils stats graphics methods base other attached packages: [1] dplyr_0.3.0.2 multcompView_0.1-5 lattice_0.20-29 loaded via a namespace (and not attached): [1] assertthat_0.1 DBI_0.3.1 lazyeval_0.1.9 magrittr_1.0.1 parallel_3.1.1 [6] Rcpp_0.11.3tools_3.1.1 > TIA -- ~.~.

[R] Special characters in regular expressions

2015-09-24 Thread Patrick Connolly
ssion that can detect "A|" *and* "K|" without collateral damage from the impact of special characters and regular characters. TIA -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_

Re: [R] Special characters in regular expressions

2015-09-27 Thread Patrick Connolly
on't think it does what I think you think it does... |> Somewhat safer, maybe: |> |> gsub("\\|[AK]\\|","\\|", x) |> |> (avoids surprises from, say, "LBAM 5|A|15A|3h") Thanks for that suggestion. Very simple now. |> |> -pd |> |> > [snip

Re: [R] How to read ./configure messages

2016-02-02 Thread Patrick Connolly
t; > Ideas greatly appreciated. |> > |> > |> > best |> > Patrick |> > |> > __ |> > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see |> > https://stat.ethz.ch/mailman/listinfo/r-help |>

[R] What "method" does sort() use?

2016-03-19 Thread Patrick Connolly
since all the uppercase ones would be before the lowercase ones. I know something different is happening but I don't know what it is (do you, Mr Jones?). Apologies to Bob Dylan. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Pa

Re: [R] What "method" does sort() use?

2016-03-19 Thread Patrick Connolly
t; -pd |> |> |> |> On 18 Mar 2016, at 10:13 , peter dalgaard wrote: |> |> > |> > On 18 Mar 2016, at 10:02 , Patrick Connolly wrote: |> > |> >> I don't follow why this happens: |> >> |> >>> sort(c(LETTERS[1:5], let

Re: [R] R 3.2.4-revised is released

2016-04-13 Thread Patrick Connolly
__ |> 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-project.org/posting-guide.html |> and provide commented, minimal, self-contained, reproducibl

[R] ASReml-R lack of documentation

2017-02-27 Thread Patrick Connolly
, please let me know what you did to achieve it. Better still. if you have experience with predictions from asreml.binomial models, I have a question about a possible bug if you'd bee so kind. TIA -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Pa

[R] What is se.fit in a glm predict list?

2017-03-02 Thread Patrick Connolly
Should I remove those or would that be unnecessary? TIA -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:)

Re: [R] Howto Restart A Function with Try-Error Catch

2008-07-21 Thread Patrick Connolly
t your function does). Assuming your function is using a random number, you could use do and while to continue trying according to your if test. HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~}

Re: [R] How to repress the annoying complains from X window system

2008-08-11 Thread Patrick Connolly
_ |> platform i486-pc-linux-gnu |> arch i486 Is that a pre-Pentium machine?? (more curious than helpful) -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds

Re: [R] reverse orientation of text in plot margins

2008-08-13 Thread Patrick Connolly
labels in this statement. ?axis. HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_Middle minds discuss events (:_~*~_:)Small minds discuss people (_)-(_)

[R] Making use of names of viewports (grid)

2008-08-17 Thread Patrick Connolly
ading through 'R Graphics' (the blue-toned book), I see there's such a thing as vpList which I could make while I'm in that for loop, but I don't see how I could do something like vpL <- c(vpL, cube.k) sort of thing that I could do with a vector. It's even less clea

Re: [R] Basic question about X11()

2008-08-27 Thread Patrick Connolly
you want, but it seems unlikely to me that it could be make to work with more than one window manager. It's very simple in KDE to set up keyboard shortcuts to move a window to a specific desktop. HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

Re: [R] Avoiding factors and levels in data frames

2008-08-31 Thread Patrick Connolly
p on |> getting them. Is there any way to globally turn this whole feature of |> data frames off? Using options(stringAsFactors=FALSE) does not seem to |> work. Have you tried the as.is option? -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

Re: [R] Text

2008-09-01 Thread Patrick Connolly
for(i in 1:length(tex)) { text(xh[i], yh[i], tex[i], adj = c(adj[i], adj.y), cex = cex[i], font = font[i], srt = srt, ...) } } HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~}

Re: [R] plotmath help with expression

2008-09-03 Thread Patrick Connolly
e this: legend = substitute(r^2 == rsq, list(rsq = d$r.squared)) It's quite a different approach from what is used with paste. HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds disc

Re: [R] Slicing cra**y csv files

2009-08-11 Thread Patrick Connolly
st archive at Nabble.com. |> |> __ |> 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-

Re: [R] Transform array in dataframe; melt(); reshape()

2009-08-11 Thread Patrick Connolly
> (or I don’t know how to transform the output it in a dataframe). Could > anyone help me? You need to use the function cast as well. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average

Re: [R] R help from command line

2009-08-11 Thread Patrick Connolly
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-contained, reproducible code. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~

Re: [R] pretty display or print for data frames ?

2009-08-11 Thread Patrick Connolly
___ > 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-contained, reproducible code. -- ~.~.~.~.~.~.~.~.~.~.

Re: [R] paste first row string onto every string in column

2009-08-12 Thread Patrick Connolly
e to get the first row you want in one line, but you'll be able to work that out. That will end up as a dataframe of factors. You might need to do something else with it after that stage. HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

Re: [R] Slicing cra**y csv files

2009-08-12 Thread Patrick Connolly
, but not qgetting the data in properly in first place, makes it |> kind of useless. It has loads of methods of getting the data into the form for analysis, and, in any case, you can always get your money back if you're not satisfied. |> |> jorgusch |> |> |> |>

Re: [R] paste first row string onto every string in column

2009-08-13 Thread Patrick Connolly
|> > But you can use "-1" instead of "2:nr", and you get |> > |> >dfnew$V1[ -1 ] <- paste( dfnew$V1[1], dfnew$V1[ -1] ) |> > |> > That's how you can do it one column at a time. |> > Since you have only four columns, just do the

Re: [R] How to rename columns that start with numbers?

2009-08-13 Thread Patrick Connolly
leted]] |> |> __ |> 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-contained, reproducible code. -- ~.~.~.~.~.~.

Re: [R] email notification after error

2009-08-14 Thread Patrick Connolly
de commented, minimal, self-contained, reproducible code. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss event

Re: [R] What is the returned type of strsplit?

2009-08-16 Thread Patrick Connolly
;d" |> |> [[3]] |> [1] "e" "f" |> |> > c=sapply(b,function(x){x[1:2]}) |> > c |> [,1] [,2] [,3] |> [1,] "a" "c" "e" |> [2,] "b" "d" "f" I think your questi

Re: [R] graph label greek symbol failure

2009-08-18 Thread Patrick Connolly
&D, using the command: |> |> ...ylab="δt"... |> |> Any advice please? ?plotmath -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y

Re: [R] PowerCut Killed R - is my code retrievable?

2009-08-20 Thread Patrick Connolly
that you use. Rerunning is something I do as a rule, not an exception. It's particularly useful when follow up work arrives which can reuse the same code or a slightly modified version of it. [...] -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___

Re: [R] change default measurement unit to millimetre

2009-08-20 Thread Patrick Connolly
ttp://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~

Re: [R] When factor is better than other types, such as vector and frame?

2009-08-23 Thread Patrick Connolly
t; somebody give an example in which case the type factor is much |> better than other data types? -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_

Re: [R] Two lines, two scales, one graph

2009-08-24 Thread Patrick Connolly
ow to use axis with side = 3 to do the axis. If the zeros don't coincide, you need to make further adjustments which should become obvious. HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great

Re: [R] changing the Date format.

2009-08-26 Thread Patrick Connolly
89 |> 37990 |> 37991 |> |> now i want change that variable into '-mm-dd' format. can any body help |> in this aspect. Check out the as.Date function. ?as.Date HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___

Re: [R] X11 plot window sizes

2009-09-02 Thread Patrick Connolly
the resources and if not specified there defaults to '7' inches. See also 'Resources'. That's what works on my machine. Just what happens if you specify dimensions larger than the screen seems to be undocumented and I would expect the unexpected and that

Re: [R] [OT] "_" inserted in postings

2009-09-08 Thread Patrick Connolly
l > and provide commented, minimal, self-contained, reproducible code. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discus

Re: [R] Best R text editors?

2009-09-11 Thread Patrick Connolly
nking was that by the time they find it, they'll already have noticed that they can cut/copy and paste using only the mouse buttons and won't be bothered with such inefficient methods. Though this be madness, yet there is a method in't. :-) -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~

Re: [R] Linux R version: best?

2009-09-11 Thread Patrick Connolly
ted, minimal, self-contained, reproducible code. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:)

Re: [R] Best R text editors?

2009-09-11 Thread Patrick Connolly
se to change the default setting in question will be unable to use the ones I use and end up not becoming aware of the nifty things possible. To that extent, I was not entirely joking. [...] -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly

Re: [R] how to load only lines that start with a particular symbol

2009-09-16 Thread Patrick Connolly
exactly my strong point, but I could look it up next time I'm on that machine if anyone is interested. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_

Re: [R] Regarding information on writing R scripts

2009-09-21 Thread Patrick Connolly
t; PLEASE do read the posting guide http://www.R-project.org/posting-guide.html |> and provide commented, minimal, self-contained, reproducible code. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds

[R] sprng 2.0 header file for Rmpi

2010-02-18 Thread Patrick Connolly
language R version.string R version 2.9.1 (2009-06-26) I've also tried R-2.10.1 with similar failure. TIA -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~}

[R] How to specify R CMD INSTALL arguments

2010-02-19 Thread Patrick Connolly
to specify SPRNG_ROOT as an environment variable? TIA -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:)

Re: [R] How to specify R CMD INSTALL arguments

2010-02-20 Thread Patrick Connolly
On Fri, 19-Feb-2010 at 11:03PM +1300, Patrick Connolly wrote: |> I've become a bit rusty using R CMD INSTALL from the shell prompt |> since the install.packages normally works so well. |> |> One of the arguments to R CMD INSTALL is --configure-args=ARGS |> |> >

Re: [R] how to make R plot under Linux

2010-02-23 Thread Patrick Connolly
PuTTY. Ask your IT guys about VNC. I think it's even easier. Depends on what happens at your place and we have precious little information on that. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~}

Re: [R] forecasted Results

2010-02-23 Thread Patrick Connolly
I've heard of people using Tarot cards -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_)

Re: [R] Calling Data frame objects with spaces in their names

2010-02-24 Thread Patrick Connolly
ate I obtain the following error: |> Error: inesperado s?mbolo en "EURODOLLAR$ED1.Comdty Date" try EURODOLLAR$`ED1.Comdty Date` HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great mind

Re: [R] Reading multiple csv files

2010-02-26 Thread Patrick Connolly
ew ideas. We don't know what you did that used "output" in it to have any idea what could be behind the Invalid argument message. |> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

Re: [R] Gradient Boosting Trees with correlated predictors in gbm

2010-03-02 Thread Patrick Connolly
be because 100 trees wasn't nearly enough, so I increased it to 6000 and added in some cross-validation. Doing a summary at the optimal number of trees still gives a similar result. I have to admit to being somewhat puzzled. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~

Re: [R] Gradient Boosting Trees with correlated predictors in gbm

2010-03-06 Thread Patrick Connolly
30763599 |> > 4 V1 0.17108839 |> > 5 V4 0.14272470 |> > 6 V3 0.13069450 |> > 7 V6 0.07839121 |> > 8 V7 0.07109805 |> > 9 V5 0.06080096 |> > 10 V8 0.05168955 |> > 11 V9 0.0000 |> > > |> > |> > So V9 which was i

Re: [R] A slight trap in read.table/read.csv.

2010-03-09 Thread Patrick Connolly
e commented, minimal, self-contained, reproducible code. |> |> __ |> R-help@r-project.org mailing list |> https://stat.ethz.ch/mailman/listinfo/r-help |> PLEASE do read the posting guide http://www.R-project.org/posti

Re: [R] Forecast

2010-03-11 Thread Patrick Connolly
rologer told his client (which was verified to be correct) where his stolen dog could be found -- including the fact that it was tied to the leg of a table!! (I didn't invent that story.) R is very good, but it's not THAT good. HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

Re: [R] (performance) time in Windows vs Linux

2009-06-28 Thread Patrick Connolly
r Linux is using only 1 of them. best -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_)

Re: [R] (performance) time in Windows vs Linux

2009-06-29 Thread Patrick Connolly
a lot, |> |> milton |> |> On Mon, Jun 29, 2009 at 1:46 AM, Patrick Connolly < |> p_conno...@slingshot.co.nz> wrote: |> |> > On Fri, 26-Jun-2009 at 04:37PM -0400, milton ruser wrote: |> > |> > |> Hi there, |> > |> |> > |> > |> I have

Re: [R] (performance) time in Windows vs Linux

2009-06-29 Thread Patrick Connolly
On Mon, 29-Jun-2009 at 09:05AM +0200, Zeljko Vrba wrote: |> On Mon, Jun 29, 2009 at 06:56:55PM +1200, Patrick Connolly wrote: |> > On Mon, 29-Jun-2009 at 02:13AM -0400, milton ruser wrote: |> > |> > |> Really? |> > |> |> > |> In fact I have a quadco

  1   2   3   4   >