Displaying 20 results from an estimated 1000 matches similar to: "Getting *types* of arguments?"
2004 Aug 24
7
Strange update problem 3.0.5->3.0.6 with XP-Clients
Hello world,
I have a very strange update problem: this night I upgraded
from 3.0.5 to 3.0.6 (debian unstable) and the system broke completely
with very strange errors (I did not change anything to smb.conf)
- win98 users can log in, copy and everything
- xp users can log in, they see the shares but they cannot access
the files (read error in xp). I have tested it with
Xp-Prof SP1 und SP2
2005 Feb 25
2
Teaching R in 40 minutes. What should be included?
If _you_ were asked to give a 40 minute dog and pony show about R for
a group of scientists ranging from physicists to geographers what
would you put in? These people want to know what R can do.
I'm thinking about something like:
A. Overview
B. data structures
C. arithmetic and manipulation
D. reading data
E. linear models using glm
F. graphics
G. programming
H. other tricks like rpart or
2005 Feb 10
5
Annual cumulative sums from time series
Hello world,
I am actually transferring a course in data management for
students in biology, geography and agriculture
from statistica to R - it works
surprisingly well. If anyone is interested in my scratch/notepad
(in German language), please see
www.hydrology.uni-kiel.de/~schorsch/statistik/statistik_datenauswertung.pdf
(pages 40-52)
The dataset is:
2007 Jan 08
2
Simple spectral analysis
Hello world,
I am actually trying to transfer a lecture from Statistica to
R and I ran into problems with spectral analysis, I think I
just don't get it 8-(
(The posting from "FFT, frequs, magnitudes, phases" from 2005
did not enlighten me)
As a starter for the students I have a 10year data set of air
temperature with daily values and I try to
get a periodogram where the annual
2005 Apr 01
2
about get stdout from other program
Dear all R-helper,
if I want to use stdout from other language as my R program input ,which is
the best way for design the API,using Pipe function or produce a temporary
file,using scan function to read the file ?
thanks
Michael
2006 May 19
2
"Pipelining" programs in R
Hello...
I would like to use R for 'pipelining' data among several programs. I'm
wondering how I can use R to call another program, feed that program a set
of parameters, and retrieve the output.
E.g., I have an executable that, when opened, prompts the user to enter a
set of parameters. The program then executes & prompts the user for the
name of an output file. I need to
2005 Apr 12
5
How allocate STRSXP outside of gc
Hi,
I am trying to figure a way to allocate a string SEXP so that gc() won't
ever collect it.
Here is a little bit of a background. Suppose I want to write a
.Call-callable function that upon each call returns the same value, say
mkChar("foo"):
SEXP getFoo() {
return mkChar("foo");
}
The above implementation doesn't take advantage of the fact that
2005 Mar 02
1
R 2.1.0 scheduled for April 18
The release schedule has now been set with a release date on April 18.
The detailed procedure can be found at http://developer.r-project.org/
(it is not quite there yet, but will appear after a short propagation
delay.)
The main point for non-developers is that we start making alpha
tarballs on March 21 and beta tarballs on April 4. Only very simple
and/or critical bugs are fixed in the last
2005 Sep 14
1
Long lines with Sweave
I have used Sweave a lot the latest year, but never really used any long
function calls.
If I have code which look like this
-------------------------------------------------------------
gof <- benthic.flux(ID="Gulf of Finland",
meas.conc=conc,
bw.conc=bw.conc,
time=times,
2006 Jul 13
2
VERY TINY question: missing function to clear the console?
Hi,
for presentation purposes I would like to clear to whole console
window (like in a UNIX terminal: 'clear').
Is there such a function?
If not, I could image that is not too hard to write such a function.
Cheers,
Hans
2008 Apr 08
1
Question Regarding 'pipe'
Can anyone point out why this is not working?
y<-read.table(pipe(' awk '{ n = $1; sub( ".*" $1 " " ,"") ; while ( n-- )
print }' temp.txt '))
[[alternative HTML version deleted]]
2008 Jun 09
2
Plot timer in a for loop
Hello,
This code works fine but is so fast I can't see anything but the last plot.
for (i in nrow(X)){
plot(as.numeric(d[i,])) }
I'd like to view a plot every 500 milliseconds, nrow(X) = 400. How?
Thanks
--
View this message in context: http://www.nabble.com/Plot-timer-in-a-for-loop-tp17741975p17741975.html
Sent from the R help mailing list archive at Nabble.com.
2005 Feb 01
1
Process to both write to and read from (pipe/fork)?
Dear all,
I would like to start a process from an R program in such a way that
I can both feed input into the process and read the process's output.
It seems that in R, I can have a pipe for writing into another process's
input or a pipe for reading from another process's output, but not both.
Doing both necessitates forking, such that the child can start the
external process and
2005 Feb 01
1
Process to both write to and read from (pipe/fork)?
Dear all,
I would like to start a process from an R program in such a way that
I can both feed input into the process and read the process's output.
It seems that in R, I can have a pipe for writing into another process's
input or a pipe for reading from another process's output, but not both.
Doing both necessitates forking, such that the child can start the
external process and
2005 Apr 06
2
Precision
How precise is R numerically? For example I
wrote the following function for calculating
the volume of the ball inscribed in the
unit cube in m dimensions. In order to see what
happens in 40 dimensions, I created an output
of 24 digits. But how many are precise?
Thanks
Josef Eschgf?ller
Ferrara
---------------------------------------
Vol = function (m)
{if (m<=1) 1
else Vol(m-2)*pi/(m+m)}
2006 Dec 15
2
fork package problem
I have been using the fork package on a cluster to spawn jobs. I have
noticed that I end up with many "R defunct" (zombie) processes following
the use of fork that do not die completely until I close down R.
Initially, I thought it may be my code but I ran the example from the
latest fork package (see code below) on R.2.3.1 and ended up with the
same problem. The code from the
2005 Apr 14
2
Printing integers in R "as is"
Hi,
I am using the following command to print to a file (I omitted the file
details):
cat( paste( paste(orientation, start, end, names,"\n"), paste(start, end,
"exon\n"), sep=""))
where "orientation" and "names" are character vectors and "start" and
"end" are integer vectors.
The problem is that R coerce the integer vectors
2005 Dec 08
3
scoping issues?
Can anyone please help me understand whats happening here?
Thanks
Tom
getAmpRatio<-function(v_amps){
#calculates the amplitude ratios between the 3 largest amps and the
rest
bigamp<-0
map<-rep(TRUE,length(v_amps))
for(iLoc in 1:3){
bigamp<-bigamp+max(v_amps)
map[which.max(v_amps)]<-FALSE
v_amps<-v_amps[map]
2005 Feb 10
3
Using a number as a name to access a list
Hi
Dumb question time again, for which I apologise.
I have a variable that contains the following numerical text "04010".
This is the name to access a list:
> as.list(KEGGPATHID2NAME)$"04010"
[1] "MAPK signaling pathway"
Marvellous! Except I want to do that when "04010" is assigned to a
variable called path and I can't figure out how to do it!
2005 Jan 11
4
thanks
Dear all,
Thanks to those 3 people who sent me answers to my question. Got
the problem solved. Great!
Now, another question of mine is:
I would like to run an R script from the Linux prompt. Is there any way
possible to do this? The reason is, the calculation that I'm doing takes a
few hours, and I would like to automatize it.
Or does it mean that I have to run source within the R