Re: [ESS] Displaying R plots within an Emacs buffer

2024-03-21 Thread Tyler Smith via ESS-help
That looks cool! I don't understand the code, but seeing it only took 20 lines, maybe it's something I could figure out. Great start! - tyler -- plantarum.ca On Thu, Mar 21, 2024, at 5:30 PM, Stephen J. Eglen via ESS-help wrote: > This is an itch I've had for ESS for probably at least

Re: [ESS] emacs theme for polymode with noweb files

2023-12-05 Thread Tyler Smith via ESS-help
Tyler -- plantarum.ca On Tue, Dec 5, 2023, at 4:33 AM, Hüsing, Johannes via ESS-help wrote: > Thanks, Tyler, for the directions, which made me burn office hours > while looking fort he optimal font face. > > One of these faces seems to be assigned to documenting the contents of > a t

Re: [ESS] emacs theme for polymode with noweb files

2023-12-04 Thread Tyler Smith via ESS-help
adjusting a few of the colour choices. Good luck! Tyler [1] Note that if you use `hl-line-mode`, you should turn it off before doing this, otherwise that's the face you'll be offered. If you don't use `hl-line-mode`, ignore this. -- plantarum.ca On Sun, Dec 3, 2023, at 5:48 PM, LaurentEss via ESS

Re: [ESS] ess, noweb and polymode

2023-11-17 Thread Tyler Smith via ESS-help
Hi Laurent, You might need to include (require 'swiper) before you run the other code. ty -- plantarum.ca On Fri, Nov 17, 2023, at 1:43 PM, Laurent ESS via ESS-help wrote: > Hi Tyler, > > Thank you for the idea, even if I would like to recover the > ess-noweb-goto-chunk. >

Re: [ESS] ess, noweb and polymode

2023-11-15 Thread Tyler Smith via ESS-help
ist-chunks` when you hit `M-n g`. This displays all the matches in the minibuffer, and you can scroll through them with `C-n` and `C-p`, and hitting `enter` will take you to that chunk header. In my tests, there's something wrong with the text colours, but I don't have time to debug jus

Re: [ESS] why a release from time to time would be nice

2023-10-12 Thread Tyler Smith via ESS-help
s) library(graphics) library(grDevices) library(stats) \`\`\` $0 ``` -- plantarum.ca On Thu, Oct 12, 2023, at 10:35 AM, Stephen Bond wrote: > Tyler, > > Happy you are lending a hand. I alternate between notebook and plain > htmil output. this is my typical: > > --- > title:

Re: [ESS] why a release from time to time would be nice

2023-10-10 Thread Tyler Smith via ESS-help
aware of, or if not, we might be able to come up with some workable solutions. Whether or not that's an ESS issue, an polymode issue, or a markdown-mode issue, remains to be seen. Best, Tyler > On Fri, Oct 6, 2023, 10:13 Stephen Bond via ESS-help > wrote: > >> Currently there

Re: [ESS] run R code upon starting each ESS session

2023-10-03 Thread Tyler Smith via ESS-help
On Tue, Oct 3, 2023, at 12:52 PM, Manuel Teodoro via ESS-help wrote: > Is there a way to run R code upon starting each ESS session? > Hi Manuel, ESS provides a hook you can use for this purpose. This is described in the manual: https://ess.r-project.org/Manual/ess.html#Customizing-startup To

Re: [ESS] [EXTERNAL] Re: How to Duplicate Previous Functionality/Workflow

2023-09-26 Thread Tyler Smith via ESS-help
time? It seems as though there should be a way to customize each > of these, but I can't figure out what it is. I agree, it does seem like this ought to be customizable! I looked into the code a bit, and from what I can see there's no option to change it, beyond over-writing the existing f

Re: [ESS] How to Duplicate Previous Functionality/Workflow

2023-09-23 Thread Tyler Smith via ESS-help
On Fri, Sep 22, 2023, at 2:04 AM, Stephen J. Eglen wrote: >> (You probably didn't do this, because Docview isn't great for >> pdfs. The now abandoned package pdf-tools was a great option for >> reading pdfs inside Emacs). > > just to add a couple of comments: > > 1. pdf-tools was forked about 1-2

Re: [ESS] How to Duplicate Previous Functionality/Workflow

2023-09-21 Thread Tyler Smith via ESS-help
On Thu, Sep 21, 2023, at 9:43 PM, Bassett Jr,Roland L via ESS-help wrote: > > 1. How can I customize the exporter to use my preferred PDF viewer > (evince) instead of DocView? I think the current default is for Emacs to open the exported file itself. To change this, you need to configure

Re: [ESS] How to Duplicate Previous Functionality/Workflow

2023-09-21 Thread Tyler Smith via ESS-help
On Thu, Sep 21, 2023, at 9:43 PM, Bassett Jr,Roland L via ESS-help wrote: > 2. Different topic, but how can I duplicate the functionality of the > "_" key to insert "<-" instead of just "_"? That feature is now called `ess-insert-assign`, and you need to bind it to the `_` key yourself. From

Re: [ESS] Emacs, ESS and Rmarkdown: Is this the way compile is supposed to work?

2023-04-21 Thread Tyler Smith via ESS-help
necessary. Best, Tyler -- plantarum.ca On Fri, Apr 21, 2023, at 10:58 AM, Kevin Zembower via ESS-help wrote: > Tyler, thanks for your response. I had found your website while > searching for a solution to my problem. > > Currently, I have this in my .emacs.d/init.el file: >

Re: [ESS] Fwd: Emacs, ESS and Rmarkdown: Is this the way compile is supposed to work?

2023-04-20 Thread Tyler Smith via ESS-help
` when prompted, and the html will be generated and opened in a web browser. The tutorial walks you through the steps in more detail. Best, Tyler -- plantarum.ca On Thu, Apr 20, 2023, at 12:11 PM, Kevin Zembower via ESS-help wrote: > Thanks to Dirk Eddelbuettel's suggestion of his rende

Re: [ESS] Emacs 28 and Sweave files

2022-09-22 Thread Tyler Smith via ESS-help
Hi, I just noticed that this question has an answer on emacs.stackexchange that might be helpful: https://emacs.stackexchange.com/questions/17063/how-to-setup-knitr-workflow-in-emacs/17065#17065 Tyler -- plantarum.ca On Sun, Sep 11, 2022, at 10:42 AM, Tyler Smith via ESS-help wrote: >

Re: [ESS] github flavor

2022-02-13 Thread Tyler Smith via ESS-help
originally wrote this I had set up the package system to load it automatically, which is why I don't provide instructions to do it explicitly in the tutorial. Best, Tyler On Sat, Feb 12 2022, Stephen Bond via ESS-help wrote: Hello, I am trying to activate the github flavor by: (add-to-

[ESS] view documentation while developing a package

2022-02-07 Thread Tyler Smith via ESS-help
-mode` as well as running the related commands (load_all, document) directly from the R command line in ESS. Neither works for me. Best, Tyler Emacs 29.0.50 ESS 18.10.3 (from melpa) R 4.1.2 (Ubuntu) -- plantarum.ca __ ESS-help@r-project.org mailing

Re: [ESS] .Rdata not loading

2021-12-23 Thread Tyler Smith via ESS-help
? You could recover from this by re-installing the previous version of R. Good luck! Tyler [1]https://stackoverflow.com/questions/57065994/readitem-unknown-type-64-perhaps-written-by-later-version-of-r On Thu, Dec 23 2021, Rich Shepard via ESS-help wrote: On Thu, 23 Dec 2021, Rich Shepard via

Re: [ESS] .Rdata not loading

2021-12-23 Thread Tyler Smith via ESS-help
That doesn't look like a problem with ESS - can you load .Rdata from R running in a terminal, outside of emacs? -- plantarum.ca On Thu, Dec 23, 2021, at 12:59 PM, Rich Shepard via ESS-help wrote: > On Thu, 23 Dec 2021, Tyler Smith wrote: > >> Have you recently updated R? The e

Re: [ESS] .Rdata not loading

2021-12-23 Thread Tyler Smith via ESS-help
Hi Rich, Have you recently updated R? The error message suggests the .Rdata file was created by a different version of R than the one you are currently running. Best, Tyler On Thu, Dec 23 2021, Rich Shepard via ESS-help wrote: I use R with emacs and ESS. Each time I finish with a session

Re: [ESS] emacs-ess and the dreaded dotemacs file

2021-10-19 Thread Tyler Smith via ESS-help
I didn't receive your attachment, I think the mailing list drops them? The error you're getting indicates you have unbalanced parentheses (too many closing parentheses). That's an easy thing to do when copying and pasting code, and may be a side effect of some other issue. Best, Tyler

Re: [ESS] Advice on setting up ESS to edit and knit Rmarkdown files

2021-10-03 Thread Tyler Smith via ESS-help
d on youtube: https://www.youtube.com/watch?v=So1LYzSk9o0 I've updated the post to point directly to these locations. You'll find explicit instructions on how to install packages from Melpa at either location. Best, Tyler __ ESS-help@r-project.or

Re: [ESS] Advice on setting up ESS to edit and knit Rmarkdown files

2021-10-01 Thread Tyler Smith via ESS-help
Spinu. You'll need new versions of poly-R (updated 29 September 2021) and markdown-mode (updated 6 January 2021) to use this as-is. With those completed, there's no further reason to procrastinate on turning this into a video, so I guess that's coming soon now too! Best, Tyler Chris Evans via

Re: [ESS] Advice on setting up ESS to edit and knit Rmarkdown files

2021-09-19 Thread Tyler Smith via ESS-help
Intro series which you might find useful. Unfortunately I can't find the link just now, as I'm at the cottage with very sporadic network connection. Best, Tyler -- plantarum.ca On Sun, Sep 19, 2021, at 2:33 AM, Chris Evans via ESS-help wrote: > I am having problems with long Rmd fi

Re: [ESS] [OT] Enabled a hook and no longer find which

2021-08-02 Thread Tyler Smith via ESS-help
somewhere? Tyler __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help

Re: [ESS] [OT] Enabled a hook and no longer find which

2021-07-30 Thread Tyler Smith via ESS-help
n name you can grep for in your config. If it's only in certain directories, check if there is a `.dir-locals.el` file in that directory (or one of its parents). Good luck! Tyler __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/li

[ESS] ess-pdf-viewer-pref no longer used?

2021-07-29 Thread Tyler Smith via ESS-help
SS? Best, Tyler -- Tyler Smith plantarum.ca __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help

Re: [ESS] Polymode keymap error

2021-03-09 Thread Tyler Smith via ESS-help
-mode t))) (package-initialize) (require 'use-package) (use-package polymode :ensure t) (use-package poly-R :after polymode :ensure t) (use-package poly-markdown :after polymode :mode ("\\.Rmd\\'" . poly-markdown+R-mode) :ensure t) ``` John Haman writes: Tyler, thanks

Re: [ESS] Polymode keymap error

2021-03-09 Thread Tyler Smith via ESS-help
r polymode :mode ("\\.Rmd\\'" . poly-markdown+R-mode) :ensure t) On Mon, Mar 8, 2021, at 10:32 PM, Tyler Smith wrote: Can you show us your Emacs config, or at least the use-package expression you use for poly-mode? Best, Tyler John Haman via ESS-help writes: > I'm havi

Re: [ESS] Polymode keymap error

2021-03-08 Thread Tyler Smith via ESS-help
Can you show us your Emacs config, or at least the use-package expression you use for poly-mode? Best, Tyler John Haman via ESS-help writes: I'm having an issue with Poly-R or poly-markdown. When I start up my Emacs installation, I get a strange error about a keymap: Error (use-package

Re: [ESS] [OT] Best Practices Emacs / ESS Mini-Webinars

2020-12-28 Thread Tyler Smith via ESS-help
I understand your skepticism! I could reframe my talk as "an overview of Blogdown" to more clearly articulate a single goal. Best, Tyler -- plantarum.ca On Mon, Dec 28, 2020, at 9:51 AM, Dirk Eddelbuettel via ESS-help wrote: > > On 28 December 2020 at 14:26, Sparapani, Rod

Re: [ESS] [OT] Best Practices Emacs / ESS Mini-Webinars

2020-12-28 Thread Tyler Smith via ESS-help
Hi Dirk, I'd be happy to demo blogging with Emacs, RMarkdown, Blogdown, Hugo, ESS etc. I think a 5-10 minute demo with links to more detailed docs would be an engaging format. Best, Tyler -- plantarum.ca On Mon, Dec 28, 2020, at 9:08 AM, Dirk Eddelbuettel wrote: > > A few weeks ago

Re: [ESS] Emacs can find R-devel and R-newest, but not R-4.0.x

2020-11-26 Thread Tyler Smith via ESS-help
by customizing `ess-r-runner-prefixes`, and in my old age I muddled all this together to give you bad advice. Best, Tyler Colin Baxter via ESS-help writes: Tyler Smith via ESS-help writes: > This was fixed in ESS 19.04. If you install/update ESS > from Melpa, > you s

Re: [ESS] Emacs can find R-devel and R-newest, but not R-4.0.x

2020-11-25 Thread Tyler Smith via ESS-help
This was fixed in ESS 19.04. If you install/update ESS from Melpa, you should get a recent version that includes this fix. Best, Tyler -- plantarum.ca On Wed, Nov 25, 2020, at 11:53 AM, Marius Hofert via ESS-help wrote: > Hi, > > I used to be able to start a specific R version w

Re: [ESS] how to change default emacs behavior, upon running R code, from 2 side-by-by side frames to top-and-bottom frames?

2020-11-10 Thread Tyler Smith via ESS-help
, will prioritize splitting top/bottom over right/left. The info node for this is: (emacs) Window Choice Best, Tyler -- Tyler Smith plantarum.ca __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help

Re: [ESS] Best Practice for building R packages

2020-10-08 Thread Tyler Smith via ESS-help
That sounds fun! I have pried myself away from your t4 videos this morning, but will look them over soon - they look great! Best, Tyler Dirk Eddelbuettel writes: On 8 October 2020 at 13:17, Ahmadou Dicko wrote: | I do agree with your suggestion. There is much more to ESS than I | know

Re: [ESS] Best Practice for building R packages

2020-10-08 Thread Tyler Smith via ESS-help
myself on Rd syntax (again). I didn't realize ESS automated compiling documentation! devtools' `document()` function is what I've been using, and I hadn't thought to look for an even shorter method. I would also be interested in a webinar. Best, Tyler Ahmadou Dicko via ESS-help writes: I do

Re: [ESS] how to deal with underscore in ggplot2 etc

2020-09-04 Thread Tyler Smith via ESS-help
ert the '<-' symbol, but after many years with ESS that would feel odd. Best, Tyler -- plantarum.ca On Fri, Sep 4, 2020, at 9:33 AM, Stephen Bond via ESS-help wrote: > Hello ESS users, > Please, tell me how do you deal with the proliferation of functions > that use the unders

Re: [ESS] R 4.0

2020-04-16 Thread Tyler Smith via ESS-help
I have some TeX-related stuff: r-mpost r-pmpost r-upmost I don't know what they do, I assume they were pulled in as part of texlive. Best, Tyler Alex Branham via ESS-help writes: On Thu 16 Apr 2020 at 16:20, Kasper Daniel Hansen via ESS-help wrote: I have just updated ESS using list

Re: [ESS] how to organize init.el for both python and R/ESS? Your workflow?

2019-10-29 Thread Tyler Smith via ESS-help
parceled out all the code, it will be very easy to comment out each section in turn and find out where the problems are coming from. As I mentioned before, you really should be able to have ESS and elpy together in the same config without them breaking each other. This might help if you want t

Re: [ESS] how to organize init.el for both python and R/ESS? Your workflow?

2019-10-29 Thread Tyler Smith via ESS-help
On Tue, Oct 29, 2019, at 1:38 PM, Tyler Smith wrote: > > This might help if you want to do more troubleshooting: Sorry, sent that accidentally without the link: https://emacs.stackexchange.com/questions/28429/how-do-i-troubleshoot-emacs-problems/28430#28430

Re: [ESS] Ever consider changing indentation on #?

2017-05-06 Thread Tyler Smith
f the markdown syntax, the potential for cross-pollination between Emacs/Org/ESS and RStudio/Rmarkdown would have been much stronger. At this point it looks like RMarkdown will slowly accumulate a subset of org-mode features. Best, Tyler __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help

Re: [ESS] turning off ess-r-package-mode

2016-08-24 Thread Tyler Smith
the problems I describe. However, `C-c C-t C-s` did allow me to turn off the namespace evaluation, thanks! Best, Tyler -- plantarum.ca On Wed, Aug 24, 2016, at 03:40 PM, Lionel Henry wrote: > Hi, > > You can set `ess-r-package-auto-activate` to nil to prevent the mode > from

[ESS] turning off ess-r-package-mode

2016-08-24 Thread Tyler Smith
I can't figure out how to get it to stop helping me. How do I turn it off? I want to be able to load code into the global environment using C-c C-r and C-c C-f. Thanks, Tyler Emacs 25.1.1 ESS 16.04 elpa:20160824.1141 -- plantarum.ca __ ESS-help@r-project

Re: [R] R package built using newer version of R

2016-01-05 Thread Tyler Auerbeck
TALL packagename.tar.gz library-location > > Regards, > > Harrie > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Duncan > Murdoch > Sent: maandag 4 januari 2016 20:16 > To: Tyler Auerbeck <auerbec...@gmail.com>; r-

Re: [R] R package built using newer version of R

2016-01-05 Thread Tyler Auerbeck
own that would provide this? Do I need to add something to my path in order for the install to find this? As always, any help would be greatly appreciated. On Tue, Jan 5, 2016 at 2:34 PM, David Winsemius <dwinsem...@comcast.net> wrote: > > > On Jan 5, 2016, at 11:15 AM, Tyler Auerbeck <

Re: [R] R package built using newer version of R

2016-01-05 Thread Tyler Auerbeck
We can go ahead and ignore that last email. It looks like I had just configured Rtools incorrectly. Once I resolved that issue I was able to get this compiled appropriately. Thanks to everyone for the help! On Wed, Jan 6, 2016 at 1:34 AM, Tyler Auerbeck <auerbec...@gmail.com> wrote: > A

[R] R package built using newer version of R

2016-01-04 Thread Tyler Auerbeck
We're currently looking at using the R eclipse plugin StatET as our development environment. Due to certain requirements, we're still using 2.15.1. However a required package of StatET was built using 2.15.3, which results in the following warning: Warning message: package 'rj' was built under R

[R] Windows R 2.15.1 on Citrix

2015-12-11 Thread Tyler Auerbeck
We're currently having an odd issue on an installation of Windows R 2.15.1 over Citrix. Occasionally we will see the application dissapear. Sometimes this will happen immediately, after a few minutes, etc. It's never after the exact same action or same period of time. I've looked at the even logs,

[R] Major discrepancy between R and Stata for ARIMA

2014-04-10 Thread Benster, Tyler
Hi all, I've been looking through documentation to try to understand why Stata and R occasionally come up with very different parameter estimates for ARIMA, and am stumped. Existing discussion on this question, including code, can be found here:

[R] clusterboot function in the fpc package in R

2013-09-17 Thread Hallman, Tyler
of clusters would be great too. Cheers, - Tyler Hallman, M.S. Ph.D. Student The Robinson Lab Department of Fisheries and Wildlife Oregon State University Corvallis [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

Re: [R] How do I parse text?

2013-09-06 Thread Tyler Rinker
Henry, Have look at the qdap package's termco, wfm, adjacency_matrix, and (possibly) word_associate functions.  I'm not sure if they'll work as you really don't give much in the way of what the data is and the desired output (an example of the output). Cheers, Tyler Rinker

Re: [R] Trouble with Slidify and Latex

2013-09-01 Thread Tyler Rinker
;github.com#47;ramnathv#47;slidify#47;issues#63;state#61;open target=_blank class=newlyinsertedlinkhttps#58;#47;#47;github.com#47;ramnathv#47;slidify#47;issues#63;state#61;open/a Tyler Rinker  From: noahsilver...@ucla.edu Date: Sun, 1 Sep 2013 13:40:52

[R] (no subject)

2013-08-25 Thread Tyler Rinker
) check? Cheers Tyler === Plain text version of this email: https://dl.dropboxusercontent.com/u/61803503/Errors/depends_question.txt __ R-help@r

[R] Incorporating a dataset only package

2013-08-25 Thread Tyler Rinker
outcome is very much the way the `datasets` package is loaded by default when R starts. Cheers Tyler (apologies on the double send as the first one had no subject line) === Plain text version of this email:  https

Re: [R] Parts of Speach Tagging

2013-08-24 Thread Tyler Rinker
Have a look at ?Maxent_POS_Tag_Annotator The examples show you how to get the tagPOS behavior. Cheers,Tyler Date: Sun, 25 Aug 2013 04:11:33 +0530 From: sid.aru...@gmail.com To: r-help@r-project.org; r-h...@stat.math.ethz.ch Subject: [R] Parts of Speach Tagging I was using tagPOS function

[R] Writing contrast statements to test difference of slope in linear regressions

2013-04-23 Thread Hallman, Tyler
? And does this then indicate that the slope of 22:22 was significantly different from all others but none of the others were different? Help with comparing the slopes between these regressions would be wonderful. Cheers, - Tyler Hallman, M.S. Ph.D. Student The Robinson Lab Department of Fisheries

Re: [R] custom startup/welcome message

2013-04-04 Thread Tyler Rinker
What is your OS? Fom: michael.weyla...@gmail.com Date: Thu, 4 Apr 2013 15:31:31 -0500 To: pelj...@yahoo.co.uk CC: r-help@r-project.org Subject: Re: [R] custom startup/welcome message On Thu, Apr 4, 2013 at 9:49 AM, lejeczek pelj...@yahoo.co.uk

[R] [R-pkgs] reports 0.1.2 released

2013-03-12 Thread Tyler Rinker
: (a) a help video section and (b) a vignette detailing workflow and use of reports. Tyler Rinker ___ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages

Re: [R] Word Frequency for each row

2013-03-09 Thread Tyler Rinker
I think the qdap package's termco (termo count) function will do what you want. Read the specifics as spacing around the word matters.      library(qdap);        termco(DATA$state, 1:nrow(DATA), c(it))      Date: Fri, 8 Mar 2013 21:34:31 +0530

Re: [R] Word Frequency for each row

2013-03-09 Thread Tyler Rinker
I see you provided sample data.  Here it is with that: library(qdap) termco(dat$Data, dat$ID, c( oranges )) From: tyler_rin...@hotmail.com To: sudipanal...@gmail.com; r-help@r-project.org Date: Sat, 9 Mar 2013 17:20:24 -0500 Subject: Re: [R] Word

[R] Issues with installing RBGL package

2013-02-22 Thread jason tyler
Hi all, I was installing a package *RBGL* of bioconductor. However, I had some issues while installing it. I asked the devel group of bioconductor and they told me to consult this group. Here is my conversation with the bioconductor group related to the problem *Me-* I was trying to install the

[R] [R-pkgs] qdap 0.2.0 released

2013-02-04 Thread Tyler Rinker
. Tyler Rinker ___ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] Long equation in documentation

2012-12-09 Thread Tyler Rinker
{isv}\rho_{itu}-(\rho_{ist}\rho_{isu}\rho_{isv} + \rho_{its}\rho_{itu}\rho_{itv}) + \rho_{ius}\rho_{iut}\rho_{iuv} + \rho_{ivs}\rho_{ivt}\rho_{ivu}]/n_i} How can I break the formula and optionally indent the second lower piece; though I'd settle for break it right now? Tyler Rinker Note

Re: [R] Creating an R package in windows- where to put images?

2012-12-09 Thread Tyler Rinker
I recently included a .bib file in a package in the directory: package_name/inst/extdata I then recall this file using: - system.file(extdata/bibTest.bib, package = metaDAT) I assume something similar could be helpful here. From: jdnew...@dcn.davis.ca.us Date: Sun, 9 Dec 2012 22:11:47

[R] homebrew install R

2012-10-30 Thread Frazier, Tyler James
Is there a recommended way to install R with homebrew? Will I completely lose the GUI? .r file command editor? thanks, Ty - Tyler Frazier Department of Transportation Planning and Telematics Technical University Berlin http://www.vsp.tu-berlin.de/ [[alternative HTML version

[R] Question about use of sort.list(sort.list(x)) in rank.r

2012-10-16 Thread Tyler Ritchie
I was looking at rank() and I came across: ... first = sort.list(sort.list(xx)), ... line 32 of rank.r [1] sort.list(x) returns the indices of the values of x in ascending (by default) order. So sort.list(sort.list(x)) returns the same list. So, what am I missing here? -Tyler [1] view

[R] Creating multiple maps so points don't overlap

2012-09-22 Thread Tyler Petroelje
Hello, I am working within package 'maptools' to plot a number of collared animal locations by reading in shapefiles of locations, roads, hydrology, and landownership as imported layers. The trouble I have is that some individual locations are overlapping and I would like to zoom into or create

Re: [R] First value in a row

2012-07-24 Thread Tyler Rinker
This would work: X - lapply(1:nrow(dat1), function(i) rev(dat1[i, -c(1:2)]))sapply(X, function(x) x[!is.na(x)][1]) Date: Tue, 24 Jul 2012 23:56:17 -0300 From: cm...@dal.ca To: smartpink...@yahoo.com CC: r-help@r-project.org; henrik.singm...@psychologie.uni-freiburg.de Subject: Re: [R]

Re: [R] Plot

2012-05-14 Thread Tyler Rinker
That is likely because ferm is a factor.  A scatterplot is two numeric variables.  To make it a scatterplot wrap ferm with as.numeric.  Cheers, Tyler Date: Mon, 14 May 2012 12:21:12 -0700 From: kellycoo...@yahoo.com To: r-help@r-project.org Subject: [R

Re: [R] Error in names(x) - value: 'names' attribute must be the same length as the vector

2012-05-14 Thread Tyler Rinker
I'd throw a browser() in at that point and see what colnames(newdf.int) gives you.  If you have less columns than names this is likely the reason for the error. You can get the same error with: colnames(mtcars) - LETTERS Cheers,Tyler Date: Mon, 14

Re: [R] Plot

2012-05-14 Thread Tyler Rinker
), xlim=c(0, 14)) Cheers,Tyler From: tyler_rin...@hotmail.com To: kellycoo...@yahoo.com; r-help@r-project.org Date: Mon, 14 May 2012 16:31:26 -0400 Subject: Re: [R] Plot That is likely because ferm is a factor. A scatterplot is two numeric variables

Re: [R] How to specify multiple regular expressions for pattern argument

2012-05-11 Thread Tyler Rinker
I'm curious about the 'real' answer myself but this would work: ls(pattern='^d')[ls(pattern='^d') %in% ls(pattern='[[:digit:]]$')] Cheers,Tyler Rinker Date: Fri, 11 May 2012 13:18:59 -0500 From: jun.shen...@gmail.com To: r-h...@stat.math.ethz.ch

Re: [R] for loop problem

2012-04-30 Thread Tyler Rinker
I don't really work with dates but thought I'd pass a solution on.  I think that there some great packages for handling dates though (lubridate) and you may want to convert your data to a true date instead of separate columns. # FUNCTION TO INDEX DATES date.int - function(month, year, day){

Re: [R] introducing R to high school students

2012-04-18 Thread Tyler Rinker
to engage students in authentic learning with powerful tools that they may use later on.   I would encourage physics teachers to incorporate R too.   Tyler Rinker From: indra_cali...@yahoo.com To: R-help@r-project.org Subject: Re: [R] introducing R to high school students Hi Chris, I am not sure

Re: [R] Choose between duplicated rows

2012-04-14 Thread Tyler Rinker
My solution: SP - split(df, df[, 1:2]) minner - function(x, col = 'numMiss') {    x[which.min(unlist(x[,col])), , drop=FALSE]} NEW - do.call('rbind', lapply(SP, minner))SP2 - split(NEW, NEW[, 'id'])do.call('rbind', lapply(SP2, function(x) minner(x, 'A'))) Cheers,Tyler Date: Sat, 14 Apr 2012

[R] Missing CRAN Mirror

2012-04-06 Thread Tyler Rinker
of this repository? Cheers,Tyler Rinker If this was not the appropriate place for this question please feel free to direct me to a more appropriate place to ask this question. [[alternative HTML version deleted

[R] FlexMix for clustering of gene expression data

2012-03-28 Thread Tyler Funnell
Hello, I'm trying to cluster gene expression data as in http://bioinformatics.oxfordjournals.org/content/28/2/222.full It looks like they are using some combination of FlexMix and mgcv but I haven't been able to figure out the exact steps necessary to perform the clustering. Has anyone else

Re: [R] Reshape from long to wide

2012-03-20 Thread Tyler Rinker
]) Cheers,Tyler From: jorgeivanve...@gmail.com Date: Tue, 20 Mar 2012 00:29:08 -0400 To: alyaba...@gmail.com CC: r-help@r-project.org Subject: Re: [R] Reshape from long to wide Hi aly, Try # your data x - structure(list(family = c(14L, 14L, 15L, 15L, 17L, 17L, 18L, 18L, 20L, 20L, 24L, 24L

Re: [R] paste (CTRL + v) not working rgui

2012-03-19 Thread Tyler Rinker
I attempted the advice of Ajay but found that the names ◦Network DDE DSDM, ◦Network DDE, ◦Clipbook were not found in that location. Here's a bit more information about the problem I've discovered. I have a manual I've created of useful R tricks I've elarned that I created as a word doc

[R] paste (CTRL + v) not working rgui

2012-03-17 Thread Tyler Rinker
can give me with solving this problem as I use the command very frequently. Cheers,Tyler Rinker [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] Apt-get

2012-03-15 Thread Tyler Ritchie
rights to add any additional repositories, you'll need your IS folks to add them for you. -Tyler [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] How to choose a button and scrape the website data

2012-03-05 Thread Tyler Ritchie
] http://automa.to/ [2] http://sikuli.org/ -Tyler On Mon, Mar 5, 2012 at 10:38 AM, Guang Dai guang@albertamsa.ca wrote: hi all, I'm working on scrapping some website data to build a database. Under most cases, I can use package XML to get the dataset. However, some of the website doesn't

Re: [R] Automating R script with Windows 7

2012-03-05 Thread Tyler Ritchie
You are looking to run R in batch mode see How to run R in batch mode [1] and the Quick-R on Batch Processing [2] [1] http://turing.une.edu.au/~stat356/Rbatch.html [2] http://www.statmethods.net/interface/batch.html On Mon, Mar 5, 2012 at 8:55 AM, vincent.deluard

Re: [R] Vertical string with horizontal letters

2012-02-02 Thread Tyler Rinker
One possible solution is to use strsplit to break on each character and then paste to put in a \n after each character.  Then when you plot the text should be in the format you desire. x - outputy - unlist(strsplit(x, NULL))p - cat(paste(y, collapse=\n)) plot.new()text(.5, .5, paste(y,

Re: [R] Vertical string with horizontal letters

2012-02-02 Thread Tyler Rinker
I apologize for the improperly formatted submission. I had my hotmail set to plain text instead of rich text. x - outputy - unlist(strsplit(x, NULL)) plot.new()text(.5, .5, paste(y, collapse=\n)) From: tyler_rin...@hotmail.com To: israelb...@hotmail.com; r-help@r-project.org Date: Thu, 2

Re: [R] tm package: handling contractions

2012-01-27 Thread Tyler Rinker
)#=== Cheers,Tyler Date: Fri, 27 Jan 2012 09:50:51 -0500 From: frien...@yorku.ca To: r-help@r-project.org Subject: [R] tm package: handling contractions I tried making a wordcloud of Obama's State of the Union address using the tm package to process the text

Re: [R] References for book R In Action by Kabacoff

2011-12-01 Thread Tyler Rinker
In the ebook version there is a list of references (pp. 434-437). Date: Thu, 1 Dec 2011 10:48:45 +0100 From: lig...@statistik.tu-dortmund.de To: ravi.k...@gmail.com CC: r-help@r-project.org Subject: Re: [R] References for book R In Action by Kabacoff On 01.12.2011 10:10, Ravi Kulkarni

Re: [R] Problem creating reference manuals from latex

2011-11-15 Thread Tyler Rinker
seemed easiest ot me) Go to the command prompt and type: mpm --verbose --install inconsolata Thanks again Duncan! I appreciate it. Tyler Date: Tue, 15 Nov 2011 06:15:05 -0500 From: murdoch.dun...@gmail.com To: tyler_rin...@hotmail.com CC: r-help@r-project.org Subject: Re: [R] Problem

[R] Problem creating reference manuals from latex

2011-11-14 Thread Tyler Rinker
manuals again without the Internet. While the code above worked in the past I'm open to alternative methods. Version: R 2.14.0 2011-10-31 OS: Windows 7 Latex: MikTex 2.9 Thank you Tyler Rinker path - find.package('tm') system(paste(shQuote(file.path(R.home(bin), R)),CMD, Rd2pdf,shQuote

Re: [R] Problem creating reference manuals from latex

2011-11-14 Thread Tyler Rinker
, unfortunately I am not grasping what I need to do. Tyler Date: Mon, 14 Nov 2011 21:59:10 -0500 From: murdoch.dun...@gmail.com To: tyler_rin...@hotmail.com CC: r-help@r-project.org Subject: Re: [R] Problem creating reference manuals from latex On 11-11-14 9:44 PM, Tyler Rinker wrote: R

Re: [R] Building a statically-linked extension?

2011-11-11 Thread Tyler Pirtle
On Fri, Nov 11, 2011 at 2:09 AM, Prof Brian Ripley rip...@stats.ox.ac.ukwrote: On Thu, 10 Nov 2011, Tyler Pirtle wrote: Hi there, I'm writing an R extension that has a C component that relies on two third party libraries that I'm bundling with the extension. I'd like to statically link

[R] Building a statically-linked extension?

2011-11-10 Thread Tyler Pirtle
- 1, does R allow statically linked C extensions to be used at runtime? 2, are there any standard ways of having R build my extension statically? Thanks, Tyler [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

[R] Rd2pdf error after 2.14 upgrade‏

2011-11-07 Thread Tyler Rinker
The command Rd2pdf was rather useful for opening a package's manual when you don't have access to the Internet (by using latex to pdf conversion). However the way the function seems to operate changed at version 2.14 of R. The noted changes listed on CRAN for this function are as follows

Re: [R] Rd2pdf error after 2.14 upgrade‏

2011-11-07 Thread Tyler Rinker
I have determined this is a MikTex problem and not an R problem. I apoligize for the post. From: tyler_rin...@hotmail.com To: r-help@r-project.org Date: Mon, 7 Nov 2011 20:38:54 -0500 Subject: [R] Rd2pdf error after 2.14 upgradeþ The command Rd2pdf was rather useful for opening a

Re: [R] summarizing a data frame i.e. count - group by

2011-10-23 Thread Tyler Rinker
This could be done with aggregate but I am unfamiliar with it so I'll give what I think you want from your message using the library 'reshape' that you'll have to doneload. If you're problem is large the data.table library would be much faster. You haven't really said what you'd like to get

Re: [R] Summary stats in table

2011-10-23 Thread Tyler Rinker
I had to set it up as a data frame and then it workd beautifully with the reshape package. DF-data.frame(A,B,x) library(reshape) cast(DF, A ~ B, fun.aggregate=mean, margins=c(grand_row, grand_col)) Cheers Tyler Date: Sun, 23 Oct 2011 14:39

Re: [R] Expanding rows of a data frame into multiple rows

2011-10-22 Thread Tyler Rinker
To further Weidong Gu's suggestion merge would give you what you want but not the numeric column corresponding to the sector. Adding that would be easy enough via transform if you really desired it. Tyler obs.l-sapply(input$observations,length) desire.output-data.frame(site=rep(1:6

[R] Square ended segments

2011-10-19 Thread Tyler Rinker
Good Afternoon R Community, I am working on plotting behavior codes over short durations of time (a few seconds at a time over 1-2 hrs). I am utilizing as.POSIXct to store the time. I wanted to make a quasi time line using these time. I utilized the segments function to represent these

Re: [R] Square ended segments

2011-10-19 Thread Tyler Rinker
says ... further graphical parameters (from par) right in the help page for ?segments. I apoligize for this oversight and appreciate your response anyway. Tyler Rinker Date: Wed, 19 Oct 2011 17:34:27 -0400 Subject: Re: [R] Square ended segments From: sarah.gos...@gmail.com To: tyler_rin

  1   2   >