similar to: Question: write an R script with help information available to the user

Displaying 20 results from an estimated 1400 matches similar to: "Question: write an R script with help information available to the user"

2017 Sep 19
1
symbolic computing example with Ryacas
Thanks for the response. Yes, I did study the vignette but did not understand it fully. Anyway, I have tried once again now. I am happy to say that I have got what I wanted. library(Ryacas) x <- Sym("x");U <- Sym("U");x0 <- Sym("x0");C <- Sym("C") my_func <- function(x,U,x0,C) { return (U/(1+exp(-(x-x0)/C)))} FirstDeriv <-
2017 Sep 19
2
symbolic computing example with Ryacas
Hi all, I am trying to implement the following matlab code with Ryacas : syms U x x0 C d1=diff(U/(1+exp(-(x-x0)/C)),x); pretty(d1) d2=diff(U/(1+exp(-(x-x0)/C)),x,2); pretty(d2) solx2 = solve(d2 == 0, x, 'Real', true) pretty(solx2) slope2=subs(d1,solx2) I have tried the following : library(Ryacas) x <- Sym("x");U <- Sym("U");x0 <-
2005 Aug 24
1
Running wine from php pages with "Xvfb" not success for my machine
I am sorry before, cause my english is poor. My machine is : i686 and I use RedHad Enterprise Linux AS Rel.3, Apache 1.3.33 and PHP 4.4.0. Simply, I want to run an Windows application via PHP page with WINE emulation. (Newest version of WINE updt. August 2005) I have a simple a PHP file "wine.php", that will load an windows application via PHP page. The contents is:
2017 Sep 19
0
symbolic computing example with Ryacas
Have you studied the "Introduction to Ryacas" vignette that come with the package? Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Sep 19, 2017 at 2:37 AM, Vivek Sutradhara <viveksutra at gmail.com> wrote:
2009 Jun 24
5
how to exec a directory creation before downloading a file to that directory?
I want to create a directory and THEN get files into that directory on a client. Puppet it seems does not follow the order of commands, like below in my example. Sometimes it creates the directory, then downloads the file, and sometimes it tries to download the file before creating the directory, so the file won''t be downloaded. How can I download a file and make certain the destination
2011 May 21
1
'apply' with additional class variable
Dear R gurus, I'm trying to solve what I assume is a fairly simple problem, but I'm having trouble finding the proper approach. I have a matrix where each column is some object (e.g. a car) and each row is a numeric measurement of a feature of said object (e.g. horse power, top speed, etc.). Let's also suppose that I know what make the car is (e.g. toyota, ford, etc.), stored in a
2017 Nov 05
2
What pattern string corresponds to CopyToReg?
Hmm, okay. Then what's the problem being reported here? I'm not sure what I'm supposed to do with "LLVM ERROR: Cannot select: t1: i16 = Constant<127>".BTW, the function is: ; ModuleID = 'return.c' source_filename = "return.c" target datalayout = "E-m:e-p:16:16:16-i1:16:16-i8:16:16-i16:16:16-i32:16:16-i64:16:16-S16-n16" target triple =
2009 Oct 16
2
Urgent help requested to modify a script
I am hoping someone will tak up this chalenge (I am new to R) I have inheritied an R script but need to change it. The script currently includes hardcoded file locations on lines 12,166 and 167. I need to modify this script to allow the folder to be passed as a command line argument to Rscript.exe Can anybody help please? Regards, Ian http://www.nabble.com/file/p25924237/My_script.R
2012 Jun 27
1
Running R on a cluster
Hello, I have R script my_script.R . It loads a large input file "data.txt" and then outputs a large matrix "out". (the command of running it on cluster using my.cmd is put at the end) Now I have 30 different input files "data1.txt", "data2.txt" ... and "data30.txt" and want to generate and save 30 output (matrix) files separately, how can I
2017 Nov 05
2
What pattern string corresponds to CopyToReg?
Well, that's the thing: I thought that was CopyToReg. I don't know what the name of the node is to load one value into a register, so I don't know how to construct such a pattern. On Sat, Nov 4, 2017 at 9:23 PM Craig Topper <craig.topper at gmail.com> wrote: > Do you have a pattern for loading an i16 immediate into a 16-bit register? > > ~Craig > > On Sat, Nov 4,
2013 May 15
5
Shell Scripting Random Delay
I have a shell script that's run every 5 minutes I use to call many other shell scripts. Is there a way to wait a random number of seconds before executing each line? Something like this. wait_random 10 - 180 (perl /scripts/my_script.pl) & wait_random 10 - 180 (perl /scripts/my_script5.pl) & wait_random 10 - 180 (perl /scripts/my_script7.pl) & I have many entries in this file
2005 Apr 22
1
Beginner in R
hello ( and sorry for my poor english ... ) I'm a newbie on R software and I need to obtain this kind of system : a structure, like a liste : my_struct <- list() my_struct$a <- a_value my_struct$b <- another_value my_struct$c <- one_more_value and a function with two args : the first is a instance of the structure, and the second is any component of the structure (here $a, $b
2009 Oct 22
1
tapply with multiple arguments that are not part of the same data frame
Hi all, I would like to invoke a function that takes multiple arguments (some of which are specified columns in the data frame, and others that are independent of the data frame) on split parts of a data frame, how do I do this? For example, let's say I have a data frame >fitness_data name height weight country rob 5.8 200 usa nancy 5.5 140 germany jen
2020 Apr 28
5
llvm-objdump: failed to parse debug information
Hi, In a 32-bit ARM build, I am seeing the following warning (edited for simplicity, I can provide full logs if necessary): > llvm-objdump -l -d -x file.elf > llvm-objdump: warning: 'file.elf': failed to parse debug information for file.elf All object files and static libraries seem to have debug info (i.e., llvm-objdump does not complain when run on each file individually and
2001 Nov 16
1
R BATCH mode
hihi easy! i would like run r in batch mode. how could i pass through arguments for my r.script. for example: r batch my_script.R arg1 arg2 and how must i modify the r script. wolfgang -- Wolfgang Mueller Phone +41 1 256-9203, MeteoSwiss Kraehbuehlstr. 58, mailto:muw at meteoswiss.ch CH-8044 Zuerich, Switzerland http://www.meteoswiss.ch/
2014 Jun 23
1
Active Directory 'add machine script' parameter
Hi, I'm looking at migration from Samba3 (NT domain) to a Samba4 in 4.1.6 on ubuntu 14.04 in active directory domain controller mode. I was doing some stuff when subscribing machines to the domain through a script called by smbd, as described with 'add machine script' parameter in smb.conf. It seems that this behavior isn't supported in Active Directory mode in my version :
2011 Aug 25
1
Possible Error in generic function rzigp in ZIGP Package
Dear All, I would like to report a possible mistake in the generic function rzigp in ZIGP package, and seek for help. Yesterday I tried the "rzigp" function, in this way: 1. generate poisson means from a pareto distribuion, 2. generate dispersion for each poisson from gamma distribution 3. generate ratios between poisson means from uniform 4. generate dispersed poisson counts by
2012 Aug 15
0
[LLVMdev] clang promoting local to global
On Wed, Aug 15, 2012 at 4:10 PM, Eli Friedman <eli.friedman at gmail.com>wrote: > On Wed, Aug 15, 2012 at 3:17 PM, Ryan Taylor <ryta1203 at gmail.com> wrote: > > So there are some #define (defined outside the function scope) that use > > it_tab that are used inside the function, is this why it is promoting it > to > > a global? > > Macros shouldn't
2012 Jun 17
3
[LLVMdev] BlockAddress instruction is copied instead of cloned during module link?
I have a module having the blockaddress instruction. When I link it into another module and delete the original, blockaddress disappears and is replaced by inttoptr (i32 1 to i8*). Please compile and run the attached program to see the demo of this problem. Right after linking modules, blockaddress still exists: @switch.bbs = internal global [3 x i8*] [i8* blockaddress(@my_func,
2012 Oct 22
4
Possible to exclude an event in Puppet dashboard?
Hi All, I was wondering if it is possible to NOT show an event in puppet dashboard. I have an exec resource that fires of a ruby script. This is triggering a changed event on every run, but actually I want to exclude this from showing up as "CHANGED" Is this possible, if so how can I achieve this? --- myscript: --- exec { "run_myscript" : #