powered by
This function will load the specified PPM file into memory using the pixamp package. This is useful for working with image files as a data set.
ppm.reader(data.file, filename, variable.name)
The name of the data file to be read.
The path to the data set to be loaded.
The name to be assigned to in the global environment.
No value is returned; this function is called for its side effects.
# NOT RUN { library('ProjectTemplate') # } # NOT RUN { ppm.reader('example.ppm', 'data/example.ppm', 'example') # }
Run the code above in your browser using DataLab