On 02.07.2008, at 15:31, Laura Poggio wrote:
Dear all,
sorry for this very basic question, but I did not find any good
example yet.
I would like to set up a variable that can be recall later to
substitute a
part of a file name.
As example:
var_filename = as.name("aaa")
jpeg("var_filena
Thank you perfect! it worked also with the GDAL option.
Laura
2008/7/2 Richard Pearson <[EMAIL PROTECTED]>:
> Laura
>
> Does jpeg(paste(var_filename, "jpg", sep=".")) do what you want?
>
> Regards
>
> Richard
>
>
> Laura Poggio wrote:
>
>> Dear all,
>> sorry for this very basic question, but I d
Laura
Does jpeg(paste(var_filename, "jpg", sep=".")) do what you want?
Regards
Richard
Laura Poggio wrote:
Dear all,
sorry for this very basic question, but I did not find any good example yet.
I would like to set up a variable that can be recall later to substitute a
part of a file name.
A
Try this:
sprintf("%s.jpg", var_filename)
On Wed, Jul 2, 2008 at 10:31 AM, Laura Poggio <[EMAIL PROTECTED]>
wrote:
> Dear all,
> sorry for this very basic question, but I did not find any good example
> yet.
>
> I would like to set up a variable that can be recall later to substitute a
> part of
Dear all,
sorry for this very basic question, but I did not find any good example yet.
I would like to set up a variable that can be recall later to substitute a
part of a file name.
As example:
var_filename = as.name("aaa")
jpeg("var_filename.jpg")
plot()
dev.off()
It would be very useful in o
5 matches
Mail list logo