search for: tangled

Displaying 20 results from an estimated 206 matches for "tangled".

2014 May 30
1
R CMD check for the R code from vignettes
...Assign 1 to x: \Sexpr{x <- 1} <<>>= x + 1 @ \end{document} That is because the inline R code is not written to the R script during the tangling process. When an R package vignette contains inline R code expressions that have significant side effects, R CMD check can fail because the tangled output is not correct. What I showed here is only a trivial example, and I have seen two packages that have more complicated scenarios than this. Anyway, the key thing that I want to discuss here is, since the R code in the vignette has been executed once during the weaving process, does it make mu...
2024 Sep 05
1
lattice log scale labels.
Do the "at" and "labels" components of the "scales" list argument to xyplot not do what you want? Cheers, Bert On Thu, Sep 5, 2024 at 4:05?AM Gerrit Draisma <gdraisma at xs4all.nl> wrote: > Dear R-helpers, > > In the plot below I would like to have labels at positions 2^(3*(0:10)), > and keep the labels in the exponential format. > I tried
2008 Nov 29
3
including Sweave tangled code in '.Rnw' document
...in my homework each time I run 'R CMD Sweave HW4.Rnw; pdflatex HW4.tex'. e.g I envision something such as: \begin{document} <<fig3, echo=false, results=hide, fig=true, eps=F>>= plot(runif(1000)) @ TA here is my code: % some manner of Sweave/LaTeX macro to include the R code tangled out of this '.Rnw' document % in this case it would just be 'plot(runif(1000))', perhaps manually enclosed in a verbatim environment \end{document} I am running R-2.6.2 on Ubuntu Hardy Heron. Thanks for all your help with Sweave. I think it is a fantastic tool. Kyle [[alterna...
2024 Sep 05
1
lattice log scale labels.
Dear R-helpers, In the plot below I would like to have labels at positions 2^(3*(0:10)), and keep the labels in the exponential format. I tried using yscale.components.default. *This* gives the right format of the labels: -------- > yscale.components.default(lim= c(0,30),log=2) .... $num.limit [1] 0 30 ... [1] 0 5 10 15 20 25 30 ... $left$labels$labels [1] "2^0" "2^5"
2011 Jun 09
2
Bug#571634: correct link to patch, another tangled issue in current stable
retitle 571634 xen-utils-common vif-common.sh still using --physdev-out, --state found 571634 4.0.0-1 thanks Hi, That link to upstream patch in the last message is apparently broken, a working one is: http://xenbits.xen.org/hg/xen-unstable.hg/rev/b0fe8260cefa but also more importantly for the current stable package: http://xenbits.xen.org/hg/xen-4.0-testing.hg/rev/af7110f4f803 Because the
2014 Jun 05
1
Plugin mail-filter tangles
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 24 May 2014, Stanislas SABATIER wrote: > Dovecot is handling the final delivery, through mail-filter plugin as > follow : > > 1. both users contexts are created from user_db queries > 2. mail-filter plugin is init for user2 > 3. /mail_user_created/ for user2 > 4. mai-filter plugin arguments are parsed for user2 > 5.
2017 Feb 21
2
R CMD build error during vignettes build
Hello, I'm trying to rebuild a package (using R version 3.3.2 (2016-10-31)) that has not seen any changes since it was last built without problems in previous R versions. It fails during vignette building with: ---<--------------------cut here---------------start------------------->--- $ R CMD build diveMove * checking for file ?diveMove/DESCRIPTION? ... OK * preparing ?diveMove?: *
2003 Aug 26
2
Seeking Packaging advice
I have two questions about packaging up code. 1) Weave/tangle advisable? In the course of extending some C code already in S, I had to work out the underlying math. It seems to me useful to keep this information with the code, using Knuth's tangle/weave type tools. I know there is some support for this in R code, but my question is about the wisdow of doing this with C (or Fortran, or other
2014 May 24
4
Plugin mail-filter tangles
System installed : Dovecot 2.2.12 as IMAP server and Postfix as MTA. Dovecot and Postfix connected via LMTP + Dovecot mail plugin 'mail-filter' to encrypt/decrypt emails on the fly with public/private users' RSA keys. Case study : You have 3 (virtuals) users belonging to 3 different domains, all managed by your Dovecot server. One of these users is connected to Dovecot with MUA
2013 Jun 10
1
padding specific missing values with NA to allow cbind
Dear list Getting very frustrated with this simple-looking problem > m1 <- lm(x~y, data=mydata) > outliers <- abs(stdres(m1))>2 > plot(x~y, data=mydata) I would like to plot a simple x,y scatter plot with labels giving custom information displayed for the outliers only, i.e. I would like to define a column mydata$labels for the mydata dataframe so that the command >
2020 Jul 14
2
File server and DC or just member
...ository. If we lost one or all of the DC VM's we'd still have the DC on the file-server too. So, why not make it a full DC, and not just a member server? [Or even a RODC] [File shares will be on separate volumes/disks, from any of the OS or Samba/AD disks - so migrating data isn't also tangled with AD or OS components.] -Greg
2018 Jul 09
3
Parametrized Vignettest in R packages
So far you haven't provided a reproducible example yet. I wonder what exactly the object `sample_analysis` is. Sounds like it is an environment. If that is the case, devtools::build_vignettes() will tangle (for the meaning of "tangle", see ?tools::buildVignette) your vignette into an invalid R script. Environments cannot be represented via dput(), so knitr's purl() (eventually
2013 Apr 25
1
[LLVMdev] Proposal for new Legalization framework
...tner wrote: > On Apr 24, 2013, at 6:27 PM, Reed Kotler <rkotler at mips.com> wrote: >> I would really push towards doing this in LLVM IR as the next step. > What makes you say that? > Partly for the reasons Dan stated. For me, the IR is definitely way more friendly too and not tangled up in lots of undocumented obscurity as selection DAG is with tablegen and many other idiosyncrasies of the backend design. Solving problems with selection DAG, to me, is like playing dungeons and dragons. I feel like I need to ask the wizard for a magic spell to capture a gnome. I don't fe...
2009 Mar 02
2
Fwd: Converting R to Sweave (Rnw)
Hi I am thinking about using Sweave more frequently, especially for documenting code. But the syntax is slightly awkward for me (<<name>>= ... @), and I was thinking if there would be a way of importing the type of code extracted from an Rnw file back into an Rnw file? The advantage would be that the code could run in R without tangling. Obviously, sweave options could not be
2011 Mar 31
1
CentOS Digest, Vol 74, Issue 31
thanks for the reply, Phil It would, were udev not inserting USB and/or eSATA drives at /dev/sdb1 and/or /dev/sdc1 and exposing the array to the udev rule intended to handle only removable devices (at sdc or sdd). The array then mounts unpredictably in /media/xxx-sdc1 or sdd1 - not what is wanted - depend on how many removable devices are plugged at the time of rebooting. Of course, a single
2017 Dec 06
2
FW: R-devel error
Interesting, yesterday I had exactly this problem, but today I solved it (see the R-pkg-devel list) by _installing_ R-devel and > update.packages(checkBuilt = TRUE) I also tried it on Martin's Fedora 26 example below. Worked fine (had to install some packages...) On ubuntu 16.04. G?ran Brostr?m On 2017-12-06 11:29, Martin Maechler wrote: >>>>>> Pearce, Robert
2009 Aug 16
4
[LLVMdev] Test compiler help
Hi all, I'm writing a test compiler to understand the overall structure of LLVM and I managed to produce IR for expressions, functions and function calls. I'm following the Kaleidoscope example and had a hard time de-tangling the language specifics from LLVM syntax. Anyhow, I got here and I'd like some more specific help to finish my example. My very simple language has global
2017 Dec 05
2
FW: R-devel error
I am resubmitting this bug report but with additional information. I am running this with windows 10: w64-mingw32 with R Under development (unstable) (2017-12-04 r73829). I build 'httk' from the command prompt using 'R CMD build httk' after installing the required packages. Then when the vignettes are being created, it crashes. Today I installed the latest versions of Rtools,
2017 Feb 22
0
R CMD build error during vignettes build
...p you with getting more verbose output from 'R CMD build', but the error can be reproduced with other means, as outlined below. When trying to build the vignette from the git version of your package (as part of R CMD build), I see the same error message. Investigating further, the "tangled" file diveMove.R from 'tools::buildVignette("diveMove.Rnw")' has 68 lines and stops short of the code chunk "zoc" where the error occurs. Running that code obviously works fine. However, 'tools::buildVignette("diveMove.Rnw", weave = FALSE)' out...
2007 Mar 02
1
extracting data from zoo series
Dear List, Sorry if I'm overlooking something simple here but I have gotten a bit tangled. I am trying to print the next five values(with their dates), which occur after a certain condition is met. I have a series of data in zoo format, call it "A". From this series I have created a subset (also in zoo format) based on a certain condition, call this series "B"....