search for: some_data

Displaying 13 results from an estimated 13 matches for "some_data".

2009 Sep 17
2
QQ plotting of various distributions...
Hello! I am trying with this question again: I would like to test few distributional assumptions for some behavioral response data. There are few theories about true distribution of those data, like: normal, lognormal, gamma, ex-Gaussian (exponential-Gaussian), Wald (inverse Gaussian) etc. The best way would be via qq-plot, to show to students differences. First two are trivial: qqnorm(dat$X)
2003 Aug 07
0
predict(lm(etc.), some_data) -> "numeric envir arg not of length one " ???
I've got a data frame with two numeric variables, df$flow and df$flow1. > tl <- lm(flow~flow1,df,na.action=na.exclude) > tlo <- loess(flow~flow1,df,na.action=na.exclude) Both loess and a simple linear model fit the data well. summary(tl) and summary(tlo) seem reasonable. As do plots such as: plot(predict(tl),df$flow) plot(predict(tlo),df$flow) I want to replace missing values
2006 Jul 13
6
Webservices Xml-Rpc and authentication
Hello, I want to build an application where i have client and server. I need to exacute commands with XM-RPC. I can get all this working, following the howto''s in wiki and main website. But the problem is they are all unsecure. I can''t seem to find any web service examples where they use authentication, or ssl. Just wondering if anyone know how i go about doing this. At the
2019 May 19
4
most robust way to call R API functions from a secondary thread
...R_CStackLimit = -1; // R_ToplevelExec() below will call PROTECT 4x: if (R_PPStackTop > R_PPStackSize - 4) { // ppstack would overflow in R_ToplevelExec() -> handle this ... } // avoid longjmp to different thread: Rboolean ok = R_ToplevelExec(fun_calling_R_API, (void *) &some_data); // re-enable stack size checking: R_CStackLimit = R_CStackLimit_old; pthread_mutex_unlock(&r_api_mutex); if (!ok) { // handle error ... } // ... } SEXP fun_running_in_main_thread() { // ... /* create continuation token for R_UnwindProtect(): * * do this explici...
2017 Dec 11
0
document environment passing in parallel::parLapply
...time of parallel::parLapply depends on variables unrelated to the parLapply call. However, this is not clearly documented. Therefore I would like to suggest expanding the relevant documentation to explain this behaviour. Consider this example: parallel_demo <- function(random_values_count) { some_data <- runif(random_values_count) dummy_function <- function(x) { x } cluster <- parallel::makeCluster(3) start <- proc.time() parallel::parLapply(cluster, 1:3, dummy_function) runtime <- proc.time() - start parallel::stopCluster(cluster) runtime } parallel_demo(10...
2019 Jun 17
2
Fwd: Re: Fwd: Re: Kerberos and NTLMv2 authentication
...ps to the same set of hosts. We're making use of AD security groups with dual factor authentication as well. Moreover, I can assign file/directory group mode bit group ownership to AD security groups. If cns-bio-joneslab is a security group defined in AD, I can chgrp cns-bio-joneslab some_data-dir chmod 770 some_data_dir chmod g+s some-data-dir on a domain-joined host, and only members of the Jones Lab will be able to access this shared data. It all works as expected. Haven't tested POSIX ACLs; will do that next, since we're forced to use these in the absence of Ric...
2019 May 20
1
most robust way to call R API functions from a secondary thread
...) below will call PROTECT 4x: >> if (R_PPStackTop > R_PPStackSize - 4) { >> // ppstack would overflow in R_ToplevelExec() -> handle this ... >> } >> // avoid longjmp to different thread: >> Rboolean ok = R_ToplevelExec(fun_calling_R_API, (void *) &some_data); >> // re-enable stack size checking: >> R_CStackLimit = R_CStackLimit_old; >> pthread_mutex_unlock(&r_api_mutex); >> if (!ok) { >> // handle error ... >> } >> // ... >> } >> SEXP fun_running_in_main_thread() { >> //...
2019 Jun 17
0
Fwd: Re: Fwd: Re: Kerberos and NTLMv2 authentication
...e're making use of AD security groups with dual factor authentication > as well. > > Moreover, I can assign file/directory group mode bit group ownership to > AD security groups. If cns-bio-joneslab is a security group defined in > AD, I can > > chgrp cns-bio-joneslab some_data-dir > chmod 770 some_data_dir > chmod g+s some-data-dir > > on a domain-joined host, and only members of the Jones Lab will be able > to access this shared data. It all works as expected. Haven't tested > POSIX ACLs; will do that next, since we're forced to use...
2019 May 20
0
[External] most robust way to call R API functions from a secondary thread
...// R_ToplevelExec() below will call PROTECT 4x: > if (R_PPStackTop > R_PPStackSize - 4) { > // ppstack would overflow in R_ToplevelExec() -> handle this ... > } > > // avoid longjmp to different thread: > Rboolean ok = R_ToplevelExec(fun_calling_R_API, (void *) &some_data); > > // re-enable stack size checking: > R_CStackLimit = R_CStackLimit_old; > pthread_mutex_unlock(&r_api_mutex); > > if (!ok) { > // handle error ... > } > > // ... > } > > SEXP fun_running_in_main_thread() { > > // ... > > /* crea...
2019 May 20
0
most robust way to call R API functions from a secondary thread
...evelExec() below will call PROTECT 4x: > if (R_PPStackTop > R_PPStackSize - 4) { > // ppstack would overflow in R_ToplevelExec() -> handle this ... > } > > // avoid longjmp to different thread: > Rboolean ok = R_ToplevelExec(fun_calling_R_API, (void *) &some_data); > > // re-enable stack size checking: > R_CStackLimit = R_CStackLimit_old; > pthread_mutex_unlock(&r_api_mutex); > > if (!ok) { > // handle error ... > } > > // ... > } > > SEXP fun_running_in_main_thread() { > > // ....
2005 Dec 20
7
wrong id for activerecord object when using :joins in mysql
I''m using a find with a :joins clause, like this: :joins => "JOIN table_b ON table_b.id=table_b_id" The records returned are used in a scaffold generated list page. The edit, show, and destroy links are getting the wrong id. They are getting the id of the table b record. When I run the query using mysql, I see that the query returns *2* id columns, the id of the main
2019 Jun 17
2
Fwd: Re: Fwd: Re: Kerberos and NTLMv2 authentication
On 6/17/19 12:37 PM, Edouard Guign? via samba wrote: > On my linux box (centos 7), I set Samba + Winbind against AD. > But I also set SSSD against AD for an other purpose (sftp access). > > I am wondering if there is no risk to disable sftpd/sssd if I add > winbind in /etc/nsswitch.conf > > Can Winbind and SSSD be installed on the same system if they are not > used for
2008 May 04
12
best approach to managing workers and getting status
Hi, I am using backgroundrb to process audio files from a rails controller. Currently a new worker gets created every time the method is called on the worker, using this code: @job_key = MiddleMan.new_worker(:worker => :audio_file_worker, :job_key => Time.now.to_i) MiddleMan.worker(:audio_file_worker, @job_key).make_new_audio_file(params[:release_id]) I need to create the new