problem installing markdown

hi well i am new to using rstudio and i need to use markdown but i didn't install packages and it said something about dependencies so i tried install.packages command ("rmarkdown", dependencies = TRUE) and it didn't work, this gets me in la in the console:

install.packages("rmarkdown", dependencies = TRUE)
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3’
(as ‘lib’ is unspecified)
also installing the dependencies ‘httpuv’, ‘htmltools’, ‘later’, ‘promises’, ‘rlang’, ‘fastmap’, ‘commonmark’, ‘glue’, ‘knitr’, ‘yaml’, ‘tinytex’, ‘xfun’, ‘shiny’, ‘tufte’


  There are binary versions available but the source versions are later:
           binary  source needs_compilation
httpuv      1.4.1   1.5.4              TRUE
htmltools   0.3.6   0.5.0              TRUE
later       0.7.1 1.1.0.1              TRUE
promises    1.0.1   1.1.1              TRUE
rlang       0.2.0   0.4.8              TRUE
commonmark    1.4     1.7              TRUE
glue        1.2.0   1.4.2              TRUE
knitr        1.20    1.30             FALSE
yaml       2.1.18   2.2.1              TRUE
tinytex       0.5    0.26             FALSE
xfun          0.1    0.18             FALSE
shiny       1.0.5   1.5.0             FALSE
tufte         0.3     0.7             FALSE
rmarkdown     1.9     2.4             FALSE

  Binaries will be installed
Package which is only available in source form, and may need compilation
  of C/C++/Fortran: ‘fastmap’
  These will not be installed
probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/httpuv_1.4.1.zip'
Content type 'application/zip' length 1118480 bytes (1.1 MB)
downloaded 1.1 MB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/htmltools_0.3.6.zip'
Content type 'application/zip' length 617476 bytes (603 KB)
downloaded 603 KB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/later_0.7.1.zip'
Content type 'application/zip' length 605749 bytes (591 KB)
downloaded 591 KB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/promises_1.0.1.zip'
Content type 'application/zip' length 646670 bytes (631 KB)
downloaded 631 KB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/rlang_0.2.0.zip'
Content type 'application/zip' length 754726 bytes (737 KB)
downloaded 737 KB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/commonmark_1.4.zip'
Content type 'application/zip' length 267030 bytes (260 KB)
downloaded 260 KB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/glue_1.2.0.zip'
Content type 'application/zip' length 72364 bytes (70 KB)
downloaded 70 KB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/yaml_2.1.18.zip'
Content type 'application/zip' length 185468 bytes (181 KB)
downloaded 181 KB

package ‘httpuv’ successfully unpacked and MD5 sums checked
package ‘htmltools’ successfully unpacked and MD5 sums checked
package ‘later’ successfully unpacked and MD5 sums checked
package ‘promises’ successfully unpacked and MD5 sums checked
package ‘rlang’ successfully unpacked and MD5 sums checked
package ‘commonmark’ successfully unpacked and MD5 sums checked
package ‘glue’ successfully unpacked and MD5 sums checked
package ‘yaml’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
	C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq\downloaded_packages
installing the source packages ‘knitr’, ‘tinytex’, ‘xfun’, ‘shiny’, ‘tufte’, ‘rmarkdown’

probando la URL 'https://cran.rstudio.com/src/contrib/knitr_1.30.tar.gz'
Content type 'application/x-gzip' length 887652 bytes (866 KB)
downloaded 866 KB

probando la URL 'https://cran.rstudio.com/src/contrib/tinytex_0.26.tar.gz'
Content type 'application/x-gzip' length 27074 bytes (26 KB)
downloaded 26 KB

probando la URL 'https://cran.rstudio.com/src/contrib/xfun_0.18.tar.gz'
Content type 'application/x-gzip' length 89916 bytes (87 KB)
downloaded 87 KB

probando la URL 'https://cran.rstudio.com/src/contrib/shiny_1.5.0.tar.gz'
Content type 'application/x-gzip' length 3472148 bytes (3.3 MB)
downloaded 3.3 MB

probando la URL 'https://cran.rstudio.com/src/contrib/tufte_0.7.tar.gz'
Content type 'application/x-gzip' length 243337 bytes (237 KB)
downloaded 237 KB

probando la URL 'https://cran.rstudio.com/src/contrib/rmarkdown_2.4.tar.gz'
Content type 'application/x-gzip' length 3202546 bytes (3.1 MB)
downloaded 3.1 MB

* installing *source* package 'xfun' ...
** package 'xfun' successfully unpacked and MD5 sums checked
** libs

*** arch - i386
Warning: comando ejecutado 'make -f "Makevars" -f "C:/PROGRA~1/R/R-33~1.0/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-33~1.0/share/make/winshlib.mk" SHLIB="xfun.dll" OBJECTS="base64.o init.o"' tiene estatus 127
ERROR: compilation failed for package 'xfun'
* removing 'C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3/xfun'
Warning in install.packages :
  comando ejecutado '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\iogal\OneDrive\Documentos\R\win-library\3.3" C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq/downloaded_packages/xfun_0.18.tar.gz' tiene estatus 1
Warning in install.packages :
  installation of package ‘xfun’ had non-zero exit status
ERROR: dependency 'fastmap' is not available for package 'shiny'
* removing 'C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3/shiny'
Warning in install.packages :
  comando ejecutado '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\iogal\OneDrive\Documentos\R\win-library\3.3" C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq/downloaded_packages/shiny_1.5.0.tar.gz' tiene estatus 1
Warning in install.packages :
  installation of package ‘shiny’ had non-zero exit status
ERROR: dependency 'xfun' is not available for package 'knitr'
* removing 'C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3/knitr'
Warning in install.packages :
  comando ejecutado '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\iogal\OneDrive\Documentos\R\win-library\3.3" C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq/downloaded_packages/knitr_1.30.tar.gz' tiene estatus 1
Warning in install.packages :
  installation of package ‘knitr’ had non-zero exit status
ERROR: dependency 'xfun' is not available for package 'tinytex'
* removing 'C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3/tinytex'
Warning in install.packages :
  comando ejecutado '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\iogal\OneDrive\Documentos\R\win-library\3.3" C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq/downloaded_packages/tinytex_0.26.tar.gz' tiene estatus 1
Warning in install.packages :
  installation of package ‘tinytex’ had non-zero exit status
ERROR: dependencies 'knitr', 'tinytex', 'xfun' are not available for package 'rmarkdown'
* removing 'C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3/rmarkdown'
Warning in install.packages :
  comando ejecutado '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\iogal\OneDrive\Documentos\R\win-library\3.3" C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq/downloaded_packages/rmarkdown_2.4.tar.gz' tiene estatus 1
Warning in install.packages :
  installation of package ‘rmarkdown’ had non-zero exit status
ERROR: dependencies 'xfun', 'knitr', 'rmarkdown' are not available for package 'tufte'
* removing 'C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3/tufte'
Warning in install.packages :
  comando ejecutado '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\iogal\OneDrive\Documentos\R\win-library\3.3" C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq/downloaded_packages/tufte_0.7.tar.gz' tiene estatus 1
Warning in install.packages :
  installation of package ‘tufte’ had non-zero exit status

The downloaded source packages are in
	‘C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq\downloaded_packages’

What messages did you receive when you tried to install the rmarkdown package in R?

install.packages("rmarkdown", dependencies = TRUE)
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3’
(as ‘lib’ is unspecified)
also installing the dependencies ‘httpuv’, ‘htmltools’, ‘later’, ‘promises’, ‘rlang’, ‘fastmap’, ‘commonmark’, ‘glue’, ‘knitr’, ‘yaml’, ‘tinytex’, ‘xfun’, ‘shiny’, ‘tufte’


  There are binary versions available but the source versions are later:
           binary  source needs_compilation
httpuv      1.4.1   1.5.4              TRUE
htmltools   0.3.6   0.5.0              TRUE
later       0.7.1 1.1.0.1              TRUE
promises    1.0.1   1.1.1              TRUE
rlang       0.2.0   0.4.8              TRUE
commonmark    1.4     1.7              TRUE
glue        1.2.0   1.4.2              TRUE
knitr        1.20    1.30             FALSE
yaml       2.1.18   2.2.1              TRUE
tinytex       0.5    0.26             FALSE
xfun          0.1    0.18             FALSE
shiny       1.0.5   1.5.0             FALSE
tufte         0.3     0.7             FALSE
rmarkdown     1.9     2.4             FALSE

  Binaries will be installed
Package which is only available in source form, and may need compilation
  of C/C++/Fortran: ‘fastmap’
  These will not be installed
probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/httpuv_1.4.1.zip'
Content type 'application/zip' length 1118480 bytes (1.1 MB)
downloaded 1.1 MB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/htmltools_0.3.6.zip'
Content type 'application/zip' length 617476 bytes (603 KB)
downloaded 603 KB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/later_0.7.1.zip'
Content type 'application/zip' length 605749 bytes (591 KB)
downloaded 591 KB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/promises_1.0.1.zip'
Content type 'application/zip' length 646670 bytes (631 KB)
downloaded 631 KB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/rlang_0.2.0.zip'
Content type 'application/zip' length 754726 bytes (737 KB)
downloaded 737 KB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/commonmark_1.4.zip'
Content type 'application/zip' length 267030 bytes (260 KB)
downloaded 260 KB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/glue_1.2.0.zip'
Content type 'application/zip' length 72364 bytes (70 KB)
downloaded 70 KB

probando la URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/yaml_2.1.18.zip'
Content type 'application/zip' length 185468 bytes (181 KB)
downloaded 181 KB

package ‘httpuv’ successfully unpacked and MD5 sums checked
package ‘htmltools’ successfully unpacked and MD5 sums checked
package ‘later’ successfully unpacked and MD5 sums checked
package ‘promises’ successfully unpacked and MD5 sums checked
package ‘rlang’ successfully unpacked and MD5 sums checked
package ‘commonmark’ successfully unpacked and MD5 sums checked
package ‘glue’ successfully unpacked and MD5 sums checked
package ‘yaml’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
	C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq\downloaded_packages
installing the source packages ‘knitr’, ‘tinytex’, ‘xfun’, ‘shiny’, ‘tufte’, ‘rmarkdown’

probando la URL 'https://cran.rstudio.com/src/contrib/knitr_1.30.tar.gz'
Content type 'application/x-gzip' length 887652 bytes (866 KB)
downloaded 866 KB

probando la URL 'https://cran.rstudio.com/src/contrib/tinytex_0.26.tar.gz'
Content type 'application/x-gzip' length 27074 bytes (26 KB)
downloaded 26 KB

probando la URL 'https://cran.rstudio.com/src/contrib/xfun_0.18.tar.gz'
Content type 'application/x-gzip' length 89916 bytes (87 KB)
downloaded 87 KB

probando la URL 'https://cran.rstudio.com/src/contrib/shiny_1.5.0.tar.gz'
Content type 'application/x-gzip' length 3472148 bytes (3.3 MB)
downloaded 3.3 MB

probando la URL 'https://cran.rstudio.com/src/contrib/tufte_0.7.tar.gz'
Content type 'application/x-gzip' length 243337 bytes (237 KB)
downloaded 237 KB

probando la URL 'https://cran.rstudio.com/src/contrib/rmarkdown_2.4.tar.gz'
Content type 'application/x-gzip' length 3202546 bytes (3.1 MB)
downloaded 3.1 MB

* installing *source* package 'xfun' ...
** package 'xfun' successfully unpacked and MD5 sums checked
** libs

*** arch - i386
Warning: comando ejecutado 'make -f "Makevars" -f "C:/PROGRA~1/R/R-33~1.0/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-33~1.0/share/make/winshlib.mk" SHLIB="xfun.dll" OBJECTS="base64.o init.o"' tiene estatus 127
ERROR: compilation failed for package 'xfun'
* removing 'C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3/xfun'
Warning in install.packages :
  comando ejecutado '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\iogal\OneDrive\Documentos\R\win-library\3.3" C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq/downloaded_packages/xfun_0.18.tar.gz' tiene estatus 1
Warning in install.packages :
  installation of package ‘xfun’ had non-zero exit status
ERROR: dependency 'fastmap' is not available for package 'shiny'
* removing 'C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3/shiny'
Warning in install.packages :
  comando ejecutado '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\iogal\OneDrive\Documentos\R\win-library\3.3" C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq/downloaded_packages/shiny_1.5.0.tar.gz' tiene estatus 1
Warning in install.packages :
  installation of package ‘shiny’ had non-zero exit status
ERROR: dependency 'xfun' is not available for package 'knitr'
* removing 'C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3/knitr'
Warning in install.packages :
  comando ejecutado '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\iogal\OneDrive\Documentos\R\win-library\3.3" C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq/downloaded_packages/knitr_1.30.tar.gz' tiene estatus 1
Warning in install.packages :
  installation of package ‘knitr’ had non-zero exit status
ERROR: dependency 'xfun' is not available for package 'tinytex'
* removing 'C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3/tinytex'
Warning in install.packages :
  comando ejecutado '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\iogal\OneDrive\Documentos\R\win-library\3.3" C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq/downloaded_packages/tinytex_0.26.tar.gz' tiene estatus 1
Warning in install.packages :
  installation of package ‘tinytex’ had non-zero exit status
ERROR: dependencies 'knitr', 'tinytex', 'xfun' are not available for package 'rmarkdown'
* removing 'C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3/rmarkdown'
Warning in install.packages :
  comando ejecutado '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\iogal\OneDrive\Documentos\R\win-library\3.3" C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq/downloaded_packages/rmarkdown_2.4.tar.gz' tiene estatus 1
Warning in install.packages :
  installation of package ‘rmarkdown’ had non-zero exit status
ERROR: dependencies 'xfun', 'knitr', 'rmarkdown' are not available for package 'tufte'
* removing 'C:/Users/iogal/OneDrive/Documentos/R/win-library/3.3/tufte'
Warning in install.packages :
  comando ejecutado '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\iogal\OneDrive\Documentos\R\win-library\3.3" C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq/downloaded_packages/tufte_0.7.tar.gz' tiene estatus 1
Warning in install.packages :
  installation of package ‘tufte’ had non-zero exit status

The downloaded source packages are in
	‘C:\Users\iogal\AppData\Local\Temp\RtmpWcbOQq\downloaded_packages’

Do you have a 32-bit version of Rtools installed in your system? If so, which one?

Also, you are using a very old R version, this is going to bring you many installation issues, I recommend you do update to the latest version (4.0.3)

1 Like

If that was the problem, thank you. I had forgotten that in 2017 I downloaded R

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.