similar to: c code in R

Displaying 20 results from an estimated 2000 matches similar to: "c code in R"

2003 Nov 26
5
multiple peaks in data frame
Hello, it wanted to know how I can extract of a dates frame the values peaks according to an interval that I establish. For example if dates are: 1 23 2 4 3 56 4 7 5 99 6 33 extract the date i wanted to divide into intervals of 2 an d to take alone the numbers 23, 56 and 99 of those 3 intervals. Thanks Ruben
2004 Mar 29
2
how transform excell file to text file in R
Hello, it want to know if there is a library that transform a file in excell (*. xls) to text file(*.txt, *,prn, *.csv). Thanks
2007 Jun 04
2
[LLVMdev] building llvm-gcc4 with a different target name
Hello, I've put together a macports version of llvm and llvm-gcc4, but I've run into a problem with how gcc on the mac works. llvm-gcc4 creates an executable named: /opt/local/bin/powerpc-apple-darwin8-gcc-4.0.1 Which happens to be the same executable in /usr/bin. Because I have /opt/local before /usr/bin, gcc ends up using llvm-gcc4 to build all my code. Most of the time this
2003 Sep 01
2
Axis color
Hello, my question is if I have two axes in a graphics as I can put him a different color al axis and to the number of the scale. ? Thanks. Ruben
2004 Jul 15
5
formula
Hi, i 'dont understand how to take a general formula, view this: x<-1:5 y<-c(0,1,1.7,2,2.1.4) dummy<-data.frame(x=x,y=y) formula<-"y~A*log(x)/log(2)" formu<-as.formula(formula) fm<-lm(formu,data=dummy) Error in eval(expr, envir, enclos) : Object "A" not found but A is the parameter of fitting, why is this?Thanks Ruben
2002 Mar 27
1
Wierd timestamp problem
Greetings, We found out today that rsync has been missing some files. Here is the senerio: We have two nfs servers in different datacenters, one being the backup to the other. We want to keep them up to date so we use rsync inside crontabs. We have Solaris, AIX, True64 and VMS systems reading and writing to the nfs drives. I am running rsync on Solaris 8 servers. What
2004 Jul 15
2
formula and lm
Hi, don' t understand why the function fomula have this error, i enclose the parameter "a" with the function I() Thank Ruben x<-1:5 y<-c( 2 ,4 , 6 , 8 ,11) formu<-y~I(a*x) form<-formula(formu) dummy<-data.frame(x=x,y=y) fm<-lm(form,data=dummy) Error in unique(c("AsIs", oldClass(x))) : Object "a" not found
2004 Jul 13
2
help with as.function
HI, sorry but i don't understand how to make a function with as.function() formula<-"2+3*x" formu<-as.symbol(formula) > formu 2+3*x formul<-as.function(alist(x=,formu)) curve(formul,1,5,col="blue") Error in xy.coords(x, y, xlabel, ylabel, log) : x and y lengths differ > typeof(formul) [1] "closure" and not plot the curve function, Why?
2001 Aug 25
0
problems with rsync version 2.4.6 protocol version 24 on solaris 2.8
Greetings, I'm using rsync to keep multiple nfs filesystems on two emc nfs serves in sync. Here are the six file systems and their info: Filesystem kbytes used avail capacity Mounted on Number of files burd1p0:/nettmp 258120 37144 220976 15% /nfs/burd1p0/nettmp 2102 burd1p0:/user 29443776 16160480 13283296 55%
2010 Jan 12
1
Multiple symbols per single line in a legend
Hello everybody, Is it possible to coax legend() into displaying more than one simbol per line in legend? I have a graph like the one attached to this mail; I would like to reorganize the legend in such a way that the duplicate text would be omitted, i.e., the first line would read <square> <triangledown> "increasing frequency" and the second one would read <circle>
2003 Sep 10
1
what is set.fit in function predict.lm
Hi, what es the parameter set.fit in function predict.lm, is set.fit True then i need the standard error How i cant calculate it?. It is the different what? i see the code of predict.lm How i cant see the matemathics formula for the calculation of standard error.
2003 Sep 12
1
save object interactively
Hello, it wanted to know as I can keep to save a object of R in interactive form, in which I can put the name of the file in a window of I talk, and not to have to create it, a badly serious example: x<-c(1,2,3,4) > nbre<-"x.Rdata" > f<-file.choose() Error in file.choose() : file choice cancelled > f Error: Object "f" not found > file.create(nbre) [1]
2005 Jan 08
1
coordinates of mouse position
HI, I need known the position of mouse, but i not know how obtain the parameter %X used in tcl. the script in Tcl is: set w .probe catch {destroy $w} toplevel $w proc Captura_Datos { ancho alto } { puts "El ancho es $ancho" puts "El alto es $alto" } bind $w <Configure> "Captura_Datos %X %Y" In R w<-tktoplevel() f<-function(a,b)^` print(a) print(b)
2003 Aug 29
1
Six axis y with axis function?
Hi, I am trying to plot a time serie of six colum of data sets on one plot but with using a different y-axis ranges for each - preferably with one shown on each side of the graph. I'm trying with axis function but not good luck i will for each they plot with our proper scale and range for example time A B C...etc 08:00:01 1000 15 2 08:00:02 2200 17 5 08:00:03 2500 19
2003 Sep 19
1
Saving with tkgetSaveFile
HI, i'm trying to save a data frame with the next script: x<-c(1,2,3)#suposse here the data frame a<-tkgetSaveFile() a<-tkgetSaveFile() save(x,file=as.character(a)) but i obtain the next warning message: Warning messages: 1: the condition has length > 1 and only the first element will be used in: if (file == "") stop("`file' must be non-empty string") 2:
2004 Jun 30
1
help with tclVar
Hi, I can' t load a variable tcltk declared with tclVar, why is this?, the exmple above explain me ,Thanks Ruben a<-tclVar(init="") > f<-function(){ + a<<-"pipo" + } > f() > a [1] "pipo" > tclvalue(a) Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class = "tclObj") : [tcl] can't
2003 Sep 18
1
Save object R with tkgetSaveFile
HI, my question is about the function tkgetSavefile not save any file, for example the next script run OK but not save the file who i like to save, how i cant to save and object R with tkgetSaveFile, how i use the function save(objet, file="foo.R") with tkgetSaveFile ?What is the error?. I'm work with R 1.7.1 library(tcltk) x<-1 filetypes <- list("{Texto {.txt}} {Word
2004 May 26
1
time
Hi, i need select data from data frame, for example: x is a data frame with values in jump to 5 seconds 12:10:00 51 //one minute 12:10:05 63 12:10:10 75 12:10:15 88 .. 12:10:59 45 12:11:00 46 //another minute 12:11:05 11 .. Have a command what to select the data minute to minute, for example in the example above i need the maximun values minute to minute 1?? minute-->88 2?? minute--> 46
1999 Aug 31
1
basic help
Sorry to ask this but does anyone knows a good text that helps with the basic programming side of R. I understand the statistics behind most of R but i have real difficulty with the data types and how R views them. As a part of that could you help me with another problem. I know how to read data in from a file in terms of read.table but how do i single a column out or even just download a
2007 Apr 13
2
Fractals with R
Hi everybody, I put some R-code to a web page for drawing fractals. See http://fractalswithr.blogspot.com/ If you have some R-code for fractal images, I'm willing to include them to the page. Has somebody tried L-systems or Markov algorithm (http:// en.wikipedia.org/wiki/Markov_algorithm) with R? Best wishes, Atte Tenkanen University of Turku, Finland