Displaying 20 results from an estimated 500 matches similar to: "running R script on linux server"
2012 Mar 18
1
install R package on Unix cluster
Hi R users,
Working from a PC, I am trying to install the spatstat package on a Unix cluster. I created the following PBS file to send a job array:
#!/bin/bash -ue
#PBS -m ae
#PBS -M my email
#PBS -J 1-45
#PBS -A my username
#PBS -N job name
#PBS -l resources
#PBS -l walltime
cd $PBS_O_WORKDIR
module load R/2.14.1
R CMD INSTALL -l /path/to/library spatstat
R CMD BATCH
2007 Jul 30
1
random number generator in batch jobs
Dear sir,
I want to submit R batch jobs (e.g. 5) under the linux cluster by
the script file "do_mul".
The script file "do_mul"
"
#!/bin/bash
export var
for var in $(seq 1 5)
do
qsub -v var do_test
done
exit 0
"
Through "do_mul", 5 "do_test" script files are submitted to the cluster.
The script file "do_test":
"
#!/bin/bash -l
2010 Nov 26
2
get list index
Hi R-users,
I have a list
mylist <- list(c(0.79, 0.92, 0.91, 0.86, 0.96, 0.96, 0.95, 0.94, 0.99),
c(0.28, 0.45, 0.59, 0.69, 0.80, 0.87, 0.95, 0.94, 0.98), c(0.29, 0.39,
0.59, 0.69, 0.68, 0.80, 0.93, 0.95, 0.98))
Is there a way to find the index of the list element that contains the
lowest value among all the other elements? As the lowest value in each
element is the first, the
2003 Dec 30
1
Rmpi and PBS
Hello:
Anybody knows how to run Rmpi through PBS (Portable Batch System) on a
cluster computer. I'm using a supercomputer which require to submit jobs
to PBS queue for dispatching. I tried use mpirun in my PBS script. But all
my Rslaves are spawned to the same node. This is not desired.
Any suggestions are welcome!
Thanks in advance.
========================================
Shengqiao Li
2020 Apr 17
4
HPC question: torques replacement
Dear Experts,
I know there are many HPC (high performance computing) experts on this
list. I'd like to ask your advise.
Almost two decades ago I chose to go with OpenPBS (turned down condor
and other alternatives for whatever reason) for clusters and number
crunchers I support for the Department at the university. It turned out
to be not bad, long lived choice. At some point I smoothly
2010 Jul 13
2
modifying vector elements
Hello R-users,
I have a very large vector (a) containing elements consisting of numbers
and letters, this is the i.e.
a
[1] "1.11.2a" "1.11.2d" "1.11.2e" "1.11.2f" "1.11.2x1"
"1.11.2x1b"
[7] "1.11.2x2" "1.11.2x2a" "1.11.2x2b" "1.11.2x3" "1.11.2x4"
2017 Jul 12
2
submitting R scripts with command_line_arguments to PBS HPC clusters
Dear all,
please could you advise me on the following : I've written a R script that
reads 3 arguments from the command line, i.e. :
" args <- commandArgs(TRUE)
TUMOR <- args[1]
GERMLINE <- args[2]
CHR <- args[3] ".
when I submit the R script to a PBS HPC scheduler, I do the following
(below), but ... I am getting an error message.
(I am not posting the error message,
2010 Jan 06
1
Lattice Plot formatting problem/s
Hi
I am having difficulty getting the right format for a lattice plot I am
trying to produce.
Here is a pic of the plot as I get it now
http://i235.photobucket.com/albums/ee37/scotrivers/lattice_plot01.jpg
and here is the code I am using:
RN<-read.csv("N:/data.dat",header=T)
DATA<-RN[is.element(RN$age,0:3),] #select data on age
2017 Jul 12
0
submitting R scripts with command_line_arguments to PBS HPC clusters
This sounds like an operating system specific question, in that "submit the R script to a PBS HPC scheduler" would be the kind of action that would run R with very different environment variables and possibly different access credentials than your usual interactive terminal. A thorough reading of the "Installation and Administration Guide" and some study of your HPC
2005 Nov 11
2
Running 'rsync' as root misses files
Wayne,
Hello, I saw a post of yours out on samba.org and was wondering if
you might be able to shed a little light on a problem I'm having with
rsync. My rsync source files are all off of nfs mounts and the
destination directories are all nfs mounts. The owner and groups all end
up as nobody/nobody on the destination, despite being all sorts of
owners and groups on the source. Have you
2017 Jul 12
1
submitting R scripts with command_line_arguments to PBS HPC clusters
Hi,
The problem is most likely, you need to call a R CMD BATCH with your arguments and the R-script inside of a shell script that you submit to your qsub.
Unfortunately we don't use qsub anymore so can't test it, but it should be as follows:
R-script eg. test.R:
> ##First read in the arguments listed at the command line
> args=(commandArgs(TRUE))
>
> ##args is now a list of
2009 Oct 29
1
Re trieving comments from PostgreSQL tables with RODBC and psqlodbc
I don't know whether this is an RODBC issue, a psqlodbc issue or a PostgreSQL
issue; I've searched the documentation and forums for each, with no success.
I want to list all the tables in a PostgreSQL schema, and return the table
comments as well as the table names. As an example, one table is defined as
follows:
CREATE TABLE scen990.ezone_locationprice_year1
(
ezone integer NOT NULL,
2010 Aug 11
2
storing the results of an apply call
Hi R-users,
I have a function (myfun) that I want to apply to the rows of a matrix.
Basically, "myfun" takes the values from the matrix ("exp.des"), which
represent the different combinations of my experimental design, and pass
them as arguments to some other functions (fun1 and fun2). As I want to
replicate the results of fun1 and fun2 a certain number of time (e.g.
5), I
2018 May 29
2
LLVM Social - Beijing: May 19th, 2018
Hi Chris,
Thanks for your response!
Wu Wei made this happen! and he is organizing LLVM social in Shanghai,
Hang Zhou and Shen Zhen. I hope one day there is LLVM developer meeting
in China :)
在 2018年05月29日 14:13, Chris Lattner 写道:
> This is really great, thank you for getting this off the ground!
>
> -Chris
>
>
>> On May 28, 2018, at 9:42 PM, Leslie Zhai <lesliezhai at
2005 Mar 02
4
timing/clock problem
Hi all,
We have been fighting with telco for a entire week.
Today they came here with a LITE3000 to analyze what is going on.
When I configure zaptel with no external clock, E1 gets aligned/synchronized
with bit rate in 2048000 bps, both me and telco.
span=4,0,0,ccs,hdb3,crc4
But when I configure span4 to get clock source from telco they become
unsynchronized. TElco bit rate stays in
2004 Oct 03
3
asterix and phone system
I am currently looking at putting together an Asterisk PBX system for my home
office. One of the things I need is an expandable 2-line corded/cordless
phone system.
If I wasn't using Asterisk, I'd be getting one of these AT&T systems with 2
extra handsets.
http://telephones.att.com/attui/shop/product_detail.cfm?itemID=ad53fe08-495e-41b6-b390-3aaa1c84cc40
So, the question is,
2010 May 13
3
R cannot access the web?
Hi,
I had originally posted regarding an error when trying to install package -
GenABEL - it has now become clear that R is not able to connect to the net.
Below are a couple of things I've tried with the resulting errors
I am running R 2.6.2 on Linux e15 X86
How can I fix this? Thank you!
1) download.file("http://www.nytimes.com", destfile<-tempfile())
Error:
trying URL
2018 May 29
2
LLVM Social - Beijing: May 19th, 2018
在 2018年05月29日 14:58, mayuyu.io 写道:
> Any hint on the date of LLVM Social ShangHai?
Wu Wei scheduled July 1th http://hellollvm.org/
>
> Zhang
>
>> 在 2018年5月29日,14:22,Leslie Zhai via llvm-dev <llvm-dev at lists.llvm.org> 写道:
>>
>> Hi Chris,
>>
>> Thanks for your response!
>>
>> Wu Wei made this happen! and he is organizing LLVM social in
2016 Apr 01
6
Clang project renamed
Hi everyone,
There are a number of issues with the current name of the Clang project:
* It is prone to incorrect type setting, typically as CLang, CLANG, or
most commonly c̦҉̫̘̺̹̖̗͒͆͋̈̃̇߯l߲҉̷̡̰̖͈̤̺͒҆̾̚͡͝a̺̹͍̔߭͠ͅn͋́͡g̱߫̉
* The C++ compiler ends in the string "g++", which causes problems for
compiler wrapper scripts
* The name has been used by a kickstarter project
2008 Jan 10
1
RODBC, postgresql on Linux
Dear all,
I facing pbs using RODBC library.
I'm working on a Linux (Ubuntu Gutsy) os, with R version 2.5.1.
I've got Postgresql 8.2.5 installed with the odbc-postgresql package.
I try to connect in a R session to a postgresql database using:
odbcConnect(dsn="thedatabasename",uid="theuser",pwf="thepasswd",case="postgresql")
I get a message error,