I suggest trying to write the data into .php file directly.
outfile <-paste(filepath,"distance",".php",sep="")
data <- "Distance=num"
num <- 1000
data <- sub("num", num,data)
write(data,file=outfile)
-
A R learner.
--
View this message in context:
http://r.789695.n4.nabble.com/Write-val
I have a series of animals that are being radio-tracked. I have written
some code that goes through each animal and calculates the total distance
that each animal is traveling. I will need to run these data on a regular
basis and want to write the result to a .php webpage file so that the page
up
2 matches
Mail list logo