Displaying 20 results from an estimated 3000 matches similar to: "string manipulation in R?"
2010 Mar 15
2
Strange behavior of assign in a S4 method.
Hi the list,
I define a method that want to change an object without assignation
(foo(x) and not x<-foo(x)) using deparse and assign.
But when the argument of the method does not match *exactly* with the
definition of the generic function, assign does not work...
Anything wrong?
Christophe
#------ Does not work ------#
2005 Jun 08
0
[BUGME 4683] oops at log_do_checkpoint+0xa1/0x230
Hello,
I was wondering if we can get some help in resolving this bug. It was
reported earlier and logged in bugme.osdl.org
http://bugme.osdl.org/show_bug.cgi?id=4683
The problem is kernel oops at log_do_checkpoint() due to NULL buffer_head. This
could be because of some race in journalling code for which I don't have much
clue. There is kdump available for analysis as mentioned in the
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)
2003 Jan 16
0
[PATCH] Using qstr in ext3_get_parent()
Hi
In ext3_get_parent(), quick string (struct qstr) can do the job, in place
of declaring a dentry on stack. Following patch does this and saves few
bytes on kernel stack.
Thanks,
Maneesh
namei.c | 69 ++++++++++++++++++++++++++++++----------------------------------
1 files changed, 33 insertions(+), 36 deletions(-)
diff -urN linux-2.5.58-base/fs/ext3/namei.c
2020 Sep 14
3
Automatic mapping shares on logon time
Hello we are testing samba 4.11.2 and we try automatic mapping shares
folders for users that their have permissions on fileserver, on the logon
time, like logon script on Windows.
Any have a method to do this ?
I explain, instead of the user go to "File Browser" and navigate and map
the share folders on the fileserver, we try to automatic map this folders
on logon time.
regards.
PD:
2001 Jul 17
1
some newbie problems with plotting and RPgSQL
Dear R-enthusiasts,
What a wonderful package R is, many thanks to all you have contributed
(I've just started using it)...I have a few questions that I am having
some trouble finding the answer to:
I am using RPgSQL to grab some data from a postgresql database (about 179
columns and a few thousand rows), and I want to do a lot of pairwise
comparison of the rows...(this is yeast genomic
2005 Jul 07
1
Tables: Invitation to make a collective package
Hi All,
I would like to make an invitation to make a collective package with all
functions related to TABLES.
I know that there are many packages with these functions, the original idea is
collect all this functions and to make a single package, because is arduous for
the user know all this functions broadcast in many packages.
So, I think that the original packages can continue with its
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',
+
2020 Sep 14
2
Automatic mapping shares on logon time
Sorry for my mistake, this work for linux users Right??
We just need logon script for linux users for Windows users we have.
El lun., 14 sept. 2020 a las 10:37, Carlos Jesus (<camjesus2 at gmail.com>)
escribi?:
> Hey,
> You need to create a GPO.
> There's a very good description here:
> https://activedirectorypro.com/map-network-drives-with-group-policy/
> You can map
2020 Sep 14
0
Automatic mapping shares on logon time
Hey,
You need to create a GPO.
There's a very good description here:
https://activedirectorypro.com/map-network-drives-with-group-policy/
You can map drive per user, per group or a combination, with or without
exclusions.
There is a mistake in the article; you should use %LogonUser% instead of
%username%.
Best regards
jmpatagonia via samba <samba at lists.samba.org> escreveu no dia
2020 Sep 14
0
Fwd: Automatic mapping shares on logon time
Yes sorry for my mistake, we need map share folders that the user have
permission, at logon time on Linux Desktop User.
And if for example a user change of departament or area, the shares change,
so we change the maps shares folders on logon.
On Windows users is easy like GPO o logon script but on Linux Desktop Users
is more complex i think.
regards.
---------- Forwarded message ---------
2017 May 07
0
deparse(substitute(x)) fails in implied call to an S3 print method
On 07/05/2017 3:56 PM, Spencer Graves wrote:
> 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 <-
2020 Sep 16
0
Fwd: Automatic mapping shares on logon time
Thanks Yvan , the first solution is that we are trying on the beginning
using ldapsearch + gvfs-mount on the client,
groups=($(ldapsearch -D "cn=Administrator,cn=Users,..................
for group in "${groups[@]}";
do
case "$group" in
echo "gvfs-mount smb://samba4/...................
But the second pam_mount.conf we dont know exist, we will try this one.
regards a
2006 Feb 01
1
: Model formula question
Hi,
I have a data set with a continuous predictor X, a factor A and a continuous
dependent
variable Y.
I am trying to build a linear model of the form:
Y = (b0 + b1*X1)*B(A)
where B(A) is a constant for each level of the factor A.
I am not quite sure how to formulate the appropriate model formula. If I
write:
Y ~ ( 1 + X)/A
, I get estimates for as many constants and slopes as the number of
2020 Sep 15
2
Fwd: Automatic mapping shares on logon time
See answer at the bottom.
Le 14/09/2020 ? 15:56, jmpatagonia via samba a ?crit?:
> Yes sorry for my mistake, we need map share folders that the user have
> permission, at logon time on Linux Desktop User.
>
> And if for example a user change of departament or area, the shares change,
> so we change the maps shares folders on logon.
>
> On Windows users is easy like GPO o
2004 Jun 25
3
String manipulation
Hi,
let's see, if someone can help my with this one:
I have the string as follows:
> str<-("one","two","three")
Now I want to concatenate the items to one string, seperateted by space or
something else,
>str
>"one, two, three"
If possible without a loop.
My actual goal ist to create string like
>str.names
>"female = names1, male
2017 Jul 16
3
Arranging column data to create plots
Dear All,
I need some help arranging data that was imported.
The imported data frame looks something like this (the actual file is huge, so this is example data)
DF:
IDKey X1 Y1 X2 Y2 X3 Y3 X4 Y4
Name1 21 15 25 10
Name2 15 18 35 24 27 45
Name3 17 21 30 22 15 40 32 55
I would like to create a new data frame with the following
NewDF:
IDKey X Y
Name1 21 15
Name1
2004 Oct 28
3
Quick data-manipulation question
I have a list of data frames and I want to concatenate them into a
single data frame, basically appending all of the data frames to each
other (they are all the same shape, in terms of columns). I'm looking
for a nice way to do that. I can of course just consecutively rbind
them to a "master" dataframe, but I have 22,000 such data frames, each
with a few hundred rows, so this
2016 Dec 19
2
Samba4 and file permissions
Hello
I configured a samba 4.3.1 service on a Centos 6.5 32 bit system and installed it in the /home/samba/samba-4.3.1 directory (I know this is not a good place but it was the only partition with enough free space).
The samba is running as an Active Directory Domain Controller with rfc2307 enabled and embedded DNS server.
This is my smb.conf
# Global parameters
[global]
workgroup =
2017 Jul 16
0
Arranging column data to create plots
On Sat, 15 Jul 2017, Michael Reed via R-help wrote:
> Dear All,
>
> I need some help arranging data that was imported.
It would be helpful if you were to use dput to give us the sample data
since you say you have already imported it.
> The imported data frame looks something like this (the actual file is
> huge, so this is example data)
>
> DF:
> IDKey X1 Y1 X2 Y2