search for: pth

Displaying 20 results from an estimated 78 matches for "pth".

Did you mean: path
2007 Nov 28
1
ifelse function
Hi there, I need help with IFELSE function. The column g of my dataset pth, pth$g consists of "aa", "ao", "dcl", "iy", "sh". The last few values of pth$g looks like: [4496] sh ao ao sh iy dcl dcl aa iy iy aa sh ao ao Levels: aa ao dcl iy sh I want to convert these values into 1,2,3,4,5. I tried to use a loop a...
2012 May 08
0
[Announce] nPth - The New GNU Portable Threads Library
Hi! We are pleased to announce the first tarball release of the New GNU Portable Threads Library: nPth version 0.90. nPth is a non-preemptive threads implementation using an API very similar to the one known from GNU Pth. It has been designed as a replacement of GNU Pth for non-ancient operating systems. In contrast to GNU Pth is is based on the system's standard threads implementation. Thus...
2011 Oct 27
2
help with paste
Hello gurus, I have some variables, and i am creating combinations for analysis in the end i need these variables to be displayed like "LEPTIN+SAA+PTH". currently i am using loop to perform this. I would appreciate any pointers to do it without the loop. > mols=c("LEPTIN","SAA","PTH","sEGFR") > samples=mols[1:3] > samples [1] "LEPTIN" "SAA" "PTH" > names...
2005 Oct 04
2
Need help on ARIMA (time series analysis)
...planation on what I try to achieve Th16k is time series data (500 data points). The size of window for fitting and predicting is 50 (data points). As you can easily discover from my code, (fixed) window is moving/sliding to get next one-step ahead prediction. The predicted value will be saved in pth. The problem is, every time I execute following script, I got error saying > source("C:\\R\\arima.R") Error in arima(temp, order = c(1, 0, 1)) : non-stationary AR part from CSS I think there should be better way to achieve this goal without using for loop. If you can...
2005 Nov 24
10
Any change of rsync using threads instead of fork?
On a typical embedded Linux device, with no MMU, there is no fork() or it returns ENOSYS. The nearest replacements are vfork() (which is only useful before exec*()), or to create threads with pthread_create(). rsync would be a very useful program on such devices, and I was a bit disappointed to build it, only to find the compile went fine but it failed at runtime due to ENOSYS. Is there any likelihood of changing the rsync code to use threads instead of processes? Would it be a lot of wo...
2008 Oct 27
0
Displaying number of Y/N affected by tree in rule form RE: R question/request on rules from rpart
...%.0f (%.0f%%) prob=%0.2f]\n", ylevels[frm[i,]$yval], frm[i,]$n, formatC(frm[i,]$yval2[,2], format = "f", digits = 2), formatC(frm[i,]$n-frm[i,]$yval2[,2], format = "f", digits = 2), round(100*frm[i,]$n/ds.size), frm[i,]$yval2[,5])) pth <- path.rpart(model, nodes=as.numeric(names[i]), print.it=FALSE) cat(sprintf(" %s\n", unlist(pth)[-1]), sep="") } } } listrules(fit) Copyright (c) 2004-2008 Togaware Pty Ltd -----Original Message----- From: Graham Williams [mailto:Graham.Williams at togaware.co...
2005 Aug 30
0
No subject
...xplicit Private Declare Function GetFullPathName Lib "kernel32" _ Alias "GetFullPathNameA" (ByVal lpFileName As String, _ ByVal nBufferLength As Long, ByVal lpBuffer As String, _ ByVal lpFilePart As String) As Long Sub test() Dim buff As String Dim ret As Long Dim pth As String pth = "/home/justin/.cxoffice/dotwine/fake_windows/pretest/GEM01494/GEM01494.rtf" buff = Space$(1024) ret = GetFullPathName(pth, 1024, buff, "") buff = Left$(buff, ret) Debug.Print ">>>" & buff & "<<<" End Sub </CODE&...
2011 Oct 27
2
help with parallel processing code
...uter with R 2.13.x, using foreach, iterators,doMC. library(scatterplot3d) # Loads 3D library. library(fields) library(MASS) library(ROCR) library(verification) library(caret) library(gregmisc) ##simulated data d=replicate(9, rnorm(40)+10) colnames(d)<-c("LEPTIN","SAA","PTH","sEGFR","IGFBP6","MMP2","OPG","IGFBP3","PDGFAABB") mols=c("LEPTIN","SAA","PTH","sEGFR","IGFBP6","MMP2","OPG","IGFBP3","PDGFAABB") ####Name of...
2018 Feb 17
2
Problem installing libxml2 under Homebrew
...bytes (245 KB) ================================================== downloaded 245 KB * installing *source* package ?xml2? ... ** package ?xml2? successfully unpacked and MD5 sums checked Found pkg-config cflags and libs! Using PKG_CFLAGS=-I/usr/include/libxml2 Using PKG_LIBS=-L/usr/lib -lxml2 -lz -lpthread -licucore -lm ------------------------- ANTICONF ERROR --------------------------- Configuration failed because libxml-2.0 was not found. Try installing: * deb: libxml2-dev (Debian, Ubuntu, etc) * rpm: libxml2-devel (Fedora, CentOS, RHEL) * csw: libxml2_dev (Solaris) If libxml-2.0 is already...
2016 Aug 25
2
lnt issue- Could not find required distribution six==1.9.0
...egg --dist-dir /tmp/easy_install-ZBhMFI/six-1.9.0/egg-dist-tmp-fhACLO* *no previously-included directories found matching 'documentation/_build'* *zip_safe flag not set; analyzing archive contents...* *six: module references __path__* *six 1.8.0 is already the active version in easy-install.pth* *Installed /home/xxx/xxx/workBox/lib/python2.7/site-packages/six-1.8.0-py2.7.egg* *error: Could not find required distribution six==1.9.0* *When I run lnt, I am getting the following error-* *pkg_resources.DistributionNotFound: six==1.9.0* Regards, Utpal Bora Ph.D. Scholar Computer Science &a...
2006 Jun 19
9
win32-service patch
...n a stop waits for Ruby_Service_Ctrl to indicate that all threads are stopped before stopping the service (it continues to update service status politley). That''s it -- in my tests it works perfectly. If I made any fax paus in my patch creation or summary please let me know. Thanks again pth -------------- next part -------------- A non-text attachment was scrubbed... Name: green_thread.patch Type: application/octet-stream Size: 4627 bytes Desc: not available Url : http://rubyforge.org/pipermail/win32utils-devel/attachments/20060619/8cb30214/attachment-0002.obj -------------- next par...
2006 Apr 14
7
SHA2 Issues
Hello all, Thank you in advance for your help with this. I am trying to implement the user authentication method from Ruby Recipes which calls for the use of SHA 2. Here is the code for the password: def password=(pass) salt = [Array.new(6){rand(256).chr}.join].pack("m").chomp self.password_salt, self.password_hash = salt, Digest::SHA256.hexdigest(pass + salt) end I open
2009 Mar 23
2
error statement: missing value where TRUE/FALSE needed
Hi list, I want to try Gibbs sampling as a method of estimating a markov-switching model of a mean-deviating, pth-order autoregressive process with time varying transition probabilities via R and am using a code originally written by another person; I attach the useful pdf document explaining the code. When I run the code, I get an error message: Error in if (r < vQ[i]) { : missing value where TRUE/FALS...
2014 Mar 24
4
[LLVMdev] RFC: Binary format for instrumentation based profiling data
...39;ll convert from format 1 to format 2 using llvm-profdata, > and clang will use format 2 for PGO. > > Since the only particularly important operation in this use case is fast > lookup, I propose using the on disk hash table that's currently used in > clang for AST serialization/PTH/etc with a small amount of metadata in a > header. > > The hash table implementation currently lives in include/clang/Basic and > consists of a single header. Moving it to llvm and updating the clients > in clang should be easy. I'll send a brief RFC separately to see if > any...
2006 Aug 11
1
Calling a Controller method from the command line
...e periodic reports so I don''t need nor want to leave a server running all the time, so getting the data via curl/wget isn''t really an option. What I really want is script/controller_runner MyController.my_method Any suggestions? -- Paul Haddad (paul.haddad@gmail.com paul@pth.com)
2006 Aug 13
1
Is :finder_sql using #{id} broken?
...rprets a single quoted #{id} the first time through a query. I see examples of this being used in a few places (though with has_many) and I don''t really see how to use :finder_sql without a #{id}. Am I missing something or is this just broken? -- Paul Haddad (paul.haddad@gmail.com paul@pth.com)
2020 Jan 02
2
Limiting what devices can pair over Bluetooth?
I've managed to get a Wacom Intuos Pro 2 (PTH-660) tablet working over Bluetooth to a CentOS 7 install. Well, I didn't actually have to do much to get it working ... However, we don't normally enable Bluetooth for security reasons, so I need to be able to configure things so Bluetooth can _only_ be used to pair with Wacom tablets...
2006 Sep 03
1
Returning different values with stubs
...omepath" # args = {:id => ''1''} # @session.expects(:get).with(path,args) # @session.stubs(:redirect?).returns() <-- returns different values # @session.expects(:follow_redirect!). <-- expects it a certain amount of times # @session.get_via_redirect(pth, args) # end -- Kevin Clark http://glu.ttono.us
2007 Sep 12
2
RubyConf 2007?
Hi all, Is anyone on the list going to RubyConf this year? I don''t know yet if I''m going to go. I''m still thinking about it. Regards, Dan
2006 Oct 26
2
The win32-service patch is committed - and now, some questions
Hi all, I *finally* committed the patch from Patrick Hurley (you know, the one he submitted way back in June). Looks like it works. I''ve also revamped the code under the examples directory. There''s now a tdaemon.rb (the test daemon) and tdaemon_ctl.rb (the test daemon controller). Before I release this into the wild I want to make sure I document how to use it properly.