similar to: Search&replace string?

Displaying 20 results from an estimated 100 matches similar to: "Search&replace string?"

2008 May 21
2
Search a string and modify it in a .txt file
Hi there, I use R and I would like to be able to modify a file .txt "init_file" like this one : # ---------------------------------------------------------------------------- # # Parameters A # ---------------------------------------------------------------------------- # # Parameter 1 PA1 = 15 # Parameter 2 PA2 = 3 # Parameter 3 PA3 = 2 #
2008 May 30
1
Modify string-regular expression
Hi there everybody, I would like to be able to modify a string like 'Param_i = Val_i-1' in 'Param_i = Val_i-2' in a text file Indeed I have two arrays : -One for the name of my parameters -One for the new values for each parameter I would like to write a loop like this one : ... SCAN <- scan("File.txt",sep="\n", what="raw",blank.lines.skip=F)
2010 May 17
2
Dynamically build variable names
I'm trying to dynamically build variable names to use on a list. Let's say I have a list like this one: l <- list(V1_1=c(1,2,3), V1_2=c('One','Two','Three')) And I succesfully build my variable name like this: paste('l$', 'V1_1', sep='') Why can't I just run a mean call with the pasted variable name? mean(paste('l$',
2007 Nov 26
1
Preserving output of MCMC iterations
Dear colleagues, I'm an epidemiologist with no background in programming and just started using R a few weeks ago. I am working on the epidemiology of African sleeping sickness, and am trying to use R to perform a Monte Carlo Markov Chain analysis to estimate three unknown parameters within a model of African sleeping sickness case detection that is mainly informed by actual field programme
2014 May 27
1
[HCL] GRAFENTHAL PR-3000-HS supported by snmp-ups
Dear NUT Developer Team, we wish to report a compatible product with your software. Product: PR-3000-HS SNMP/Web Minislot card (ref 149G0006) Manufacturer: GRAFENTHAL GmbH Test Environment: Version: NUT Windows 2.6.5-3 OS: Microsoft Windows Server 2012 (NT Version 6.2 Build 9200) NUT mode: standalone Please find the NUT configuration files, output logs and the shutdown sequence in the
2012 Dec 17
0
Fwd: Nut-upsdev post from jackobs@macle.de requires approval
I'm forwarding Marco's msg to the list, since it's really too big, and embeds upsc/upsrw/upscmd binaries! cheers, Arnaud -- Engineering Linux/Unix Expert - Opensource Solutions Lead - Eaton - http://opensource.eaton.com NUT (Network UPS Tools) Project Leader - http://www.networkupstools.org Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.fr
2006 Jan 13
1
system-config-users error
Has anyone seen this error before in CentOS 4.2? I've been setting up two identical systems, one has this error and the other doesn't. Short of removing and re-installing all the packages related to gtk is there an easier solution? I have removed and re-installed all the system-config tools, but the error didn't change. sudo system-config-users **
2008 Apr 15
0
routing problem: map.testroute ":param1/:param2-:param3-:param4.html"
hi, I''m trying to create meaningful urls with routing extracting all params as specified: map.testroute ":param1/:param2-for-:param3.html" However this approach totally fails - it says Routing Error, No route matches "/aaaa/bbbb-for-ccc.html" with {:method=>:get} Then while browsing source code and some googling I''ve found that there is sth called
2008 Dec 22
56
[git patches] Ocfs2 patches for merge window, batch 2/3
Hi, This is the second batch of Ocfs2 patches intended for the merge window. The 1st batch were sent out previously: http://lkml.org/lkml/2008/12/19/280 The bulk of this set is comprised of Jan Kara's patches to add quota support to Ocfs2. Many of the quota patches are to generic code, which I carried to make merging of the Ocfs2 support easier. All of the non-ocfs2 patches should have
2011 Aug 12
3
gsub("\\", "\\\\", "C:\Program Files\R")
Hi, I think it is not possible in R but I rather ask before giving up: What I have: I have copied "C:\Program Files\R" into my clipboard. What I want: setwd(transform("C:\Program Files\R")) where the function transform should change the "C:\Program Files\R" from my clipboard to "C:\\Program Files\\R" so that R can handle it. Is this possible? I've
2010 Aug 26
2
[LLVMdev] analysis and transformation of Machine IRs
Hello LLVM developers, I have a few questions regarding analysis and transformation of Machine IRs. I am writing a scheduling pass that transforms single basic block loops. Details of the pass can be found in an email I sent two weeks ago. http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-August/033808.html I have changed my pass to run before Live Variable Analysis since then. 1, Induction
2007 Aug 23
3
[PHP-AGI] Problem executing script
Hello,I have succeded in compiling and configuring My TDM Card and asterisk, all works fine. But I have a problem using the PHP Agi.The CLI tells me that when I call my number :-- Starting simple switch on 'Zap/4-1' -- Executing [s at incoming:1] Answer("Zap/4-1", "") in new stack -- Executing [s at incoming:2] AGI("Zap/4-1", "rabot.agi") in
2012 Dec 13
1
PLEASE REMOVE FROM LIST SERVE NOW!
PLEASE REMOVE ME FROM THIS LIST SERVE IMMEDIATELY!!!!!! On Wed, Dec 12, 2012 at 6:41 PM, dada <paxkn@nottingham.ac.uk> wrote: > Hi > I would like to do neural netowrk analysis on my data. It look like this: > > drug param1 param2 param3 param4 param5 class > A 111 15 125 40 0.5 1 > B 347 13 280 55 3 2 >
2008 Feb 08
0
javascript parameter problem with onsubmit
Hi I have this problem: <script> var param1 = ''field3''; </script> <script> var param2 = ''field3''; </script> <script> var param3 = ''field3''; </script> <%= submit_tag ''Next'', {:onsubmit => ''return validate_options(param1,param2,param3);''} %> function
2010 Mar 19
2
Using DTrace in 32-bit to handle 64-bit parameters [72631230]
Hi all, OK, so this at first looked like a clear cut "Don''t do it, or at worst handle the results" issue my customer has come to me with, but the more we discuss it, the more it looks like we should have better ways of dealing with this issue. > We have user defined dtrace probe points in the application which use > as parameter 64 bit values: > > provider adv {
2007 Feb 20
0
Standardized residual variances in SEM
Hello, I'm using the "sem" package to do a confirmatory factor analysis on data collected with a questionnaire. In the model, there is a unique factor G and 23 items. I would like to calculate the standardized residual variance of the observed variables. "Sem" only gives the residual variance with the "summary" function, or the standardized loadings with the
2003 Oct 28
1
error message in simulation
Dear R-users, I am a dentist (so forgive me if my question looks stupid) and came across a problem when I did simulations to compare a few single level and two level regressions. The simulations were interrupted and an error message came out like 'Error in MEestimate(lmeSt, grps) : Singularity in backsolve at level 0, block 1'. My collegue suggested that this might be due to my codes
2017 Mar 06
2
[PATCH] v2v: Fix invalid regexp in file_contexts file (RHBZ#1374232).
Instead of just documenting this bug, fix it in the file_contexts file. Replaces commit ad3c8fe7f49c4991e1aa536856a1a408f55d5409. --- customize/SELinux_relabel.ml | 19 +++++++++++++++++++ v2v/virt-v2v.pod | 11 ----------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/customize/SELinux_relabel.ml b/customize/SELinux_relabel.ml index fa9603c..69a4779 100644 ---
2006 Apr 27
3
Routing problem
Hi, I am having a routing problem and can''t figure out why its happing. I have added the following line in my routing.rb file. map.connect ''name/:id'', :controller => ''controller_name'', :action => ''action_name'' When I use http://domain.com/controller_name/action_name/id then it works fine on the local machine using webrick
2011 Sep 16
1
copula con marginales multivariantes
Hola, Quiero saber si es posible programar una cópula donde las funciones marginales son multivariantes, siguiendo el esquema del package ''Copula''. Es decir, Copula(F(x,y), G(w,z))) En el caso de funciones marginales univariantes, un ejemplo de la normal multivariante quedaria de la siguiente forma,