similar to: Best Practise

Displaying 20 results from an estimated 1000 matches similar to: "Best Practise"

2006 Jul 11
2
Converting SEXP to primitive C types
I'm new to R development, so this may be a trivial question. In C, How do you convert a SEXP value returned by an R function to a primitive C type (int, double, char, array, etc.)? I've tried using the INTEGER(x), VECTOR_ELT(x,i), and similar functions found in /src/ include/Rinternals.h, but doing so results in incorrect results or a seg-fault. For example, I modified
2004 Jun 11
1
bug or correct behaviour ?
This is the general outline of my code:: main(argc,argv){ ... Rf_initEmbeddedR(argc,argv); ... Test_tryEval("source(test.r)"); ... } ############# # test.r ############# ... dyn.load("toload.so") tmp <-matrix(data=1,nrow=narray*2,ncol=nclust) .Call("Init",tmp,...) while(...) { criteria <-feval(tmp) if (criteria < criteria.min)
2006 May 25
1
compiling tests/Embedding
I am compiling the Embedding examples in the tests directory and get an undefined reference. I include the make output as well as grep'd output of nm on libR.so and compiler and arch information. Do I have an improperly built R shared library or is there a problem with the Embedding tests or something else I am not seeing? Thanks for any help! George ost at
2024 May 08
3
Wiki - Best Practise to install a 2nd AD-DC or "backup"-DC
Hello list, I searched the wiki, but couldn't find any article on this topic - maybe I used the wrong terms ... Is there a "Best Practise" documentation how to install a 2nd AD-DC (or "backup"-DC)? Cheers, Torsten
2024 May 08
1
Wiki - Best Practise to install a 2nd AD-DC or "backup"-DC
On Wed, 8 May 2024 09:48:48 +0200 lists--- via samba <samba at lists.samba.org> wrote: > Hello list, > > I searched the wiki, but couldn't find any article on this topic - > maybe I used the wrong terms ... > > Is there a "Best Practise" documentation how to install a 2nd AD-DC > (or "backup"-DC)? > > Cheers, > Torsten > That
2024 May 08
1
Wiki - Best Practise to install a 2nd AD-DC or "backup"-DC
Thanks a lot Ingo, Rowland and Luis! [...] INFO 2024-05-08 12:33:25,196 pid:2355 /usr/lib/python3/dist-packages/samba/join.py #1324: Sending DsReplicaUpdateRefs for all the replicated partitions INFO 2024-05-08 12:33:25,261 pid:2355 /usr/lib/python3/dist-packages/samba/join.py #1354: Setting isSynchronized and dsServiceName INFO 2024-05-08 12:33:25,281 pid:2355
2008 Jun 11
1
Bind Standard Practise
In a chroot Bind installation, named.conf is located in /var/named/chroot/etc/. In that file, references to files for includes and other zones can be made as "filename" without a path. What is the expected location when no path is used, simply up one dir under chroot/? While moving a DNS from one machine to another, I noticed all ref's are "/etc/filename" and they are in
2014 Nov 05
1
Best practise for deleting with Thunderbird
As I mentioned in another thread I set up these 2 namespaces for a couple of users: namespace { inbox = yes location = prefix = separator = / type = private } namespace { location = maildir:/home/vmail/oeffentlich:INDEXPVT=/home/vmail/public/index/%d/%u/index prefix = Oeffentlich/ separator = / subscriptions = yes type = public } It is planned that they all will use
2018 Apr 11
0
vfs_fruit best practise for Mac, Windows, Linux access
Hello Folks We have Windows, Mac, and Linux labs all accessing the same shares: - NFS: Linux - CIFS: Mac and Windows We are finding that Mac client access to the ‘homes’ section is causing load problems on the file server due to access errors. I’ve read that ‘vfs_fruit’ could solve this problem. What is the best practice in the smb.conf configurations for the ‘homes’ section so that all
2010 Mar 03
2
Best practise for ISDN Video Conferencing..
Hi All, I'm about to setup an Asterisk install to take over an old legacy PBX system. At present, the legacy system has modules in it which provides 4 * data ISDN links to the video conferencing unit (Tandberg 3000 MXP) on site, these use the ISDN30 (uk) that the normal voice calls go over. Is it possible to emulate this in asterisk? I've seen zapras but I'm not sure if that's
2012 Feb 22
6
PDF Creation Best Practise
Hi there, I''m looking for a powerful pdf creation libary. I already tried: prawn - Nice handling but way too slow when lots of tables are involved PDFKit - too slow Actually I''m trying prince with xml input. It''s pretty fast but I don''t like the page-break control. I need a libary which can create pdf''s with up to 90 pages with lots of nested
2005 Sep 21
5
SAX Parser best practise
Dear All, I have a question regarding best practise in setting up a XML parser within R. Because I have files with more than 100 MB and I'm only interested in some values I think a SAX-like parser using xmlEventParse() will be the best solution. Unfortunately the values I'm looking for, to construct some higher "mass spectrum", are distributed over different lines: as
2008 Oct 11
8
Observing few fields in a form - Best Practise?
Hi, im looking to build a page similar to a shopping cart page. When you change the ''price'' or ''quantity'' fields, the total is calculated and displayed. There are other fields in the form which have no relation to this action. So i guess observe_form is not required. Can someone tell me what the best practise is for this?
2007 Jul 11
17
Best practise guide
Hi, I''m a new puppet user (thanks !) and I''m just looking at moving my homegrown manifest structure into something resembling the best practise guide at : http://www.reductivelabs.com/trac/puppet/wiki/PuppetBestPractice. It seems as if the structure here doesn''t map to the default puppet layout (and thus doesn''t work with the standard puppet config
1998 Sep 22
1
"Segmentation Fault - core dumped" in R 0.62.3
I am occasional getting "Segmentation Fault - core dumped" in R 0.62.3 (I think more often then I did in 0.62.2). I have not been able to do this in any reliably reproducible way yet, but thought I would mention the problem in case some else can isolate it. Paul Gilbert -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read
2005 Feb 04
5
simple example of C interface to R
i'd like to use the C interface to R in a program i'm writing. as a starting point, i'm trying to create a very simple C program that uses R. i've read the R documentation on this, but i'm having trouble figuring out where SEXP is defined and how to use it. i noticed someone else on this list also tried to use the C interface, but they ran into similar problems:
2014 Jun 24
2
using C code to create data frame but always return as list
there is my code,  expect return value  is a data frame but R say it is list: SEXP Julia_R_MD_NA_DataFrame(jl_value_t* Var) {  SEXP ans,names,rownames;  char evalcmd[4096];  int i;  const char* dfname="DataFrameName0tmp";  jl_set_global(jl_main_module, jl_symbol(dfname), (jl_value_t*)Var);  //Get Frame cols   sprintf(evalcmd,"size(%s,2)",dfname);  jl_value_t*
2006 Mar 27
1
Safe to UNPROTECT() when object is assigned to a list?
Hi, I'm troubleshooting some native code on Windows that very occationally (and semi-randomly) crashes R. Already looked at "everything", I just want to double check that it is safe to UNPROTECT() allocated variables as soon as they are assigned to, say, a PROTECTed list. >From (R v2.3.0) Section 5.7.1 "Handling the effects of garbage collection" in "Writing R
2014 Mar 06
1
Create dataframe in C from table and return to R
Hi , I am trying to create a dataframe in C and sebd it back to R. Can anyone point me to the part of the source code where it is doing , let me explain the problem I am having . -------------------------------------------------------------------- My simple implementation is like this SEXP formDF() { SEXP dfm ,df , dfint , dfStr,lsnm; char *ab[3] =
2005 Mar 16
1
returning NULL from .Call call
Dear R developers, I've just encountered one "feature" of R-C extensions. If it is known, I would be thankful for any hints why it works this way (I found the way around, which is also mentioned here, but maybe it is not the best one). If it is however unknown, it might be considered for a "wish list". Consider a simple "aka" C function (the original