Displaying 20 results from an estimated 5000 matches similar to: "Newbie woes with *apply"
2016 Feb 24
4
Samba 4.1.17-Debian as ADS member
I lose track here and I have to fix this as users get angry (we all know
that ...)
debian 8.3, samba 4.1.17
(substituted customer name by "CUST" below ...)
[global]
workgroup = CUST
realm = MABC.CUST
security = ADS
map untrusted to domain = Yes
load printers = No
printcap name = /dev/null
disable spoolss = Yes
template shell = /bin/bash
winbind enum users = Yes
winbind enum
2016 Feb 24
4
Samba 4.1.17-Debian as ADS member
Am 2016-02-24 um 13:44 schrieb Sketch:
> On Wed, 24 Feb 2016, Stefan G. Weichinger wrote:
> [snip]
>> idmap config CUST:range = 10000-99999
>> idmap config CUST:backend = ad
>> idmap config *:range = 2000-9999
>> idmap config * : backend = tdb
>
> If your idmap backend is ad, you need to assign your users uids (and
> gids for groups) in
2019 Mar 21
3
prettyNum digits=0 not compatible with scientific notation
R developers,
Seems I get a bad result ("%#4.0-1e" in particular) when trying to use prettyNum digits=0 with scientific notation. I tried on both my Linux box and on an online R evaluator and saw the same problem, so it's not limited to my box at least. I see the problem in both R 3.5.3 and R 3.3.2.
options(scipen=-100)
prettyNum(1, digits=0)
[1] "%#4.0-1e"
prettyNum(2,
2011 Oct 04
1
Matching two datasets and updating values
Dear R forum
I have two datafarmes with category and cat_val forming one dataframe and cust and cust_category forming another dataframe.
category = c("C", "D", "B", "A")
cat_val = c(0.10, 0.25, 0.40, 0.54)
cust = c("cust_1", "cust_2", "cust_3", "cust_4", "cust_5", "cust_6", "cust_7",
2009 Nov 13
2
format (PR#14062)
Full_Name: Dirk Jacob
Version: R 2.8.1 and 2.9.1
OS: Win XP
Submission from: (NULL) (153.96.32.62)
I want to convert numbers to strings
like:
> inputs= c(0.3+0*(1:12) )
> (format(inputs,digits=3,scientific=T,collapse=" "))
and it works
[1] "3e-01" "3e-01" "3e-01" "3e-01" "3e-01" "3e-01" "3e-01"
2008 Aug 07
1
Bug in format.default(): na.encode does not have any effect for (PR#12318)
Hi!
If I use format() on numeric vector, na.encode argument does not have any e=
ffect. This
was reported before:
- https://stat.ethz.ch/pipermail/r-help/2007-October/143881.html
- http://tolstoy.newcastle.edu.au/R/e2/devel/06/09/0360.html
It works for other (say character) classes!
> format(c("a", NA), na.encode=3DTRUE)
[1] "a " "NA"
>
2015 Apr 15
3
Join 2012 Server R2 as member to NT domain
I don't have anything but Server 2003, 2008 and 2012 to test with. 2003
joins the domain without issue. 2008 and 2012 will not. The registry
has been updated on both:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Parameters]
"DNSNameResolutionRequired"=dword:00000000
2019 Mar 22
2
prettyNum digits=0 not compatible with scientific notation
FWIW, it doesn't seem to be happening on Mac OS:
> format(2^30, digits=0)
[1] "1.e+09"
> prettyNum(12345.6, digits=0)
[1] "1.e+04"
A glibc misfeature?
-pd
> On 22 Mar 2019, at 10:10 , Martin Maechler <maechler at stat.math.ethz.ch> wrote:
>
> Thank you, Robert for raising this here !
>
>>>>>> Robert McGehee
2010 Feb 21
2
Newbie woes with par:mar
I have a simple barchart with horizontal bars and horizontal tick labels,
produced with
barplot(x, horiz = T, names.arg = c, las = 1)
The labels are longish strings, truncated on the plot. I wish to leave more
space for the left margin, and experiment with mar parameter,
barplot(x, horiz = T, names.arg = c, las = 1, mar = c(5, 15, 4, 2))
trying various values for the second vector element, but
2006 Aug 23
4
Problem with large files corrupting during transfer
I'm very new to Samba, and I'm supporting my team's migration to a new
server. We are running v3.0.23b, ML3 and AIX v5.3, and we're pulling
data from NT servers. V2.2.2 (what we are using on the old server) would
not compile on the new box, so we have to upgrade.
Files >2.8gb are corrupting during the transfer. That 2.8gb file is the
largest we've gotten to go through
2010 Aug 27
3
interpreting date-related error message
Hello, helpeRs,
I have a vector of numbers from 1-365 (days of the year) that I would
like to convert to a date. There are no NA's and no missing values.
I did not insert leading zero's for numbers less than 100.
Using the syntax:
dat$doy.1 <- as.numeric(format(dat$doy, "%j" ))
I get the following error message:
Error in prettyNum(.Internal(format(x, trim, digits,
2015 Apr 15
3
Join 2012 Server R2 as member to NT domain
Is it still possible to join a Windows 2012 Server R2 system as a member
to a 'pre-NT5' Samba (3.6.23) domain controller? The Windows 'Domain
Change' GUI errors immediately after failing the SRV lookup for the AD
server. Even with the SRV record in place, the GUI fails trying to
connect to the non-existent LDAP port.
Netdom on the command line tries to work if the DC name
2006 Apr 26
5
accessing created_on causes type error
I assume that this is some newbie stupidity, but I haven''t found my
way around this problem. I have an ActiveRecord object fetched
from the database, and I need to evaluate the contents of the
updated_on field. However, *any* attempt to access that data in the
program results in a TypeError with the message ''no implicit conversion
from nil to integer''.
cust =
2007 May 01
2
Autoattendant press 1 collides with extension numbers...
So I have whose autoattendant is colliding with their extensions...
Quick fix anyone?
Second someone presses say a person's extension (101) ... Autoattendant
sends them to the first context...
[companyx-main-aa]
exten => s,1,Background(companyx/companyx-main)
exten => s,2,Background(silence/10)
exten => s,3,Background(companyx/companyx-main)
exten => s,4,Background(silence/10)
2016 Feb 24
1
Samba 4.1.17-Debian as ADS member
Am 2016-02-24 um 14:15 schrieb Sketch:
> On Wed, 24 Feb 2016, Stefan G. Weichinger wrote:
>
>> I set up a test VM now, same OS and software, with
>>
>> idmap config CUST:range = 10000-99999
>> idmap config CUST:backend = rid
>> idmap config *:range = 2000-9999
>> idmap config * : backend = tdb
>>
>> This *seems* to work fine
2012 Jan 26
2
LDAP issues
Centos 6
Samba 3
smbldap-tools installed.
LDAP directory not on local host.
Example user LDIF:
dn: uid=testuser at mydomain.com,ou=mydomain,o=ndtc
mailHost: mailserver.mydomain.com
loginShell: /bin/bash
gidNumber: 500
uidNumber: 53112
uid: testuser at mydomain.com
sn: user
cn: test user
mail: testuser at mydomain.com
homeDirectory: /cust/mydomain/users/testuser
gecos: test user,,662-6123
2010 Sep 09
1
syntax error, unexpected '<token>'
Hello list,
getting warning : *syntax error, unexpected '<token>'*
dialplan :
exten => pbx,n,Macro(CheckNetworkProblems,${custID})
exten => pbx,n,NoOp(status = ${STATUS})
exten => pbx,n,GoToIf($["${STATUS}"="congestion"]?backup:nocongestion)
CLI :
[Sep 9 12:27:07] -- Executing [pbx at cust:15]
NoOp("SIP/test13-0000002a",
2008 Nov 17
1
OT: Counting emails in IMAP folders
Greetings
I have a customer who has mail server running dovecot with an IMAP
account (Customers) which contains hundreds of folders (one per customer).
Looks like this:
Customers
Fred Smith and Co
Joe Blogss
Cust-1
Cust-n
They have a requirement to report monthly on the total number of emails
added to each customers' folder during the month.
Basically I need to be
2007 Jun 13
5
Confusion with sapply
Hi,
I have some confusion in applying a function over a column.
Here's my function. I just need to shift non-March month-ends to March
month-ends. Initially I tried seq.dates, but one cannot give a negative
increment (decrement) here.
return(as.Date(seq.dates(format(xdate,"%m/%d/%Y"),by="months",len=4)[4])
)
Hence this simple function:
> mydate <-
2008 Jan 23
3
How to do more advanced cross tabulation in R?
Hi,
I am trying to reproduce some functionalities of Excel pivot table in R,
sadly, I couldn't figure out how to do it. I am wondering if this is even
possible in R. Does anyone know?
Here is an example:
year=rep(2003,16)
quarter=rep(1:4,each=4)
sales=1:16
company=rep(c("a","b","c","d"),4)
df=data.frame(year,quarter,sales,company) #this is the