Problem Statement
Am learning LaTex by running it on RStudio created from a Docker Image (amoselb/rstudio-m1)on my Macbook M1-Silicon
Is this a new issue:
I have seen a couple similar issues on stackoverflow and have tried the solutions -- they did not work
Is this unique to Mac-M1-Silicon?:
I believe this is the case and the reason why I am using the image: amoselb/rstudio-m1
Sweave Settings on RStudio:
Weave Rnew files using 'Sweave' Typeset LaTex into PDF using: pdfLaTex
System
Macbook M1 Pro
macOS: Ventura
Sample file
\documentclass{article}
\begin{document}
\usepackage{ae}
\SweaveOpts{concordance=TRUE}
First document. This is a simple example, with no
extra parameters or packages included.
\end{document
Action
Compile
Error
Line 30 LaTex Error: File 'ae.sty' not found
Current Status
Tried installing package 'ae' with
install.packages('ae')
also tried
packages <- function(pkg){
new.pkg <- pkg[!(pkg %in% installed.packages()[, "Package"])]
if (length(new.pkg))
install.packages(new.pkg, dependencies = TRUE, repos='https://cran.rstudio.com/')
sapply(pkg, require, character.only = TRUE)
}
packages(c("ae"))
Error (when installing package 'ae')
Installing package into '/home/rstudio/R/aarch64-unknown-linux-gnu-library/4.0'
(as 'lib' is unspecified)
Warning in install.packages :
package 'ae' is not available for this version of R