Displaying 20 results from an estimated 43 matches for "subsitut".
Did you mean:
subsitute
2013 Apr 03
1
Documentation error in subsitute
Hi all,
The documentation for substitute currently reads:
Substitution takes place by examining each component of the parse
tree as follows: If it is not a bound symbol in ?env?, it is
unchanged. If it is a promise object, i.e., a formal argument to
a function or explicitly created using ?delayedAssign()?, the
expression slot of the promise replaces the symbol. If it is an
ordinary variable,
1998 Aug 20
0
macro subsitution inconsistancies
I'm having a problem with 1.9.18p7 (and I've checked the sources for 1.9.18p8 and the ntdom branch also, so I suspect the problem exists for those builds also).
I want to have certain shares show up and configurations happen depending on the user name, so I've defined parameters in /etc/smb-confs/smb.conf.USERNAME, like so:
/etc/smb-confs/smb.conf.abakun:
[onlyabakun]
blah =
2005 Feb 16
2
Monitor does not like variable subsitutions
Hello,
I have been attempting to get the Monitor function to
accept a loal variable substitution in order to use
the same filename later in the same context. Monitor
does not appear to like it, as it attempts to use
wav|filename as the recording type, as opposed to just
wav.
Here is what I get if I just supply a filename
directly (it works fine):
--context-----------------------------
exten
2004 Feb 12
1
Porting let* from Common LISP to R
...it provides an order to the
binding and visibility of preceding variables.".
I have included the recursive Common LISP function in which let* block appears
and a straighforward R port.
Thank you,
Gabriel Baud-Bovy
The let* block appears in the following LISP function:
(defun infer (goal subsitution kb)
(if(null kb)
(make-empty-stream)
(let* ((assertion (rename-variable (car kb))) ; *********
(match ([...])))
(if (equal match 'failed)
(infer goal substitutions (cdr kb))
(if (rulep assertion)
(combine-str...
2007 Sep 11
2
Function to get a sequence of months
...onths = c("July", "August",.............."January")
If start.month = 6 and end.month = 1 then I could use (not properly) seq()
function and then I would get month as a vector with elements 6,5,4,3,2, and
1 by choosing "by=-1". Is there any function which can subsitute the seq()
function in my case?
Regards,
[[alternative HTML version deleted]]
2008 Dec 01
1
trivial spelling correction
...=======================
--- grep.Rd (revision 47031)
+++ grep.Rd (working copy)
@@ -102,7 +102,7 @@
For \code{sub} and \code{gsub} a character vector of the same length
and with the same attributes as \code{x} (after possible coercion).
- Elements of character vectors \code{x} which are not subsituted will
+ Elements of character vectors \code{x} which are not substituted will
be return unchanged (including any declared encoding). If
\code{useBytes = FALSE}, either \code{perl = TRUE} or \code{fixed =
TRUE} and any element of \code{pattern}, \code{replacement} and
2012 Oct 11
1
a question
...nt to read
coefficients(omega,alpha,beta) and timeseries(x) and conditional
SD(s). because i need them to use in other formula.
for example :omega+x[1]+s[3]
and maybe i have several simulation then i need a general way to read
them, not to read with my eyes for example the quantity of omega then
subsitute in formula.
Best.
M.Izadi
2005 Aug 03
1
deparse(substitute(x)) and S3 methods
...} else {
retval <- symcoca(y, x, n.axes = n.axes, R0 = weights,
symmetric = symmetric, nam.dat)
}
return(retval)
}
My problem is with :
nam.dat <- list(namY = deparse(substitute(y)),
namX = deparse(substitute(x)))
deparse(subsitute(x)) and deparse(subsitute(y)) return a textual
representation of x and y.
x and y are both data.frames. I assume this is because they are being
evaluated in coca() and passed on as something different to
coca.default.
I also have coca.formula() so I want to do method dispatch on whether x
is a f...
2009 Apr 29
1
R Macro Question
...or A matrix
pa<-rep(0,ncol(optiona))
for (i in 1:ncol(optiona)){
pa[i]<-round(mean(optiona[,i],na.rm=TRUE),2)
}
pa1<-as.data.frame(pa)
I can repeat the codes for other options such as "B", "C" and "D", but I am wondering if I can do it
in a macro way--subsituting "A" "a" in the codes with "B" "b", etc.
In SAS it can be done easily, but I could not get it to work in R.
Waiting for your reply.
And thank you so much in advance.
Meng
[[alternative HTML version deleted]]
2002 Sep 27
2
FIPS 140-2 certification
...penSSH through the
certification process, and that's what I'm exploring.
I'd really appreciate knowing what the core developers think about this,
and how willing they would be to assisting in the process. I know there
will need to be a fair amount of documentation, and there is no
subsitute for first-hand knowledge. Also, it seems pretty clear that at
least some code changes will be needed including self-tests, a new prng,
and work in the key generation & validation modules.
While we (CliniComp) do have some resources including technical writers
and programmers, we certainly...
2015 Mar 13
5
samba 4.1.17 on raspberry pi as ad dc - winbind breaks it again
...;right one"
which made me think. when I setup samba4 as ad controller (samba-tool
domain provision ...) does it not become member of the its own domain?
do I need to add it by hand? I always assumed not do...
- ln -s ... + ldconfig
here I ran into trouble. I saw the notice about needing to subsitute
lib64 with lib if running x86
Well, the pi is definately not x64. but neither is it x86. i chose to
use lib, betting it should fit.
x86_64-linux-gnu I replaced with i386-linux-gnu
- nsswitch.conf
I added the winbind as stated
- samba start
now samba wont start anymore. I guess samba will be re...
2006 Feb 07
1
Opinions needed on call quality vs network latency
Hi,
I am checking out the quality at a few vendors, and althought I know it
doesn`t totally reflect call quality I am using ping as a cheap subsitute to
having a real VoIP testing system
The question I have is this one: given that one service gives me a 80ms ping
(pretty consistantly) and another one gives me 30ms (again very
consistently), is this 50ms difference enough to impact perceived call
quality?
Or will the quality be impossible to...
2005 Oct 05
1
Problems with autoconf example from r-ext.
...ot;could not determine R_HOME"
exit 1
fi
CC=`"${R_HOME}/bin/R" CMD config CC`
CFLAGS=`"${R_HOME}/bin/R" CMD config CFLAGS`
dnl substitute CPPFLAGS and LIBS
AC_SUBST(CPPFLAGS)
AC_SUBST(LIBS)
dnl and do subsitution in the src/Makevars.in
AC_OUTPUT(src/Makevars)
[end autoconf.ac]
I rund autoconf..
[Makevars.in]
PKG_CFLAGS=@CPPFLAGS@
PKG_LIBS=@LIBS@
[end-Makevars.in]
I rund R CMD with
R CMD INSTALL
--configure-args='--with-sbmlode-lib=/data/opt/sbmlodesolve/include \
--with-sbmlode-includ...
2007 Feb 28
1
On PostScript
I have been attempting to create a custom fax cover sheet for a hylafax
web front end called avantfax. It requires as input an encapsulated
postscript file conaining the glyph definitions and the text to be
subsituted as strings having the form XXXX-to-variable or
XXXX-from-variable.
I have been trying to create a valid eps file using a varitiy of methods
with no great succes. However, I ahve uncovered a few bits of information
from my explorations and I wonder if someone here with greater postscript
exprienc...
2001 Aug 24
1
RE: Variable lables (was Re: [R] Reading SAS version 8 data into
...null(tmp) || tmp=="")
{
m <- match.call()
m[[1]] <- as.name('substitute')
tmp <- deparse(eval(m,envir=parent.frame()))
}
return(tmp)
}
I've done some testing, and getlabel seems to work fine as a substitute for
"deparse(subsitute(x))" in the plot commands.
There are a couple of problems. First, attributes are carried along in
sometime unexpected ways. For example, attributes are carried along by all
of the arethmetic operations I tried:
> x <- rnorm(1)
> label(x) <- "x label"
>...
2016 May 26
3
No such Base DN: CN=Produktion A-Studio (alt?), CN=Users, DC=srg2, DC=local / RSAT
2016-05-26 13:51 GMT+02:00 mathias dufresne <infractory at gmail.com>:
> Parenthesis are not yet a good idea with Samba. A colleague created users
> with parenthesis in CN field and we just can't use ldbsearch to look for
> them, as long as we set parenthesis in LDAP filter. We must use wildcard to
> avoid the bug (bug because we can use escaped parenthesis in filters with
2016 May 26
0
No such Base DN: CN=Produktion A-Studio (alt?), CN=Users, DC=srg2, DC=local / RSAT
...> Stupid me!
>
> https://msdn.microsoft.com/en-us/library/aa746475%28v=vs.85%29.aspx
>
> So we can simply replace parenthesis and others special characters with
> necessary codes. Some MS behaviour well reproduced, not a bug, mea culpa : )
chrrr - Ok,
does it mean i can try the subsitute char codes instead too in my string -
like "\29 alt?\29"
or similiar? Or is this conversion to do vice versa? Will definitely check
that too. if plain "()" is not working...
Many thanks!
Niels.
--
---
Niels Dettenbach
Syndicat IT & Internet
http://www.syndic...
2002 Jun 07
0
isolinux probles
...2, drive 9F
Boot failed: press a key to retry.
To create the iso image I am using the command:
mkisofs -o $ISOIMAGE -b isolinux/${BOOTBIN} \
-c isolinux/boot.cat -no-emul-boot -boot-load-size 4 \
-boot-info-table $MASTERISO
(where BOOTBIN=isolinux-debug.bin, and the other variable subsitute for
appropiate files/directories).
The isolinux.cfg file contains
display isolinux.dsp
timeout 10
default linux
append load_ramdisk=1 initrd=root.lrp initrd_dyn=tmpfs,,mkdevr amdisk_size=4096 root=/dev/rd/0 boot=/dev/cdrom,iso9660 LRP=etc,log,local,modules
and an ls -l from my isolinux directo...
1999 Nov 09
0
synchronizing Samba & Unix passwords
...e answer to a question I have about
password synchronization. The smb.conf man page says that the "passd
chat" string controls the chat between smbd and the local password
changing program. The man page goes on to say that the string can
contain "%o" and "%n" which are subsituted for the old and new
passwords, respectively.
Then, it says that if "unix password sync" is true, the sequence is
called as root and in that case the old password is set to "".
All this implies to me that there is some way to get the local
password program to be called
1)...
2004 May 26
0
strange [homes] behavior
...omes] section of my smb.conf:
[homes]
path = /data1/fileroot/PersonalFiles/%S
valid users = %S
admin users = MYDOMAIN\administrator
browseable = No
exec = echo u=%u S=%S >> /data1/fileroot/ITManagement/connhome.rtf
The exec= is my attempt at making sure the variables are subsituted
properly (this still does not work all the time, even though the file is
chmod 777).
The correct directory always shows in explorer when the server is
connected to ie \\samba\fred but only works SOMETIMES - i cannot figure
out what causes this! Sometimes the comment for the directory (in
wi...