Displaying 2 results from an estimated 2 matches for "makepdf2".
Did you mean:
makepdf1
2006 Jun 26
1
apparent problem in how PDF evaluates its arguments (PR#9035)
...g to do with the line:
lapply(Call, function(x) eval.parent(x, 2))
The error does not happen, for example, when "pdf" is replaced by "png".
options(error=recover)
## debug(pdf)
makepdf1 = function(p=1) {
pdf("test.pdf", pointsize=p)
plot(1:7)
dev.off()
}
z=1
makepdf2 = function() {
pdf("test.pdf", pointsize=z)
plot(1:7)
dev.off()
}
makepdf2()
makepdf1()
sessionInfo()
2006 Jun 26
0
(PR#9035) apparent problem in how PDF evaluates its arguments
...le, when "pdf" is replaced by "png".
>>
>> options(error=recover)
>> ## debug(pdf)
>>
>> makepdf1 = function(p=1) {
>> pdf("test.pdf", pointsize=p)
>> plot(1:7)
>> dev.off()
>> }
>>
>> z=1
>> makepdf2 = function() {
>> pdf("test.pdf", pointsize=z)
>> plot(1:7)
>> dev.off()
>> }
>>
>> makepdf2()
>> makepdf1()
>>
>>
>> sessionInfo()
>>
>> ______________________________________________
>> R-devel at r-proj...