[R] C++

2009-09-29 Thread Stefo Ratino
Hello,

I have written a C++ code and I would like to use it in R! Is this possible?

Many thanks in advance,
Stepho



  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Data manipulation

2007-09-29 Thread Stefo Ratino
Hello, 

I am beginner in R and I would like to solve the following problem:
Suppose that we have  three files to be red in R d1, d2, and d3

 d1
  id x1 x2
1  1  4  n
2  2  3  h
3  3  0  f
 d2
  id x1 x2
1  1  2  r
2  2  3  u
3  3  1  f
 d3
  id x1 x2
1  1  2  a
2  2  1  w

Is there any library or function that one can read this datasets like
for(i in 1:3)
 d[i] - read.table(file=d[j].txt, header=T)

and is it possible to delete the header for each file and to have them in one 
data frame like 

 d
1   1  4  n
2   2  3  h
3   3  0  f
4   1  2  r
5   2  3  u
6   3  1  f
7  1  2  a
8  2  1  w
9  3  1  f

I really appreciate your help!
Stefo





   
-

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] disperse variable

2007-10-10 Thread Stefo Ratino
Hello all,
   
  I read the following variable
   x
x
1  1_A1_ML1_a.DLL
2 11_B1_ML2_a.DLL
3  4_A1_ML3_a.DLL
4 55_C1_ML4_a.DLL
5 14_C1_ML5_a.DLL
   
  I would like to disperse it in three variable such as
   x1
[1]  1 11  4 55 14
 x2
[1] A1 B1 A1 C1 C1
 x3
[1] ML1 ML2 ML3 ML4 ML5

  Are there any function which could enable to do this?
   
  Thank you in advance!
  Stefo
  
 

   
-

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] error writing to connection

2009-05-15 Thread Stefo Ratino
Hello,
 
I am using: save(data,file=D:/mayData.RData), and I have the following error:
 
Error in save(data, file = D:/mayData.RData) : error writing to connection
 
Thank you very much in advance,
Stefo


  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] nonparametric test for row of a matrix

2009-06-10 Thread Stefo Ratino

Hi,
Are there any nonparametric test for ordinal categorical data for row of a 
matrix?
 
Thank you very much,
Stefo


  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] SAS Data

2008-10-13 Thread Stefo Ratino
Hello everybody,

I would like to read a SAS Data data1.sas7bdat in R! Is this possible?

Thank you a lot in advance ;),
Stefo

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] mean +/- SEM

2009-03-10 Thread Stefo Ratino
Hi all,

I am looking for a R function which unables me to plot mean +/- SEM. Is there 
such a function in R? 

Many thanks,
Stefo



  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.