Displaying 15 results from an estimated 15 matches for "namex".
Did you mean:
name
2010 Mar 15
2
Strange behavior of assign in a S4 method.
...nition of the generic function, assign does not work...
Anything wrong?
Christophe
#------ Does not work ------#
setGeneric("foo1",function(x,...){standardGeneric("foo1")})
setMethod(f="foo1",signature="numeric",definition=
function(x,y=1,...){
nameX<-deparse(substitute(x))
x <- x^2
assign(nameX,x,envir=parent.frame())
}
)
e <- 3
foo1(e,y=5)
cat(e)
#------ Does work ------#
setGeneric("foo2",function(x,...){standardGeneric("foo2")})
setMethod(f="foo2",signature="numeric",d...
2020 Sep 14
3
Automatic mapping shares on logon time
...e try to automatic map this folders
on logon time.
regards.
PD: We thinking in a complex method where the user guest the built-in
samba4 ldap (ldap serach) for your groups and according the groups that
their have mapping the file sharing with gvfs-mount, because we implemented
the pair same group-namex-share-namex.
2017 May 07
2
deparse(substitute(x)) fails in implied call to an S3 print method
In an implied call to an S3 print method, deparse(substitute(x)) returns
"x", regardless of the name of object in .GlobalEnv, as indicated in the
following:
> Xnamed <- 1
> class(Xnamed) <- 'name.x'
> print.name.x <- function(x, ...){
+ namex <- deparse(substitute(x))
+ cat('How can I get the name of x in .GlobalEnv?\n',
+ 'deparse(substitute(x)) gives only ', namex, '\n')
+ }
> Xnamed
How can I get the name of x in .GlobalEnv?
deparse(substitute(x)) gives only x
My real application is...
2020 Sep 14
2
Automatic mapping shares on logon time
...egards.
>>
>> PD: We thinking in a complex method where the user guest the built-in
>> samba4 ldap (ldap serach) for your groups and according the groups that
>> their have mapping the file sharing with gvfs-mount, because we
>> implemented
>> the pair same group-namex-share-namex.
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
>>
>
2020 Sep 15
2
Fwd: Automatic mapping shares on logon time
...;>> PD: We thinking in a complex method where the user guest the built-in
>>> samba4 ldap (ldap serach) for your groups and according the groups that
>>> their have mapping the file sharing with gvfs-mount, because we
>>> implemented
>>> the pair same group-namex-share-namex.
>>> --
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions: https://lists.samba.org/mailman/options/samba
>>>
>>
Hi,
I think you have two solutions:
- using a custom script that runs on user login to query...
2010 Jan 18
2
An argument processing puzzle.
I have been trying to write a function mv(a,b) to move an
object a to object b. It returns no value, but only
exists for this side effect. Basically it just does
b <- a; rm(a). With some checking and prompting about
over-writing.
The thing is, I'd like to be able to use either call by
name or call by value syntax. I.e. I want to set up my
argument processing so that
mv(a,b)
2017 Jul 16
3
Arranging column data to create plots
...24
Name2 27 45
Name3 17 21
Name3 30 22
Name3 15 40
Name3 32 55
With the data like this I think I can do the following
ggplot(NewDF, aes(x=X, y=Y, color=IDKey) + geom_line
and get 3 lines with the various number of points.
The point is that each of the XY pairs is a data point tied to NameX. I would like to rearrange the data so I can plot the points/lines by the IDKey. There will be at least 2 points, but the number of points for each IDKey can be as many as 4.
I have tried using the gather() function from the tidyverse package, but I can't make it work. The issue is that I b...
2020 Sep 14
0
Automatic mapping shares on logon time
...t; on logon time.
>
> regards.
>
> PD: We thinking in a complex method where the user guest the built-in
> samba4 ldap (ldap serach) for your groups and according the groups that
> their have mapping the file sharing with gvfs-mount, because we implemented
> the pair same group-namex-share-namex.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
2020 Sep 14
0
Fwd: Automatic mapping shares on logon time
...egards.
>>
>> PD: We thinking in a complex method where the user guest the built-in
>> samba4 ldap (ldap serach) for your groups and according the groups that
>> their have mapping the file sharing with gvfs-mount, because we
>> implemented
>> the pair same group-namex-share-namex.
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
>>
>
2017 May 07
0
deparse(substitute(x)) fails in implied call to an S3 print method
...to an S3 print method, deparse(substitute(x)) returns
> "x", regardless of the name of object in .GlobalEnv, as indicated in the
> following:
>
>
> > Xnamed <- 1
> > class(Xnamed) <- 'name.x'
> > print.name.x <- function(x, ...){
> + namex <- deparse(substitute(x))
> + cat('How can I get the name of x in .GlobalEnv?\n',
> + 'deparse(substitute(x)) gives only ', namex, '\n')
> + }
> > Xnamed
> How can I get the name of x in .GlobalEnv?
> deparse(substitute(x)) gives only x
&g...
2001 Jul 18
2
string manipulation in R?
...tabase primary key column, and then generate the cross product of that
list with itself (which I can use "outer" for right?) then I need to
generate queries based on those pairs of strings. Only problem is that I
have the strings but how can I generate the query string I need?
That is:
nameX<-"YWL04A"
nameY<-"YWL321"
in python or perl I'd write something like:
sql.select(column="*", from="gasch", where="NAME IS LIKE " + nameX " OR
NAME IS LIKE " + nameY)
(P.S. I am not sure but I don't think that the search op...
2020 Sep 16
0
Fwd: Automatic mapping shares on logon time
...nking in a complex method where the user guest the built-in
> >>> samba4 ldap (ldap serach) for your groups and according the groups that
> >>> their have mapping the file sharing with gvfs-mount, because we
> >>> implemented
> >>> the pair same group-namex-share-namex.
> >>> --
> >>> To unsubscribe from this list go to the following URL and read the
> >>> instructions: https://lists.samba.org/mailman/options/samba
> >>>
> >>
>
> Hi,
>
> I think you have two solutions:
> - using...
2016 Dec 19
2
Samba4 and file permissions
...03, belonging to the group "groupX", with gid 507.
I created the corresponding user and group into the Samba server by using the samba-tool command:
# Created the user
samba-tool user add userX --unix-home=/home/userX --uid-number=503 --login-shell=/bin/bash --gid-number=507 --given-name=NameX --surname=SurnameX
# Created the group
samba-tool group add groupX --gid-number=507 --nis-domain=testdom
# Added the user into the group
samba-tool group addmembers groupX userX
Then, by using an LDAP administration tool, a chanced the primaryGroupID attribute of the userX user to the RID of the...
2017 Jul 16
0
Arranging column data to create plots
...ng parentheses. If you use the reprex library to test your
examples before posting them, you can be sure your simple errors don't
send us off on wild goose chases.
> and get 3 lines with the various number of points.
>
> The point is that each of the XY pairs is a data point tied to NameX.
> I would like to rearrange the data so I can plot the points/lines by the
> IDKey. There will be at least 2 points, but the number of points for
> each IDKey can be as many as 4.
>
> I have tried using the gather() function from the tidyverse package, but
The tidyverse package...
2008 Mar 18
11
"Why not MockEverthing" or why use fixtures for all tests?
Hello fellow RSpec users.
Before you all start warming up your flame throwers please let me
explain my Subject line.
I''ve been working over 4 months on a large Rails project with a few
other developers. Test coverage was spotty at best, though they
*were* RSpec tests. One of the other developers and I had started
adding more tests, mostly controller tests using the methodology