Displaying 2 results from an estimated 2 matches for "data_150".
2008 Dec 05
1
Trouble with gridBase and inset plots
...ngth = 0.15,lwd=2)
par( mar = c(0.,0., 0., 0.) )
#1st inset
vp <- baseViewports()
pushViewport(vp$inner,vp$figure,vp$plot)
pushViewport(viewport(x=-0.0,y=1.04,width=.4,height=.4,just=c(0,1)))
par(fig=gridPLT(),new=F)
#grid.rect(gp=gpar(lwd=0,col="red"))
plot(D_mean,data_150[1, ]/log_factor*log(10)/1e6,"l",
pch=1,col="black", lwd=2,xlab="",ylab=""
,cex.axis=1.,cex.lab=1.,log="x",xaxt="n",yaxt="n",
ylim=range(c(0, 2.4e8)))
## axis(side=2, at=c( 0, 0.6e8, 1.2e8, 1.8e8, 2.4e8),
## label...
2007 May 15
2
Optimized File Reading with R
Dear All,
Hope I am not bumping into a FAQ, but so far my online search has been fruitless
I need to read some data file using R. I am using the (I think)
standard command:
data_150<-read.table("y_complete06000", header=FALSE)
where y_complete06000 is a 6000 by 40 table of numbers.
I am puzzled at the fact that R is taking several minutes to read this file.
First I thought it may have been due to its shape, but even
re-expressing and saving the matrix as a 1D arr...