[Raster-commits] r375 - in pkg/raster: R man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Mar 19 13:28:50 CET 2009
Author: rhijmans
Date: 2009-03-19 13:28:50 +0100 (Thu, 19 Mar 2009)
New Revision: 375
Modified:
pkg/raster/R/depracated.R
pkg/raster/man/fileFunctions.Rd
pkg/raster/man/filename.Rd
Log:
Modified: pkg/raster/R/depracated.R
===================================================================
--- pkg/raster/R/depracated.R 2009-03-19 12:21:01 UTC (rev 374)
+++ pkg/raster/R/depracated.R 2009-03-19 12:28:50 UTC (rev 375)
@@ -11,6 +11,17 @@
}
+setFilename <- function(x, value) {
+ warning('depracated function. Use "filename(x) <- value"')
+ filename(x) <- value
+ return(x)
+}
+
+
+setFileExtension <- function(x, value) {
+ stop('depracated function. Use "fileExtension(x) <- value"')
+}
+
setRaster <- function(object, filename="", values=NULL) {
warning('depracated, use "raster()" instead')
return(raster(x=object, filename=filename, values=values))
Modified: pkg/raster/man/fileFunctions.Rd
===================================================================
--- pkg/raster/man/fileFunctions.Rd 2009-03-19 12:21:01 UTC (rev 374)
+++ pkg/raster/man/fileFunctions.Rd 2009-03-19 12:28:50 UTC (rev 375)
@@ -1,5 +1,6 @@
\name{fileFunctions}
+\alias{setFileExtension}
\alias{fileExtension}
\alias{fileExtension<-}
\alias{shortFileName}
Modified: pkg/raster/man/filename.Rd
===================================================================
--- pkg/raster/man/filename.Rd 2009-03-19 12:21:01 UTC (rev 374)
+++ pkg/raster/man/filename.Rd 2009-03-19 12:28:50 UTC (rev 375)
@@ -1,5 +1,6 @@
\name{filename}
+\alias{setFilename}
\alias{filename<-}
\alias{filename}
More information about the Raster-commits
mailing list