Displaying 20 results from an estimated 80000 matches similar to: "R command for input/output with parallel port"
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
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
2003 Nov 01
2
c code in R
Hi, my question is How i cant to execute c code within R for example
name of program probe.c (in workpath of R)
#include<stdio.h>
void main(){
int x;
scanf("%d\n",&x)
printf("%d\n",x)
}
and in R i make
.c("probe.c")
i'm obtain no load table simbol, but i compile the program with Borland C
5.0 and obtain the .obj archive (probe.obj and the .exe).I have
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
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 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?
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)
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
2009 May 11
0
I/O question (output via Parallel Port)
Hi,
We are using Wine 1.0.1 on Red Hat Enterprise Linux 4.6, before in Windows our application use 3rd party software "TVicport.dll" to output signal to databit of parallel port, but it seems doesn't work on Wine!
We have 2 questions:
1. Is it possible to output signal to databit of parallel port within Wine?
2. If yes then how to do it? Any possible solution will be
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]
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
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
2003 Aug 15
1
menubutton don´t work
Why the variable archOp does not take the value that be chosen in the
menubutton?, therefore always remains as a white one, I intend to charge
the direccion of open files in a vector and then to elect with the
menubutton with which to work but not functions thanks.Ruben
library(tcltk)
arch<-tclVar(init=" ")
archOp<-tclVar(init=" ")
vectPath<-c()
2004 Apr 02
1
convert excell file to text with RODBC package
Hi, i can convert excell to list in R with package RODBC ()but i don't
understand 2 mistake
1) Don't read the last row of the table excell
2) Don' t take the hours
My excell file call prueba4.xls and have the following rows:
where prueba4.xls was make in excell (office xp) and have one spreadsheet
call "Hoja1", you see each rows of she:
D??a Hora col1 col2 col3 col4 col5
2003 Sep 09
1
charge a vector with variables and to use as variable in a checkbutton?
hello, how i cant to charge in form dynamic a checkbutton, try to do it
with a vector be charged automaticamente but not
works, for example
library(tcltk)
tt<-tktoplevel()
f<-tkframe(tt)
tkpack(f)
i<-2
if (i==1) {b1<-tkcheckbutton
(f,text="b1",variable="b1",relief="raised");tkpack(b1);print(tclvalue
("b1"))}else if (i==2) {b1<-tkcheckbutton
2016 Apr 20
2
version(qemu-kvm) with parallel port support
Whether there is a version of the qemu-kvm with support for parallel
port (passthrough). I need parallel port for Windows VM (security
dongle LPT).
I use
on one host
# /usr/libexec/qemu-kvm -version
QEMU emulator version 2.3.0 (qemu-kvm-ev-2.3.0-31.el7_2.10.1)
another host
/usr/libexec/qemu-kvm -version
QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-105.el7_2.3)
Both versions do not
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
2005 Oct 07
0
Parallel port access speed, cpu usage
Accessing the parallel port through wine is extremly inefficient:
I have heard of people with 2 Ghz CPUs were the speed of the
parallel port was still a lot slower than on windows. I have
tried on an old Pentium 233 MMX and an AMD K6-2+ 500. Parallel
port access is slow, CPU usage is at 100%. Parallel port
access speed scales with CPU speed.
I'm using the parallel port for an EPROM burner.