similar to: R - Linux_SSH

Displaying 20 results from an estimated 4000 matches similar to: "R - Linux_SSH"

2011 Jan 06
1
Multiple subsets of data
Dear List, I have a data frame called trait with roughly 800 species in, each species have 15 columns of information: Species 1 2 3 etc.. a t y h b f j u c r y u etc.. I then have another data frame called com with the composition of species in each region, there are 506 different communities: community species NA1102 a NA1102 c NA0402 b NA0402 c AT1302 a AT1302 b etc.. What
2004 Mar 04
4
Command Line Programs
Hi, I have recently started using R again (switched from MatLab) and have a question regarding programming. How can I set up a file that will run several lines of R code? For example, in Fortran and DOS this used to be done via a batch file, and in MatLab I would write the code and save it in a script file, e.g., Test.m. An example of what I am trying to do is the following:
2011 May 20
1
Multiple count if style "queries"
Dear List, I am looking to calculate two things from my data frame and was after some advice. For the example below i want to know. 1. How many unique Orders/Families and Genera there are per eco-name 2. How many incidences are there for each Order/Family and Genus there are per eco-region I have 650 econame. I.e for Biak-Numfoor rain forests there are 2 orders, 2 families and two genera.
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
2013 Feb 02
2
Question: write an R script with help information available to the user
Dear All, I would like to ask a question on how to incorporate into an R script help information for the user. I vaguely recall that I saw some instructions on an R manual, but am not able to figure them out. Hereunder is the basic setting: 1. I finished writing an R script, my_script.r, that is a function (the function is named "my_func") for a statistical procedure. This means that
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
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" : #
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:
2011 Jan 06
3
Extract data
Dear List, I have a data frame called trait with roughly 800 species in, each species have 15 columns of information: Species 1 2 3 etc.. a t y h b f j u c r y u etc.. I then have another data frame called com with the composition of species in each region, there are 506 different communities: community species NA1102 a NA1102 c NA0402 b NA0402 c AT1302 a AT1302 b etc.. What
2012 Oct 29
6
export variable from bash to R
Dear R experts This probably seems very easy to you guys, but I'm a beginner and would be really glad if someone helped me with this: I am trying to automate the execution of an R script (let's call it "myscript.R") by passing a variable from a bash script to myscript.R. I know I can use the command Rscript, but I don't know how to declare in bash which variable will be
2012 Apr 12
7
Run rsync even not connected
I hopethis hope this makes sense. How do you make rsync run even when not physically connected to the server? In other words, I run rsync from the terminal via vnc and when I log out of the connection, rsync stops running. Is there a script or something I can use? Sent from my iPhone
2018 Sep 28
4
Simple bash question
I am calling a bash script and passing in somestring that includes a "$" myscript "$plusmore" I want to assign in the myscript the $1 arg to something like MYTEXT="$1" when I do that I dont get what I'm expecting. if I do MYTEXT='$1' I still dont get what I'm expecting. On the first assignment of MYTEXT I do not want the "$" to be
2005 Feb 25
3
passing command line arguments to 'R CMD BATCH myScript.R'
Hi Community, I have a question about how to pass command line parameters to R script running in the batch mode. The problem is: there is a banch of data files which are to be processed by R script called from a web-server, i.e. in the batch mode. The web server generates data files and passes their names calling 'R CMD BATCH' one by one for every file. Now the question is how to
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
2007 Mar 12
7
Capistrano Hanging on Deployment
Hello ~ I am using the Capistrano recipe outlined in this post to restart my backgroundrb server: http://rubyforge.org/pipermail/backgroundrb-devel/2007-February/000718.html My Version: ~~~~~~~~~~~~ task :before_restart, :roles => :app do restart_backgroundrb end task :start_backgroundrb, :roles => :app do sudo "nohup
2018 May 15
2
Four bitcode generated with plugin-opt=save-temps
Hi I use the LDFLAGS=" -flto -fuse-ld=gold -Wl,-plugin-opt=save-temps " to generate the makefile and to make the whole program. However, found four different kinds of bitcode for each target. For example, I am compiling coreutils. For the program "nohup", I can get nohup.0.0.preopt.bc nohup.0.2.internalize.bc nohup.0.4.opt.bc nohup.0.5.precodegen.bc If I am right, I
2005 Apr 29
6
IPFW disconnections and resets
Hi, I am using IPFW on FreeBSD 4.11 I am facing two problems: - SSH sessions timeout after a while - When I run "/sbin/ipfw -q -f flush" in the rules script all connection get reset (and I am thrown out of the box). Is this standard functioning of ipfw or do I need to change any configuration? Thanks, Siddhartha
2009 Aug 05
4
Autorun ability on cd?
I have a little niggling situation that I would like to resolve programmatically. I use Git as my SCM and I have release branches which are sometimes patched. I find myself sometimes entering the working directory tree forgetting that I was last on a release branch and not on the master. What I would like to do is to have a script run every time that I enter a directory, check for .git, and if
2013 Aug 27
1
return the name of source.
Is there a fuction that will allow me to retrun the filename for a script from within that script. fir instance If I have a script "myscript.r": FileName<-unknown.fucntion() print(FileName) and run it source("myscript.r") will return "myscript.r" Thanks Nevil Amos [[alternative HTML version deleted]]