| write.AmigaBasicShape | R Documentation |
Write an AmigaBasicShape() class object to a file in its binary format.
write.AmigaBasicShape(x, file)
x |
The |
file |
A |
This function coerces the Amiga Basic Shape into its binary format
(using as.raw()) and writes it to a file. The file
can also be stored onto a virtual Amiga disk
(adf_file_con()).
Invisibly returns the result of the call of close to the
file connection.
Pepijn de Vries
Other AmigaBasicShape.operations:
AmigaBasicShape,
rasterToAmigaBasicShape(),
read.AmigaBasicShape()
Other io.operations:
read.AmigaBasicBMAP(),
read.AmigaBasicShape(),
read.AmigaBasic(),
read.AmigaBitmapFontSet(),
read.AmigaBitmapFont(),
read.AmigaIcon(),
read.SysConfig(),
read.iff(),
write.AmigaBasic(),
write.AmigaBitmapFont(),
write.AmigaIcon(),
write.SysConfig(),
write.iff()
filename <- system.file("ball.shp", package = "AmigaFFH")
ball <- read.AmigaBasicShape(filename)
write.AmigaBasicShape(ball, file.path(tempdir(), "ball.shp"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.