Hi Iris,
thanks for reply
but this solution does not work
Uday
--
View this message in context:
http://r.789695.n4.nabble.com/saving-all-data-in-r-object-tp4413092p4417933.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-
You have three problems:
1) You don't post with context
2) You have a (likely OS permissions) issue that keeps you from
accessing the RData file
3) You can't put a whole bunch of data in a single element of an
object (ie., you are trying to put a column of data in a single
element of an object: if
Hi Uday,
You could try to include 'write.table' in your loop and use paste to save
every file separately like this:
for ( i in 1:100) {
data<- read.table(file_s[i],header=TRUE,skip=55 )
latitude [i] <- data[,6]
longitude[i] <- data[,7]
time[i]<- data[,8]
temp[i ]
Michael , the first error which I got is
"number of items to replace is not a multiple of replacement length"
sorry last time it did not copied whole thing
--
View this message in context:
http://r.789695.n4.nabble.com/saving-all-data-in-r-object-tp4413092p4414058.html
Sent from the R help ma
Thanks for reply Michael
the error which I got is as follows :
Error in gzfile(file, "wb") : cannot open the connection
In addition: Warning message:
In gzfile(file, "wb") :
cannot open compressed file 'data.RData', probable reason 'Permission
denied'
--
View this message in context:
http://
It looks like it works. (I ran your code leaving out the inner
non-reproducible loop and just saving the NULL objects with your
syntax)
What is the error you are getting?
Michael
On Thu, Feb 23, 2012 at 3:01 AM, uday wrote:
>
> I have 100 data files, which contains very huge data sets of locati
6 matches
Mail list logo