Re: [Rcpp-devel] Calling ggsave or pdf from RInside

2016-04-01 Thread Michael Morrison
Thanks again Dirk, is there a way that I can specify the root R directory? I want to keep the working directory as is but when a library folder is referenced as in the case with grDevices, i would like it to use $(R_HOME)\library\grDevices\ The root R folder isn't being picked up correctly. I d

Re: [Rcpp-devel] Calling ggsave or pdf from RInside

2016-04-01 Thread Dirk Eddelbuettel
On 1 April 2016 at 09:29, Michael Morrison wrote: | Thanks for your reply, much appreciated. The call works just fine if I make it | from the R GUI or R studio. I tested out the calls there first before trying to | make the same calls from RInside. Do you know if there's a way that the base | dir

Re: [Rcpp-devel] Calling ggsave or pdf from RInside

2016-04-01 Thread Michael Morrison
Thanks for your reply, much appreciated. The call works just fine if I make it from the R GUI or R studio. I tested out the calls there first before trying to make the same calls from RInside. Do you know if there's a way that the base directory can be set through some other call? Thanks, Mike On

Re: [Rcpp-devel] Calling ggsave or pdf from RInside

2016-04-01 Thread Dirk Eddelbuettel
On 31 March 2016 at 21:13, Michael Morrison wrote: | Hello, i'm new to RInside and Rcpp. I trying to run a small test to output a a | pdf using a series of calls to the RInside library. Whenever I call ggsave (or | pdf) via these calls i get the following error message: | | Error in pdf(file = "C

[Rcpp-devel] Calling ggsave or pdf from RInside

2016-03-31 Thread Michael Morrison
Hello, i'm new to RInside and Rcpp. I trying to run a small test to output a a pdf using a series of calls to the RInside library. Whenever I call ggsave (or pdf) via these calls i get the following error message: *Error in pdf(file = "C:/path/to/file/file.pdf", height = 3.5, :* * failed to init