Displaying 17 results from an estimated 17 matches for "rustomji".
2008 Jul 28
1
How to set directory Rscript runs in/Sweave output directory
...ile
2. Or Can Sweave direct the .tex output file to a nominated directory?
I have tried Rscript -e setwd(shell('echo %outdir%',intern=T)) -e
Sweave(....
to change the current working directory to %outdir% before invoking
Sweave but this doesn't seem to work in batch mode.
paul
Paul Rustomji
Rivers and Estuaries
CSIRO Land and Water
GPO Box 1666
Canberra ACT 2601
ph +61 2 6246 5810
mobile 0406 375 739
2009 Jul 15
1
Read PNG file and display with more than 256 colors RGDAL
...ustralia.1252
attached base packages:
[1] grid stats graphics grDevices utils datasets methods base
other attached packages:
[1] abind_1.1-0 rgdal_0.6-9 sp_0.9-37 gridBase_0.4-3
loaded via a namespace (and not attached):
[1] lattice_0.17-25 tools_2.9.1
Paul Rustomji
2010 Mar 22
2
Problem with factors in lm() when using Rscript but not GUI
...;
$status
[1] ""
$major
[1] "2"
$minor
[1] "10.1"
$year
[1] "2009"
$month
[1] "12"
$day
[1] "14"
$`svn rev`
[1] "50720"
$language
[1] "R"
$version.string
[1] "R version 2.10.1 (2009-12-14)"
Paul Rustomji
CSIRO Land and Water (Lucas Heights, NSW)
2008 Oct 16
1
Rscript -e, Sweave and tempdir()
...need to figure out where file() opens the anoymous temporary file on your operating system. His is the same place as a call to
tempdir() shows, e.g. on my Linux box:
R> tempdir()
[1] "/tmp/RtmpIzi6Yv"
so it tries to write under /tmp.
_____________________________________________
Paul Rustomji
Rivers and Estuaries
CSIRO Land and Water
GPO Box 1666
Canberra ACT 2601
ph +61 2 6246 5810
mobile 0406 375 739
2008 Jul 28
1
Is there a way to avoid loading dependendent packages?
...off the loading of
dependent packages so that I can only load the minimum ones I need? I
understand I'll be carrying the risk of missing dependencies but in this
case it is fairly straight forward as to why I need to do this and what
specific packages are needed.
Any suggestions?
Paul
Paul Rustomji
Rivers and Estuaries
CSIRO Land and Water
GPO Box 1666
Canberra ACT 2601
2008 Sep 29
1
problem running Sweave as a web service with anti-virus software
...e seems to be a
problem with Sweave trying to run an executable in one of the system's
temp directories which the virus checker is then blocking.
Has anyone else had any experience with this or have any tips as to what
might be going on, least of all how to get around this?
Thanks
Paul.
Paul Rustomji
Rivers and Estuaries
CSIRO Land and Water
GPO Box 1666
Canberra ACT 2601
ph +61 2 6246 5810
mobile 0406 375 739
2008 Jun 25
0
Use plotmath expressions read from a text file in mtext/bquote
...mens per centimetre.
The trouble I am having is getting the axis label string (last line of
par.file) into R in a way that the mtext/bquote command understands.
There seem to be issues around the quoting and perhaps the use of tildes
"~" in the plotmath expression.
Any ideas?
Paul
Paul Rustomji
CSIRO Land and Water
2009 Jul 10
0
Problem loading ReadImages package (and RGooglemaps)
...ia.1252;LC_CTYPE=English_Australia.1252;LC_MONETARY=English_Australia.1252;LC_NUMERIC=C;LC_TIME=English_Australia.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base
loaded via a namespace (and not attached):
[1] tools_2.9.1
Any ideas?
Paul Rustomji
2008 Jul 31
0
Is conditional evaluation of R code chunks possible in Sweave ?
...were called/sourced/Sweaved as required. Sweaving within a code
chunk seems to work a bit, but I've been having troubles getting graphs
produced with the filenames I need.
Any ideas - or is the only option to evaluation all code chunks but with
the if statement *inside* the code chunk?
Paul Rustomji
Rivers and Estuaries
CSIRO Land and Water
GPO Box 1666
Canberra ACT 2601
ph +61 2 6246 5810
mobile 0406 375 739
2009 Feb 16
0
problem with gls finding model terms without specifying data=named.object
...Saikat DebRoy <saikat at stat.wisc.edu>, Deepayan Sarkar <Deepayan.Sarkar at R-project.org>,
the R Core team.
Maintainer: R-core <R-core at R-project.org>
Description: Fit and compare Gaussian linear and nonlinear mixed-effects models.
Paul Rustomji
Rivers and Estuaries
CSIRO Land and Water
GPO Box 1666
Canberra ACT 2601
ph +61 2 6246 5810
mobile 0406 375 739
2011 Sep 17
0
Problem using SNOW with data frame as a function argument
..."POWERAPP4-WRON"
machine login user
"x86-64" "xxxxxx" "xxxxxx"
$version.string
[1] "R version 2.12.1 (2010-12-16)"
Paul Rustomji
Research Scientist
CSIRO Land and Water
Australia
[[alternative HTML version deleted]]
2012 May 02
1
returning value from source() in R .Net
Hello
I would like to source an R script from within a C# .Net application equivalent to:
source("my_r_code.r")
I can get this to run but am not sure how to retrieve R objects defined with script my_r_code.r at runtime.
For example, if "my_r_code.r" contains
#-- contents of my_r_code.r---------------------
x <- 1:10
xmean <- mean(x)
2012 May 03
1
is there a way of identifying batch mode running?
Hello list
Is there a way of identifying from within R whether a script has been source(d) from Rgui.exe or via Rscript.exe in batch mode?
For the code I have I use the commandArgs() function to pick up command line args when running in batch mode via Rscript.exe
However I like to get the code working manually first using source("MyRCode.r")
I'd like to be able to put something at
2009 Apr 23
1
how to control significant digits(?) on axis labels
...52;LC_NUMERIC=C;LC_TIME=English_Australia.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] xlsReadWrite_1.3.3 qualV_0.2-4 KernSmooth_2.22-22
loaded via a namespace (and not attached):
[1] tools_2.8.1
Paul Rustomji
Rivers and Estuaries
CSIRO Land and Water
GPO Box 1666
Canberra ACT 2601
ph +61 2 6246 5810
mobile 0406 375 739
2008 Jun 02
0
Missing "spline_coef" DLL and Rob Hyndmans monotonic interpolator
...<- (sig>=0)
if(sum(ind))
z$b[ind] <-
pmin(pmax(0,z$b[ind]),3*pmin(abs(S0[ind]),abs(S1[ind])))
ind <- !ind
if(sum(ind))
z$b[ind] <-
pmax(pmin(0,z$b[ind]),-3*pmin(abs(S0[ind]),abs(S1[ind])))
z
}
#######################################
Paul Rustomji
Rivers and Estuaries
CSIRO Land and Water
GPO Box 1666
Canberra ACT 2601
ph +61 2 6246 5810
mobile 0406 375 739
2009 Jun 29
5
Help
HiĀ group,
I found a module for adaptive kernel density estimation for Stata users, but unfortunetly I don't have access to Stata, can I find a similar approach using R?
Thank u so much 4 ur time.
[[alternative HTML version deleted]]
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
...this do what you want?
library(plotrix)
barp(y,names.arg=0:14)
Jim
------------------------------
Message: 5
Date: Mon, 29 Sep 2008 06:57:07 -0400
From: Duncan Murdoch <murdoch at stats.uwo.ca>
Subject: Re: [R] problem running Sweave as a web service with
anti-virus software
To: Paul.Rustomji at csiro.au
Cc: r-help at r-project.org
Message-ID: <48E0B483.2000704 at stats.uwo.ca>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 29/09/2008 2:01 AM, Paul.Rustomji at csiro.au wrote:
> Hello R mailing list
>
> We are trying to use R and Sweave, running as a web...