[R] savePlot for Mac and / or Linux?
guohao.huang at gmail.com
guohao.huang at gmail.com
Mon Dec 7 10:22:42 CET 2009
How about pressing ``Print Screen'' to capture image.
However, the simple/smart solution for you is to output data and draw the
same thing by other softwares.
This can save you much time under any operating systems.
Guo-Hao Huang
--------------------------------------------------
From: "Christophe Genolini" <cgenolin at u-paris10.fr>
Sent: Monday, December 07, 2009 4:53 PM
To: <r-help at r-project.org>
Cc: <bernard.desgraupes at u-paris10.fr>
Subject: [R] savePlot for Mac and / or Linux?
> Hi all,
>
> In the package rtlu, I use the function savePlot. It is convenient since
> it let the user decide in which graphic format he wants his graph to be
> export.
> But when I run R CMD check, I get the following message :
>
>> rtlu(V1,fileOutput="First.tex",textBefore="\\section{Variable 1 to
> 3}",graphName="V1")
> Error in savePlot(filename = nomBarplot, type = type) : can only copy from
> 'windows' devices
> Calls: rtlu ... r2lUniv -> r2lUniv.factor -> r2lBarplot -> savePlot
> Execution halted
>
> I guess this is a compatibility problem with Linux/Mac? Is there something
> close to savePlot for Mac / Linux?
>
> Christophe
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list