Displaying 20 results from an estimated 600 matches similar to: "Step by step: Making an R package with Fortran 95"
2006 May 27
1
Trouble passing list or non-list to function using ...
Hello,
Simply put, I'm trying to call a function "testme" with value "age=NA". I wish to use "dotlist<-list(...)" inside the function and have dotlist become:
$age
[1] NA
I'm modifying existing code and need to minimize changing that code so it's easiest to conform
how I call the existing function.
My sample code fragment, results, and R.version
2007 Jan 15
2
[LLVMdev] llc c backend can produce code that doesn't compile on gcc 4.x
Hello,
I would like to ask the llvm developers to have a look at http://
llvm.org/bugs/show_bug.cgi?id=918 .
This bug has been reported 4 month ago but is none the less a
somewhat serious one.
Below I have pasted the test case and output of the issue running on
my ppc machine.
thank you
Eric
pb:~ eric$ cat testme.ll;llvm-as -f testme.ll;llc -march=c -f
testme.bc;gcc -c testme.cbe.c
2007 Aug 30
2
define-based exported virtual resources
Can you use exported virtual resources with custom definitions? As an
example, with the following definition:
define vr-tester() {
file {
"/tmp/vr-success.txt":
content => ''foobar'';
}
}
this code is working for me:
class testme {
@vr-tester { "foobar": ; }
Vr-tester <||>
}
but this is not:
class testme {
2007 Aug 14
2
OpenSSH public key problem with Solaris 10 and LDAP users?
Hello.
I've got a problem logging in to a Sparc Solaris 10 machine with
public key authentication. I searched, and found a similar problem
report at <http://thread.gmane.org/gmane.network.openssh.devel/12694>.
For that guy, the problem had to do with LDAP.
My user accounts are also stored in LDAP, an OpenLDAP server, to be
exact. That server runs on the same machine as the machine
2013 Jan 29
3
how to suppress the intercept in an lm()-like formula method?
I'm trying to write a formula method for canonical correlation analysis,
that could be called similarly to lm() for
a multivariate response:
cancor(cbind(y1,y2,y3) ~ x1+x2+x3+x4, data=, ...)
or perhaps more naturally,
cancor(cbind(y1,y2,y3) ~ cbind(x1,x2,x3,x4), data=, ...)
I've adapted the code from lm() to my case, but in this situation, it
doesn't make sense to
include an
2011 Oct 27
1
minimizing device-dependent code in graphics scripts
Here is a common scenario that I and probably others often face:
- I write a script, test.R, to produce some graphs, viewing them
on-screen and tinkering until they look right
- I want to save image files (e.g., .png), so I wrap each plot in device
driver calls, e.g.,
png(file='test01.png', width=600, height=600);
plot(1:10)
dev.off()
png(file='test02.png', width=600,
2012 Apr 17
0
Problems with samba as PDC
Greeting-
I have a mixed network of ms-windows, macintosh and freebsd systems.
I am setting up a FreeBSD 9.0 system as a PDC using samba.
I can from a FreeBSD box attach to the SMB server as a user that is defined
on the Samba Server.
[wynkoop at dt0 ~]$ smbclient -L hp1
Enter wynkoop's password:
Domain=[HARAPARTNERS] OS=[Unix] Server=[Samba 3.6.4]
Sharename Type
2006 Jun 09
1
[LLVMdev] Why Is This Illegal?
Can anyone tell me where my blunder is in the following program?
llvm-as reports:
llvm-as: testit.ll:11: Can't store 'opaque *' into space of type 'opaque
*'!
Which doesn't seem to make sense to me. What is it that is illegal about
storing a pointer to opaque in a space that is of type pointer to
opaque? Is it just that you can't store pointers to opaque?
%path =
2007 Jan 15
0
[LLVMdev] llc c backend can produce code that doesn't compile on gcc 4.x
Eric van Riet Paap wrote:
> *testme.cbe.c:106: error: array type has incomplete element type*
The problem code boils down to:
/* Structure forward decls */
struct l_structtype_s;
/* Typedefs */
typedef struct l_structtype_s l_fixarray_array3[3];
which is illegal C, but perfectly valid C++, and g++ accepts it.
The structure contents are defined right afterwards, but I assume that
2009 May 05
1
Users
Hi All,
I am confused about users. IIRC, ftp users are just ordinary users on
the system (/etc/passwd)
Is there an add user wizard from the command-line?
I dont quite get all of the steps to add a user, dont let login except
FTP, etc, etc
-Jason
2010 Jan 18
2
sendmail alias
Hi,
how are mails forwarded, if I do have the same alias pointing to two
different users like this (two entries, two lines):
bon.aqua: coke
bon.aqua: pepsi
Will coke and pepsi get the mail adressed to bon.aqua or will only the
first entry get the mail?
I know, that "bon.aqua: coke, pepsi" will forward the mails to coke and
pepsi,
Cheers,
G?tz
--
G?tz Reinicke
IT-Koordinator
2024 Jun 04
1
How to give AD users group permissions on a Samba share
I have a Linux file server that is an AD Domain Member. It shares the
following (smb.conf):
[public]
path = /public
store dos attributes = no
hide dot files = yes
readonly = no
force group = ohprs
create mask = 0660
directory mask = 2770
The "force group" lets all Windows users map this folder and create
files and directories that all users can access and update. They are
created
2007 Apr 18
20
dependency and communication between defined classes
Hi,
i wanted to know how you handle case when classes or define need to
communicate between them. For exemple i got an ftpd define and a
apachevhost define. Both need to know the path where the vhost is set
and this path is defined by the ftpuser home''s directory. How can i ask
information from other define or other classes ? we allready seen that
tag are not reliable as they
2007 Jan 06
2
Question about AGI and variable storage
Hi all,
I just finished writing the bulk of an AGI interface to FirebirdSQL
databases and I noticed that when assigning a variable through AGI (I
assume this also applies within the dialplan), you have to enclose it in
quotes if there are any space.
Does Asterisk strip off the quotes when storing the value?
Just curious.
Thanks,
--
Warm Regards,
Lee
2014 Sep 08
0
is pattern matching inside macro valid?
Can't we use pattern matching inside a macro?
Because when I am trying to do so call is terminating even for a very
simple dummy dialplan.
[demo3]
exten=>98,1,NoOp()
exten=>98,2,Macro(testme)
exten=>h,1,NoOp(terminating call);
[macro-testme]
exten=>s,1,Playback(Digits/2)
exten=>s,2,WaitExten(15)
exten=>s,3,NoOp()
exten=>_X,1,NoOp(${EXTEN})
exten=>_X,2,Goto(s,3)
2011 Jan 03
23
Managing cronjobs as a file in solaris with appendifnosuchline for specific servers
I want to manage cronjobs as a " file " in solaris through puppet and
not using the puppet cron resource.
I will be managing the file /var/spool/cron/crontabs/root.
I want the cron file to be same across all servers except some servers
will have additional cron entries.
How can I append to the file /var/spool/cron/crontabs/root , something
like appendifnosuchline in cfengine?
Can
2024 Jun 04
1
How to give AD users group permissions on a Samba share
On Tue, 4 Jun 2024 13:22:49 -0400
Mark Foley via samba <samba at lists.samba.org> wrote:
> I have a Linux file server that is an AD Domain Member. It shares the
> following (smb.conf):
>
> [public]
> path = /public
> store dos attributes = no
> hide dot files = yes
> readonly = no
> force group = ohprs
> create mask = 0660
> directory mask = 2770
>
2008 Apr 29
1
winbindd hangs up while retreiving usernames.
Hello.
I'm installing new FreeBSD 6.2-RELEASE, based on intel machine. Firewall
type is OPEN.
I have Windows Server 2000 with Active Directory on it, working in Native
mode.
I've installed samba-3.0.23c_2,1 from /usr/ports/net/samba3
prefix=/usr/local
without krb-1.5.1 being installed.
Added:
nmbd_enable="NO"
smbd_enable="NO"
winbindd_enable="YES"
to
2015 Sep 21
0
virt-install and kickstart networking
Hi,
I have a fedora22 host and trying to use virt-install to install a
fedora22 guest. The host is configured with bridge networking, using
eth0 as its local interface.
It appears the guest is communicating on vnet0 instead of eth0, so it
can never reach the outside to download the install files.
Where is vnet0 configured? Is it set by default when a bridge is created?
I have one other guest on
2010 Dec 14
0
Sweave problem: lines repeated
Hi all
I'm having a problem when using Sweave. Here is a minimal example.
My input file (eg, test.Snw) looks like this:
<<TESTME,echo=FALSE, results=hide,fig=FALSE,keep.source=TRUE>>=
data(cars)
m1 <- lm( dist~speed, data=cars ); coef( m1 )
@
<<echo=TRUE,results=verbatim,fig=FALSE,keep.source=TRUE>>=
<<TESTME>>
@
<<TESTME2,echo=FALSE,