87822

conda build r-ldavis/ not working

Question:

I am new to jupyter, and I am looking to install an R package (tseries) that is available on CRAN

I was trying to follow a question that was raised, but I think I am getting a different problem.

I was originally following this link

<a href="https://stackoverflow.com/questions/34705917/conda-how-to-install-r-packages-that-are-not-available-in-r-essentials" rel="nofollow">conda - How to install R packages that are not available in "R-essentials"?</a>

But it seems obvious that the answer direct me to another link which is

<a href="https://www.continuum.io/content/conda-data-science" rel="nofollow">https://www.continuum.io/content/conda-data-science</a>

under the Building a conda R package

They said to run

conda skeleton cran ldavis

and then I got the following

C:\Users\Rami>conda skeleton cran ldavis Tip: install CacheControl (conda package) to cache the CRAN metadata Fetching metadata from http://cran.r-project.org/ Tip: install CacheControl (conda package) to cache the CRAN metadata Traceback (most recent call last): File "d:\Users\Rami\Anaconda3\Scripts\conda-skeleton-script.py", line 5, in <module> sys.exit(conda_build.cli.main_skeleton.main()) File "d:\Users\Rami\Anaconda3\lib\site-packages\conda_build\cli\main_skeleton.py", line 65, in main return execute(sys.argv[1:]) File "d:\Users\Rami\Anaconda3\lib\site-packages\conda_build\cli\main_skeleton.py", line 61, in execute api.skeletonize(package, args.repo, config=config) File "d:\Users\Rami\Anaconda3\lib\site-packages\conda_build\api.py", line 192, in skeletonize recursive=recursive, config=config, **kwargs) File "d:\Users\Rami\Anaconda3\lib\site-packages\conda_build\skeletons\cran.py", line 527, in skeletonize raise RuntimeError("directory already exists: %s" % dir_path) RuntimeError: directory already exists: .\r-ldavis

Please help me in steps as I am really new to this on windows 10

Answer1:

Thank you all for your remarks but the easiest way I found for not worrying about the r directory is through downloading the package directly from jupyter using the following command

install.packages('tseries', repos='http://cran.us.r-project.org')

This worked fine for me.

Recommend

  • Scroll a particular ListView item into view
  • Why do files in the working directory get the modified status on switching between Git branches?
  • Error : API response not well-formed (json error code: 4
  • Python conda - How to upgrade package not available on anaconda
  • conda build ignoring my activated environment?
  • How to get the package name of a function in R? [duplicate]
  • Issue loading 'dplyr' packages
  • rselenium | get youtube page source
  • leaflet marker not displaying in certain contexts
  • Installing Python modules with Anaconda or Canopy
  • Installing samr in in R 3.4
  • Javascript/Jquery runs fast in desktop browsers, but slow in mobile/smartphone browsers…should I spl
  • How to revert to previous XCode version?
  • How can I speed up CURL tasks?
  • How do I exclude a dependency in provided scope when running in Maven test scope?
  • Is there a way to do normal logging with EureakLog?
  • Time complexity of a program which involves multiple variables
  • Admob requires api-13 or later can I not deploy on old API-8 phones?
  • Test if a set exists before trying to drop it
  • Spark fat jar to run multiple versions on YARN
  • Asynchronous UI Testing in Xcode With Swift
  • Scrapy recursive link crawler
  • Spring Data JPA custom method causing PropertyReferenceException
  • NetLogo BehaviorSpace - Measure runs using reporters
  • How to make a tree having multiple type of nodes and each node can have multiple child nodes in java
  • Cassandra Data Model
  • Perl system calls when running as another user using sudo
  • SVN: Merging two branches together
  • Hibernate gives error error as “Access to DialectResolutionInfo cannot be null when 'hibernate.
  • Codeigniter doesn't let me update entry, because some fields must be unique
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • embed rChart in Markdown
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • Observable and ngFor in Angular 2
  • How to Embed XSL into XML
  • How can I use `wmic` in a Windows PE script?
  • UserPrincipal.Current returns apppool on IIS
  • Unable to use reactive element in my shiny app
  • Conditional In-Line CSS for IE and Others?