as.character | R Documentation |
Coerce an AmigaBasic()
-class object to its character representation
## S3 method for class 'AmigaBasic'
as.character(x, ...)
x |
An |
... |
Currently ignored. |
Amiga Basic files are encoded in a binary format and are also stored as such
in AmigaBasic()
-class objects. Use this function to convert
these objects into legible character
data.
A vector
of character
strings, where
each element of the vector
is a character
representation
of a line of Amiga Basic code stored in x
.
Pepijn de Vries
Other AmigaBasic.operations:
AmigaBasic.reserved()
,
AmigaBasicBMAP
,
AmigaBasic
,
[.AmigaBasic()
,
as.AmigaBasicBMAP()
,
as.AmigaBasic()
,
check.names.AmigaBasic()
,
names.AmigaBasic()
,
rawToAmigaBasicBMAP()
,
rawToAmigaBasic()
,
read.AmigaBasicBMAP()
,
read.AmigaBasic()
,
write.AmigaBasic()
## Not run:
## First create an Amiga Basic object:
bas <- as.AmigaBasic("PRINT \"Hello world!\"")
## now convert the object back into text:
bas.txt <- as.character(bas)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.