Re: [R] Matlab import

2007-04-10 Thread tshort
I've used Henrik Bengtsson's R.matlab package several times to successfully read in matlab data files. It's normally as easy as: library(R.matlab) mats - readMat(matrixM.txt) - Tom Tom Short EPRI Schmitt, Corinna wrote: Dear R-Experts, here again a question concerning matlab. With the

Re: [R] Matlab import

2007-04-10 Thread tshort
With readMat, don't use the -ascii option (which you didn't have in your first posting). I've never tried reading matlab's ascii format. In any case, readMat reads matlab's binary format. - Tom Tom Short EPRI Schmitt, Corinna wrote: Hallo, I've used Henrik Bengtsson's R.matlab package

Re: [R] Rpad

2006-11-10 Thread tshort
Vittorio, Those files being missing is what's causing the errors. Try recopying them to your server home location. Those files should be under Rpad/basehtml/gui/* in your R library installation. If not, try reinstalling or extract the necessary files right out of the Rpad_1.1.1.tar.gz file. -

Re: [R] HTML nsmall vector format problem

2006-06-09 Thread tshort
John, I don't think nsmall uses a vector. Try the following with format (which HTML.data.frame uses): format(iris[1:2,1:2],nsmall=c(3,1)) Sepal.Length Sepal.Width 15.100 3.500 24.900 3.000 It looks like you'll have to do a format column by column with a loop. -