[R] Generating 1-bit and 8-bit BMP files using R

2013-03-04 Thread Ingo Reinhold
Hi, I'm trying to use the data which I generate within R to make images in .bmp format to be lateron printed by a printer. My first thought was the RImageJ package, but this seems to be discontinued. What I am currently doing is generating a matrix of grey values, which needs to be parsed

Re: [R] Outer product from matrix by row and a vector

2012-08-10 Thread Ingo Reinhold
Hi David, Petr, sorry for the fuzzy posts. I oversaw that it was just the transposed version as you indicate. Does exactly what it should. Many thanks, Ingo __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Outer product from matrix by row and a vector

2012-08-08 Thread Ingo Reinhold
the result [,1] [,2] [,3] [1,]135 [2,]246 Thanks for taking a look. Cheers, Ingo From: Jeff Newmiller [jdnew...@dcn.davis.ca.us] Sent: Wednesday, August 08, 2012 6:40 AM To: Ingo Reinhold; r-help@r-project.org Subject: Re: [R

[R] Outer product from matrix by row and a vector

2012-08-07 Thread Ingo Reinhold
Dear all, I am facing a challenge when applying the outer product with a matrix by rows. What I have is a rather big matrix, which I would like to convert into a different matrix by doing something like outer(matrix_row, vector, function(x,y) x[1]+5*x[4]/y) In order to get there, I tried to

[R] Multidimensional List access

2011-05-18 Thread Ingo Reinhold
Dear all, I have data organized in a way like this Data[[CharacteristicsList1]][[CharacteristicsList2]][[CharacteristicsList3]][[CharacteristicsList4]] where CharacteristicsList4 there is a DF stored with various columns of name V1,V2, ... , Vn Is there an easy way to get a vector of all the

Re: [R] Variable length datafile import problem

2011-02-18 Thread Ingo Reinhold
again for the effort. Ingo From: John Kane [jrkrid...@yahoo.ca] Sent: Thursday, February 17, 2011 11:54 AM To: Ingo Reinhold Subject: RE: [R] Variable length datafile import problem Generally most of the gurus are in this list. Hopefully someone

[R] Variable length datafile import problem

2011-02-15 Thread Ingo Reinhold
Dear all, I am stuck the reading of a file which has 100s of rows and variable column counts. The tab-limited data file looks something like: Some_Text 131231534-1191010178 Some_Taxt 131331434-2191010178 Some_Tsxt 13244