search for: tangl

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

Did you mean: tang
2014 May 30
1
R CMD check for the R code from vignettes
Hi, Recently I saw a couple of cases in which the package vignettes were somewhat complicated so that Stangle() (or knitr::purl() or other tangling functions) can fail to produce the exact R code that is executed by the weaving function Sweave() (or knitr::knit(), ...). For example, this is a valid document that can pass the weaving process but cannot generate a valid R script to be source()d: \documentc...
2024 Sep 05
1
lattice log scale labels.
...> 36,7307872110,4700880,33719") > library(lattice) > yscale.components.log2 <- function(...){ > ans <- yscale.components.default(...) > ans$left$labels$labels <- > parse(text = ans$left$labels$labels) > ans > } > > > # pdf("tangle_mathFig06.pdf") > xyplot(c+t+u~n,data=x,type="b", xlab="Size", ylab="Number of tangles", > scales=list(x=list(at=4*(1:9)),y=list(log=2)), > yscale.components=yscale.components.log2, > auto.key=list(columns=3,text=c("(choose m n)"...
2008 Nov 29
3
including Sweave tangled code in '.Rnw' document
...impressed at how much time and effort it saves me. I, however, have run up against a problem which I have not been able to solve using any of the Sweave/LaTeX tricks I know. I work through my homework one problem at a time, typesetting equations and writing R code, etc. and occasionally use 'Stangle()' from within R to extract the code if I need to pin down a problem or experiment interactively. I would like to be able to include this resultant code in a verbatim environment in my final TeX'ed up document as an appendix so that the grader can look it over, etc. I could implement thi...
2024 Sep 05
1
lattice log scale labels.
...0,138 28,30421755,83776,808 32,471435600,620576,4956 36,7307872110,4700880,33719") library(lattice) yscale.components.log2 <- function(...){ ans <- yscale.components.default(...) ans$left$labels$labels <- parse(text = ans$left$labels$labels) ans } # pdf("tangle_mathFig06.pdf") xyplot(c+t+u~n,data=x,type="b", xlab="Size", ylab="Number of tangles", scales=list(x=list(at=4*(1:9)),y=list(log=2)), yscale.components=yscale.components.log2, auto.key=list(columns=3,text=c("(choose m n)","tangles"...
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
...Error: processing vignette 'diveMove.Rnw' failed with diagnostics: missing values and NaN's not allowed if 'na.rm' is FALSE Execution halted ---<--------------------cut here---------------end--------------------->--- There are no problems running the R code resulting from tangling the vignette. Specifically, the code referred to in the error is a single function call, which returns with no warnings or errors, so I have little to hold on to. How can I get more verbose debug from "R CMD build"? -- Seb
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...
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
...for the mydata dataframe so that the command > text(mydata$y, mydata$x, labels=mydata$labels) will label those rows where outliers[i] = TRUE with text but is otherwise blank The first problem I have is that due to some NAs in mydata, nrows(outliers) < nrows(mydata) and I'm getting in a tangle trying to pad the appropriate rows of outliers Thanks Rob
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 called by the vignette engine) cannot really create a valid R script when your vignette contains `params` that...
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...
2009 Mar 02
2
Fwd: Converting R to Sweave (Rnw)
...requently, 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 imported, but that would be fine for me. Below an example of the code generated by Rtangle, which I would like to import into a sweave file. Cheers Rainer ################################################### ### chunk number 1: a ########################...
2011 Mar 31
1
CentOS Digest, Vol 74, Issue 31
...nts fails due the slots left empty below /dev/sdd. If no hotplug devices are present while booting, fstab handles mounting of the system and RAID volume: SATA system HDD /dev/VolGroup00/LogVol00 / RAID array LABEL=STORE /store ## mounts == /dev/sdb1 I realise this description is kind of a tangle, but i am essentially looking for a way to hard-map the 3ware RAID controller to /dev/sdb (UUID won't work as there are multiples of this system) before PCI (?) enumeration picks up the USB and LSI-managed devices so that udev can take care of the device at /dev/sdc and above. I've tried b...
2017 Dec 06
2
FW: R-devel error
...nstalling the package to process help pages > * saving partial Rd database > * creating vignettes ...sh: line 1: 16259 Segmentation fault (core dumped) '/u/maechler/R/D/r-devel/inst/bin/Rscript' --vanilla --default-packages= -e "tools::buildVignettes(dir = '.', tangle = TRUE)" > '/tmp/RtmpV1grVw/xshell3e793c7d5258' 2>&1 > ERROR > > *** caught segfault *** > address 0x1, cause 'memory not mapped' > > Traceback: > 1: .Call(C_stri_locate_all_regex, str, pattern, omit_no_match, opts_regex) >...
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 variables and static functions only, so I can focus on the code generation. My problems are below. 1. Kaleidoscope uses function calls,...
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
...te 'diveMove.Rnw' failed with diagnostics: > missing values and NaN's not allowed if 'na.rm' is FALSE > Execution halted > ---<--------------------cut here---------------end--------------------->--- > > There are no problems running the R code resulting from tangling the > vignette. Specifically, the code referred to in the error is a single > function call, which returns with no warnings or errors, so I have > little to hold on to. How can I get more verbose debug from "R CMD > build"? > Are you sure that the complete R code of t...
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"...