search for: setkeys

Displaying 20 results from an estimated 172 matches for "setkeys".

Did you mean: setkey
2005 Sep 16
1
setkeys and Sweave
Hi there: Using \setkeys{Gin}{width=1.0\textwidth} \setkeys{Gin}{height=10cm} \setkeys{Gin}{height=0.8\textwidth} all seem to work under R-2.1.1 under sparc, solaris2.9, but \setkeys{Gin}{scale=0.3} \setkeys{Gin}{angle=90} do not work. I have not been able to find relevant information, googling on setkeys proved confus...
2006 Dec 12
1
Sweave, Xfig, pdflatex and \setkeys
...ombined PDF and LaTeX. So I get two files, one foo.pdf with the drawings without the text and foo.pdftex with some LaTeX code that ensures the text lands in the right place together with the drawing. I'm supposed to \input{} this file in my LaTeX document. Trouble is that Sweave defines (with \setkeys) the default width of \includegraphics to be 0.8 times the \textwidth. The result is that the graphic is scaled, but not the text. I was looking for a way to temporarily undefine the default width of included graphics, but without success. Does anyone know how to undo a definition that has been se...
2006 May 03
5
SNAT on IPSEC tunnel with kernel 2.6/KAME tools?
Hi, Could not conceive an working set-up for an IPSEC VPN made with racoon/setkey on which I have one address on my side acting as an SNAT router for all traffic from my network to a network segment on the far side. my network --- my gateway ---------------------- remote network 10.0.0.0/24 - 10.0.0.1 (10.253.0.2) -- tunnel - 192.168.0.0/22 All traffic starts on my side, so if I can
2009 Jun 25
1
Setting default plot size in Sweave
Dear Colleagues: I have used \SweaveOpts{prefix.string=plot, eps = FALSE, pdf = TRUE} \SweaveOpts{width=5, height=4} <<fig=T>>= plot(...) @ But the figure still has a width of 80% of the text width, the default set up by Sweave, which issues a LateX command in Sweave.sty of \setkeys{Gin}{.8\textwidth}. Sweave.sty has a command \ifthenelse{\boolean{Sweave at gin}}{\setkeys{Gin}{width=0.8\textwidth}}{}% but I don't know how to set some parameter 'gin' to prevent the setkeys from being executed. I would like to be able to set the default graph dimensions at the s...
2004 Jul 22
0
Setkey
I use ipsec on my Linux machine (Fedora 2 Core), and controls it using "setkey" scripts. Does anyone knows of a C interface/library that will enable me to control it from C code? The "setkey" C function is something completely different. Yuval Lifshitz CableMatrix Inc. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl
2005 Apr 27
5
26sec kame ipsec tunnel : packets leave unencrypted...
Hi everyone, First of all, this is my first post in this ML, so I''m not sure that this is the right place for my question (please don''t shoot me down ;)). For the record, I''ve been reading and using LARTC for almost 3 years now, and it''s a great help for anyone who wants to learn linux networking. My problem: I want to setup a tunnel for the following
2006 May 31
0
IPSec tunnels and routing: strange behaviour
Hello, My name is Fermín Galán and I''m currently working with IPSec tunnels. Recently, I was setting a IPSec tunnelling sample scenario (maybe the simplest one :), where I observed some strange behaviour that I like to describe in the list, just in the case somebody knows what can be the cause, please. The scenario involves four hosts configured in the following way:
2011 Feb 07
0
using character vector as input argument to setkey (data.tablepakcage)
Hi Sean, Try : key(test.dt) = c("a","b") Btw, the posting guide asks you to contact the maintainer of the package before r-help. Otherwise r-help would fill up with posts about 2000+ packages (I guess is the reason). In this case maintainer("data.table") returns "datatable-help at lists.r-forge.r-project.org" (cc'd) where you will be very welcome.
2003 May 15
2
FW: iHEADS UP: ipsec packet filtering change
> -----Original Message----- > From: Greg Panula [mailto:greg.panula@dolaninformation.com] > Sent: 12 May 2003 11:10 > To: Matthew Braithwaite > Cc: stable@freebsd.org > Subject: Re: iHEADS UP: ipsec packet filtering change > > You don't really need the gif tunnels for ipsec. Gif is more geared > towards ipv4 <=> ipv6 type tunnels. A few of ipsec
2005 Nov 17
3
changing figure size in Sweave
Hi In Sweave, how does one change the size of the plots? I tried using a hook: <<echo=FALSE, print=FALSE, fig=TRUE>>= options(SweaveHooks=list(fig=function() ps.options(width=1))) library(graphics) pairs(iris) @ but this didn't change the size of the figure. How to make the figures a different size? -- Robin Hankin Uncertainty Analyst National Oceanography Centre,
2015 May 29
3
Mi script R es muy lento
Hola, quiero compartir con vosotros mi problema y la solución que me han planteado. Mi programa carga Outcomes.csv y Set-A.csv (descargados de http://garrickadenbuie.com/blog/2013/04/11/visualize-physionet-data-with-r/, apartado Getting Started --> the code and the data set) de unos 50MB entre los dos. Mi código era: # Transforma csv a data frame seta <- read.csv('Set-A.csv');
2005 Jan 06
2
autoscaling plot font size in Sweave output possible?
...schnipp------------------------->8--- \documentclass{article} \usepackage{graphicx} \newcommand{\mytext}{Some normal sized text. Some normal sized text. Some normal sized text. Some normal sized text.} \begin{document} \SweaveOpts{prefix.string=pics/miniexample} \mytext\par %% small plot: \setkeys{Gin}{width=.45\linewidth} @ <<test0,echo=F,fig=T>>= x <- 1:10 y <- sin(x) plot(x,y, xlab="some x label", ylab="some y label" ) @ %def \par\mytext \mytext %% normal sized plot: \setkeys{Gin}{width=.9\linewidth} @ <<test1,echo=F,fig=T&g...
2010 Sep 12
1
non-integer key for data.table
Hi all, Say if I have a data table which consists of 4 column: itemID, location and price, which location is a text field and itemID and location together forms the primary keys. when I tried to run setkey (DT, itemID, location), I got the following message: Error in setkey (DT, itemID, location) : All keyed columns must be storage mode integer Is there any way I could define a non-numerical
2009 Aug 22
1
improving ?RweaveLatex
Dear developers Please read below. On 6/25/09, Marc Schwartz <marc_schwartz at me.com> wrote: > You can use the following *after* the \begin{document} directive: > \setkeys{Gin}{width=0.8\textwidth} > > The above is the default. Reset it to what you would like. > > Note, as per that manual page, that the Sweave options 'height' and 'width' > affect the size of the PDF and EPS files created, but it is the above > command that control...
2005 May 17
4
HOW TO Enable IPSec for FreeBSD.......???
Hi, I have tried to enable IPSec support for my FreeBSD( 4.11-RELEASE) system. First, I copied the generic kernel configuration file to a file I called MYKERNEL: #cp /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/conf/MYKERNEL Then, I added the following three lines to the options section of /usr/src/sys/i386/conf/MYKERNEL: options IPSEC options IPSEC_ESP options
2007 May 04
1
Multiple SA in the same IPSec tunnel
Hi, When a IPSec tunnel is established between two peers, I understand that the "normal" situation is to have in a given moment two SAs, one for each direction of the tunnel. However, in one of my tunnels (peer P1 running GNU/Linux with setkey and racoon; peer P2 is a Cisco router) there is a large number (around 19) of SAs established (this has been observed in P1 with
2010 Aug 17
3
Sweave
Dear R users, I am using Sweave. I would like to use the width option for the graphics : \begin{figure}[h!] \centering \includegraphics[width=0.7\textwidth]{x} \end{figure} How do I get this ? Thank you very much, Randall [[alternative HTML version deleted]]
2007 Mar 05
1
File exists?
Hello, I''m trying to put 3 nodes in a vpn in tunnel mode. When I run setkey on the following file, I end up with The result of line 33: File exists. That error isn''t overly helpful, so I was hoping that someone could explain the issue. Here''s the file, with line 33 highlighted. Help appreciated. Mike # Flush the SAD and SPD flush; spdflush; # Add SA for
2018 Jan 07
1
foverlaps data.table error
Hello All Have 2 tables dt1: start end kwh10min 2013-04-01 00:00:54 UTC 2013-04-01 01:00:10 UTC 0.05 2013-04-01 00:40:26 UTC 2013-04-01 00:50:00 UTC 0.1 2013-04-01 02:13:20 UTC 2013-04-01 04:53:42 UTC 0.15 2013-04-02 02:22:00 UTC 2013-04-01 04:33:12 UTC 0.2 2013-04-01 02:26:23 UTC 2013-04-01 04:05:12 UTC 0.25 2013-04-01 02:42:47 UTC 2013-04-01 04:34:33 UTC 0.3 2013-04-01 02:53:12 UTC 2013-04-03
2013 Mar 19
1
How can I eliminate a loop over a data.table?
I've two data.tables as shown below: *** N = 10 A.DT <- data.table(a1 = c(rnorm(N,0,1)), a2 = NA)) B.DT <- data.table(b1 = c(rnorm(N,0,1)), b2 = 1:N) setkey(A.DT,a1) setkey(B.DT,b1) *** I tried to change my previous data.frame implementation to a data.table implementation by changing the for-loop as shown below: *** for (i in 1:nrow(B.DT)) { for (j in nrow(A.DT):1) { if