Aargh... I've been windofied again. When will I learn...
On 27 Jun 2017 19:49, "Rich Calaway" wrote:
> Ah, but I bet you do have that path...try
>
> > Sys.which("texify")
> texify
> "C:\\PROGRA~2\\MIKTEX~1.9\\miktex\\bin\\texify.exe"
> > normalizePath
Ah, but I bet you do have that path...try
> Sys.which("texify")
texify
"C:\\PROGRA~2\\MIKTEX~1.9\\miktex\\bin\\texify.exe"
> normalizePath(Sys.which("texify"))
[1] "C:\\Program Files (x86)\\MiKTeX 2.9\\miktex\\bin\\texify.exe"
Cheers,
Rich Calaway
I checked after this question popped up on Stackoverflow:
https://stackoverflow.com/questions/44785961/compile-pdf-in-rstudio-works-but-knit2pdf-does-not-work-in-r-or-rstudio
On Windows, texi2pdf looks for the texify.exe of Miktex, but looks in a
very wrong place:
> Sys.which("texify")
> *) Of course I'd hoped you'd find why the underlying
> packageDescription() function is not "getting the right thing" in this case
> directly -- in Windows only in some locales -- and provide a Windows-only
> patch for the underlying problem there, rather than the workaround patch in
> citatio
Hi Michael,
On Tue, Jun 27, 2017 at 5:31 PM, Michael Lawrence
wrote:
>
> To do this in C, it would probably be easier and faster to just do the
> string manipulation directly. Luckily, there are already packages that
> have done this for you. See an example below using the S4Vectors
> package.
T
This is a continuation of the R-devel thread with subject
"suggestion to fix packageDescription() for Windows users" :
As I said there, a patch should rather address the underlying
problem in packageDescription rather than a kludgy workaround
patch for citation().
(For that same reason, Ben Marw
To do this in C, it would probably be easier and faster to just do the
string manipulation directly. Luckily, there are already packages that
have done this for you. See an example below using the S4Vectors
package.
foo2 <- function(mymat, colnms, tilde=FALSE) {
chars <- colnms[col(mymat)]
Dear R-devs,
Below is a small example of what I am trying to achieve, that is trivial in
R and I would like to learn how to do in C, for very large matrices:
> (mymat <- matrix(c(1,0,0,2,2,1), nrow = 2))
[,1] [,2] [,3]
[1,]102
[2,]021
And I would like to produce:
[1]
> Nathan Sosnovske via R-devel
> on Mon, 26 Jun 2017 18:22:25 + writes:
> I'd be curious to know what others think of Rich's
> patch. If it is acceptable, I can spend time that I was
> going to look at it this week on another bug.
It is a bit kludgy (*) of course, bu